usage-audit
Skill0 starsChanged 8 days agoMITView on GitHub
Cross-client token and session accounting. Every AI agent client records what it consumed — Claude Code per-message usage JSONL, Codex token_count events, OpenCode per-session token columns — but none shows the cross-client total. Reads the same local stores as session-handoff (read-only, nothing uploaded) and reports tokens by model, client, and project, with an optional budget gate.
5 other projects use a version of this.
Adopted by
Most recently taken up by
- trac3r00/agent-skillsword for word, first seen Nov 23, 2026
- Mathews-Tom/armorytheir own version, first seen Nov 1, 2026
- braincandy-parallel/tamarindos-workflow-kittheir own version, first seen Sep 18, 2026
- alyan06/claude-skillstheir own version, first seen Aug 8, 2026
- ibrews/claude-usage-audittheir own version, first seen Jul 2, 2026
Other versions5 projects use a version of this.
Word for word · 1
- trac3r00/agent-skills★ 0100% same
Edited · 0
None found.
Wrote their own version · 4
- Mathews-Tom/armory★ 340same name
- alyan06/claude-skills★ 1same name
- ibrews/claude-usage-audit★ 1same name
- braincandy-parallel/tamarindos-workflow-kit★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository84 other files it gives its agents.
- AGENTS.mdAGENTS.md
- skills/AGENTS.mdAGENTS.md
- 3d-designSkill
- anti-bsSkill
- api-testerSkill
- apple-homeSkill
- apple-suiteSkill
- apple-tvSkill
- apps-handoffSkill
- appshotSkill
- astra-initSkill
- browser-asideSkill
- changelog-genSkill
- ci-test-rebuildSkill
- claim-auditSkill
- claude-designSkill
- cleanup-worktreesSkill
- code-reviewSkill
- comment-checkerSkill
- context-budgetSkill
- create-skillsSkill
- cron-auditSkill
- cyber-bypassSkill
- dftSkill
- diff-reviewSkill
- discord-messengerSkill
- doc-readerSkill
- env-gateSkill
- ext-scaffoldSkill
- fddSkill
- finderSkill
- finish-prSkill
- game-filmSkill
- gate-graphSkill
- graph-toolsSkill
- herdrSkill
- image-genSkill
- init-readmeSkill
- init-rulesSkill
- iphone-mirroringSkill
- json-diffSkill
- kakao-messengerSkill
- karpathy-promptSkill
- loeSkill
- log-analyzerSkill
- macos-settingsSkill
- max-buildSkill
- mofficeSkill
- net-probeSkill
- notionSkill
- obsidian-vaultSkill
- omo-runnerSkill
- open-loopsSkill
- optimize-omo-configSkill
- phone-facetimeSkill
- portfolio-auditSkill
- preflightSkill
- project-sessionsSkill
- prompt-builderSkill
- pro-reviewSkill
- The first 60 shown.
The file
Files
Usage Audit
You cannot manage what no client will show you: cross-client, cross-project token consumption, from the logs already on your disk.
Commands
python3 scripts/usage_audit.py # last 30 days, by model
python3 scripts/usage_audit.py --by project # where tokens go
python3 scripts/usage_audit.py --by client --since 7 # which client burns most
python3 scripts/usage_audit.py --budget-tokens 50000000 || notify # tripwire
python3 scripts/usage_audit.py --json # full report, all groupingsStores read (read-only, local)
| Client | Source |
| Claude Code | ~/.claude/projects/*/*.jsonl per-message usage blocks |
| Codex | ~/.codex/sessions/**/rollout-*.jsonl final token_count totals |
| OpenCode / OMO | opencode.db session token columns |
Missing stores are skipped silently. Cache tokens are tracked separately from input/output so cached-heavy workflows read honestly.
Pairs with
context-budget (why is per-turn cost high) answers the static question;
usage-audit answers the historical one (where did tokens actually go).
session-handoff shares the same store-reading conventions.
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.

