quota-reporter
Installation
SKILL.md
Quota Guard
This skill installs and runs the local quota guard for Codex and Claude.
What it does
- Tracks the current local auth state per source in
~/.agents/auth/known_auth.json - Self-updates the installed skill from GitHub before each guard cycle
- Reuploads the current auth for each source to keep the shared encrypted auth pool entry present even when the local digest has not changed
- Probes the current local Codex quota and the current local Claude quota to decide whether the current machine should rotate
- Publishes stable local quota snapshots back to the hub when available, with stricter completeness checks for Codex
- When local quota is low, asks the cloud auth pool for a strictly better auth from the same source and installs it locally
- Restarts the local Codex app-server after writing a new Codex
auth.json, so new Codex sessions read the replaced account instead of a stale cached account - Installs a reboot-safe scheduler that runs every 15 minutes
- Notifies the local user when any auth uploaded by that same token user is hard-invalidated, even if that auth is not the currently installed local auth
- Stores the user's personal company-email auth-pool token locally so future runs can upload and fetch without prompting again