providers
Skill1 starsChanged 2 months agoMITView on GitHub
Unified AI provider quota monitor. Shows Claude Code, Codex CLI, and Gemini CLI OAuth rate-limit utilization bars with reset countdowns. Reads credentials from each tool's local auth files — no API keys required.
- Reads credentials
In this repository44 other files it gives its agents.
- AGENTS.mdAGENTS.md
- ac-ideateSkill
- ac-listSkill
- ac-roadmapSkill
- almanacSkill
- ansible-fleetSkill
- apfsSkill
- a-teamSkill
- at-tuiSkill
- autoresearchSkill
- bop-brainstormSkill
- bop-onSkill
- bop-teamSkill
- bop-workflowSkill
- councilSkill
- datadog-backupSkill
- dd-tagsSkill
- deterministic-replaySkill
- dispatch-nuSkill
- durable-commitSkill
- elixir-gastown-opsSkill
- fleet-ircSkill
- ganttSkill
- irclaw-cluster-opsSkill
- irclaw-research-teamSkill
- jjSkill
- jobcard-systemSkill
- leptosSkill
- lower-bound-reviewSkill
- ollama-deploySkill
- preflightSkill
- quota-gateSkill
- raspberry-piSkill
- redactSkill
- searxngSkill
- tiger-teamSkill
- toyota-waySkill
- translateSkill
- trizSkill
- unicode-glyphsSkill
- vibekanbanSkill
- zellijSkill
- zellij-teamSkill
- zfsSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 67
If expiry_date in ~/.gemini/oauth_creds.json is in the past, the script automatically attempts a token refresh by locating the Gemini CLI's …
- Distinctive: line 74
All providers are fetched in sequence.
- Very specific: line 78
If a provider binary or credentials file is absent, it shows ✗ <reason> and continues
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
providers — AI Quota Monitor
Shows live OAuth quota usage for Claude, Codex, and Gemini in one view.
Quick usage
nu ~/.claude/skills/providers/providers.nu # all providers
nu ~/.claude/skills/providers/providers.nu --claude # Claude only
nu ~/.claude/skills/providers/providers.nu --codex # Codex only
nu ~/.claude/skills/providers/providers.nu --gemini # Gemini only
nu ~/.claude/skills/providers/providers.nu --watch 30 # auto-refresh every 30s
nu ~/.claude/skills/providers/providers.nu --json # raw JSONFrom within a project (if providers.nu is in scripts/):
nu scripts/providers.nuSample output
Claude Code
5h ████░░░░░░ 44% reset in 2h 47m
7d ██████░░░░ 61% reset in 127h 47m
7d sonnet ███████░░░ 70% reset in 129h 47m
Codex CLI
session ██░░░░░░░░ 21% reset in 0h 12m
weekly ███░░░░░░░ 32% reset in 95h 12m
Gemini CLI
Pro █████░░░░░ 52% reset in 21h 0m
Flash ██░░░░░░░░ 18% reset in 21h 0mColor scale: green <70% · amber 70–89% · red 90%+
Credentials
| Provider | File | Field |
| Claude | ~/.claude/.credentials.json | claudeAiOauth.accessToken |
| Codex | ~/.codex/auth.json | access_token |
| Gemini | ~/.gemini/oauth_creds.json | access_token |
APIs
| Provider | Endpoint | Key fields |
| Claude | GET https://api.anthropic.com/api/oauth/usage | five_hour.utilization, seven_day.utilization (0–100) |
| Codex | GET https://chatgpt.com/backend-api/wham/usage | session.percent_used, weekly.percent_used (0–100) |
| Gemini | POST .../loadCodeAssist → POST .../retrieveUserQuota | remainingFraction (0.0–1.0, inverted to get used%) |
Gemini token refresh
If expiry_date in ~/.gemini/oauth_creds.json is in the past, the script
automatically attempts a token refresh by locating the Gemini CLI's oauth2.js
and extracting the client credentials. On failure it prints a warning and
suggests running gemini once manually.
Notes
- All providers are fetched in sequence; a failure on one does not block others
--jsonoutputs a{claude, codex, gemini}object with raw API responses- Gemini quota uses
remainingFraction(what's left), converted to used%:used = (1 - remainingFraction) * 100 - If a provider binary or credentials file is absent, it shows
✗ <reason>and continues
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

