usages
Skill16 starsChanged 2 months agoMITView on GitHub
Show usage and limits for every stunt-double subscription on one board — Claude's 5-hour/weekly windows (live), Codex's 5-hour/weekly windows (from its last session snapshot), the DeepSeek balance behind opencode (live), and honest n/a rows for backends that expose nothing (agy, muse). Use when the user invokes /usages, asks "how much have I used", "what are my limits", "how much codex/claude do I have left", or wants worker usage without opening each app.
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Run the probe and present the board.
- Distinctive: line 13
Read host and tool setup.
- Very specific: line 40
If claude.blocked is true, point at /relay (spanning the cap is exactly what it's for).
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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
stuntman: usages — one board for every subscription
Run the probe and present the board. Everything it reads is zero-token and zero-cost — no worker is invoked.
Run it
Read host and tool setup.
USAGES="$STUNTMAN_ROOT/bin/usages"
"$USAGES" --jsonPresent it
Render a small table from the JSON — backend, window(s), % used, reset time,
freshness. Keep the reset times in the user's local timezone (the pretty mode
"$USAGES" already formats them if you prefer to show its output directly).
Explain freshness honestly:
- claude and deepseek are live probes (OAuth usage endpoint / balance API). DeepSeek is metered — its "limit" is the remaining balance, so flag a low balance (< $1) as worth topping up.
- codex is read from the last
rate_limitssnapshot in~/.codex/sessions/— as fresh as the last codex run. Iffive_hour_expired/weekly_expiredis true, that window has reset since the snapshot (usage is back to ~0%). Ifsnapshot_age_sis large (> a day), say so and mention that any/delegatecodex run refreshes it. - agy and muse genuinely expose nothing locally (Antigravity keeps quota server-side; Muse's event stream has no usage) — show them as n/a with that reason, not as an error.
If claude.blocked is true, point at /relay (spanning the cap is exactly
what it's for).
For Codex relay decisions, use bin/codex-window from the same bundle. It reads
local quota snapshots without probing Claude credentials or DeepSeek. An elapsed
reset is not evidence of current usage; check the host's /status if stale.
Status line
In Claude Code, if the user asks for these numbers in their status line, wire
"$USAGES" --statusline into their existing statusline command — it prints a
compact worker segment (e.g. CX 23%/5h 4%/wk · DS $0.89), caches for 5
minutes (~/.stuntman/usages-cache.txt), and prints nothing on failure, so
it's safe to embed. Claude's own numbers are deliberately absent from it —
Claude Code's status line JSON already carries them natively.
In Codex, present the board in the conversation; do not write Claude's status
line configuration or assume Codex accepts the same command format.
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.

