Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add markoblogo/abvx-agent-skills --skill token-usage-auditgit clone --depth 1 https://github.com/markoblogo/abvx-agent-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/markoblogo/abvx-agent-skills/token-usage-audit)<a href="https://agentmods.dev/skills/markoblogo/abvx-agent-skills/token-usage-audit"><img src="https://agentmods.dev/badge/skills/markoblogo/abvx-agent-skills/token-usage-audit/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/markoblogo/abvx-agent-skills/token-usage-audit"><img src="https://agentmods.dev/badge/skills/markoblogo/abvx-agent-skills/token-usage-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00056 | $0.00454 |
| Opus 5 | $0.00028 | $0.00227 |
| Sonnet 5 | $0.00011 | $0.00091 |
| Haiku 4.5 | $0.00006 | $0.00045 |
Grade A, and why
token-usage-audit scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
Token Usage Audit
Save tokens by measuring the waste categories before optimizing them.
Waste Categories
Audit these in order:
- startup-context weight;
- shell and tool-output noise;
- repeated file reads or re-analysis;
- oversized handoffs and summaries;
- stale skills, prompts, or always-loaded docs;
- compaction loss and re-derivation cost.
Audit Workflow
- Identify the current failure mode:
- output overflow;
- startup bloat;
- long-session decay;
- repeated repo rediscovery.
- Estimate which category dominates.
- Apply the narrowest corrective skill:
rtk-assisted-shellorshell-output-compaction;graph-guided-code-reading;token-efficient-execution;lean-context-layout;compaction-survival;token-frugal-mode.
- Re-check after the intervention:
- fewer broad reads;
- shorter command output;
- smaller startup docs;
- cleaner resume state.
- Record what changed so the same waste is not rediscovered next session.
Practical Signals
- top-level agent file is large and generic;
- same README or module keeps getting reopened;
- shell output dominates the conversation;
- compaction causes “what were we doing?” recovery turns;
- too many installed skills are irrelevant to current work;
- long status updates cost more than the actual edit.
Deliverable
Report:
- biggest waste category;
- corrective skills used;
- what was changed;
- expected future savings.
Guardrails
- Do not chase precision that costs more tokens than it saves.
- Do not instrument everything if a clear dominant waste category is already visible.
- Optimize the highest recurring cost first, not the most novel one.
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 9d ago First seen · 70 lines · 56 tokens per session scan A 717af1025b2b
token-usage-audit is a skill published in the GitHub repository markoblogo/abvx-agent-skills (16 stars, last pushed yesterday), licensed MIT. It adds 56 tokens to every session and 454 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other skills, from other repositories
cli-e2e
Write, modify, or debug Docker-based Composio CLI end-to-end tests under ts/e2e-tests/cli, including binary invocation, fixture isolation, output assertions, and package manifests. Use for CLI E2E test suites only; use cli-command for CLI source implementation.
trace
Dispatch trace subagent to investigate unknown issues — reproduces, traces, and reports root cause for fix handoff.
codex-agent
Use when you want a second-opinion review via Codex CLI, cross-verification after another agent implements changes, debugging help, or alternative implementation proposals. Requires Codex CLI to be installed and authenticated.
css-debug
Use this skill to diagnose CSS and frontend layout issues such as positioning, overflow clipping, Tailwind class conflicts, z-index stacking, and React rendering visibility problems.
openlore-analyze-codebase
Run a full static OpenLore analysis and summarize architecture, call graph, refactoring issues, and duplicate code. Use when asked to analyze, map, or assess a codebase without LLM inference.
config-validator
Validate AIWG configuration files and project setup for correctness and completeness.