quota-reporter
Original:🇺🇸 English
Translated
5 scriptsChecked / no sensitive code detected
Install and run a local quota reporter that probes Codex quota windows plus Claude CLI usage metadata, posts the latest status to a shared dashboard, and sets up an hourly scheduled run. Use this whenever a teammate wants to join the shared quota dashboard, report their own Codex or Claude usage, install the hourly reporter, or verify that reports are reaching the shared service. Trigger on requests about Codex quota, Claude CLI usage, token usage, usage monitoring, hourly usage reporting, shared quota dashboards, Vercel quota dashboards, or Turso-backed quota collection.
4installs
Added on
NPX Install
npx skill4agent add callzhang/quota-report-hub quota-reporterTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Quota Reporter
This skill installs and runs local reporters for Codex and Claude CLI usage.
What it does
- Reads the local when Codex is present
~/.codex/auth.json - Probes the current Codex and
5Hquota windows1week - Reads local Claude CLI auth and usage metadata when Claude is present
- Posts signed reports to the shared dashboard service
- Installs a reboot-safe scheduler that reports every hour
Files
- Combined reporter:
scripts/report_all_usage.py - Codex reporter:
scripts/report_codex_quota.py - Claude reporter:
scripts/report_claude_usage.py - Installer:
scripts/install_hourly_reporter.py
Required inputs
You need:
- the shared dashboard URL, for example
https://quota-report-hub.vercel.app - the ingest token for
POST /api/report
Standard flow
One-off report
Run:
bash
python3 scripts/report_all_usage.py \
--server-url https://your-dashboard.vercel.app \
--ingest-token YOUR_TOKENIf you only want one source:
bash
python3 scripts/report_codex_quota.py --server-url https://your-dashboard.vercel.app --ingest-token YOUR_TOKEN
python3 scripts/report_claude_usage.py --server-url https://your-dashboard.vercel.app --ingest-token YOUR_TOKENInstall hourly reporting
Run:
bash
python3 scripts/install_hourly_reporter.py \
--server-url https://your-dashboard.vercel.app \
--ingest-token YOUR_TOKENThe installer writes a local config file under and installs the local scheduler.
On macOS it installs a agent with .
On Linux it installs entries for both and hourly reporting, so the reporter comes back automatically after a restart.
~/.agents/auth/launchdRunAtLoadcrontab@rebootOutput expectations
- After a one-off report, show the returned status and the dashboard URL.
- After installation, show the scheduler type and the config path.
- If the report fails, include the HTTP status and response body.