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 fmind/dot --skill agent-usagegit clone --depth 1 https://github.com/fmind/dotWrote 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/fmind/dot/agent-usage)<a href="https://agentmods.dev/skills/fmind/dot/agent-usage"><img src="https://agentmods.dev/badge/skills/fmind/dot/agent-usage/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/fmind/dot/agent-usage"><img src="https://agentmods.dev/badge/skills/fmind/dot/agent-usage.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.00017 | $0.00496 |
| Opus 5.5 | $0.00007 | $0.00198 |
| Sonnet 5.5 | $0.00003 | $0.00099 |
| Haiku 4.5 | $0.00002 | $0.00050 |
Grade A, and why
agent-usage 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 today.
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
Agent Usage
Analyze the shared usage archive with dot and DuckDB. Preserve the difference between recorded token usage, estimated cost, and the provider's actual bill.
Workflow
- Let dot own sync and schemas: dot owns source synchronization and archive schemas; read queries.md for layout, fields, DuckDB queries, and exports.
- Report completeness, protect data: state period, sources, and completeness; protect prompt and account data.
Quick total: dot agent stats --tokens-only (coverage dates and API equivalents). queries.md owns flags, pricing fields, and monthly periods. API equivalents are offline rate-card estimates, never the bill or verified savings.
Gotchas
- Unknown is not free: absent prices are
null/unknown, not zero; readcost_known_sessionsandcost_completebefore comparing cost. - Never add unlike measurements:
measurement_kindseparates provider-reported, estimated (Antigravity), and context-only (Grok fallback) tokens; statistics group them separately. - Subagents are sidechains: exclude
sidechainrecords when counting sessions; their tokens join the parent. - Check accounting completeness:
legacy_accounting_sessionsandsession_timestamp_sessionsflag records needing recapture or approximate allocation; queries.md owns parser and per-harness details. syncfails loud, reports warn:dot agent session syncrecords each failed session, continues, and exits 1 at the end; the sync beforedot agent statsonly warns on stderr.
Documentation
- DuckDB JSON Functions
- Companion skills: dot-cli (every
dotcommand), duckdb (file-based SQL analysis).
What ships with it
1 file 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.
- today Changed b57238835ca0
- yesterday Changed · -3 tokens per session d50746a9f91e
- 3d ago Changed 355662e05c25
- 7d ago Changed 340e47f8a67b
- 10d ago Changed 2bfc01c7a444
- 12d ago Changed · -4 lines 49c0304f7cc9
- 14d ago Changed cc5e6736eb37
- 15d ago Changed · -3 lines · -1 tokens per session 1d45d2d4b4fb
- 17d ago Changed · +1 lines e306b52d9c6f
- 20d ago First seen · 42 lines · 21 tokens per session scan A b4265e656764
agent-usage is a skill published in the GitHub repository fmind/dot (12 stars, last pushed today), licensed MIT. It adds 17 tokens to every session and 496 once invoked, about $0.0001 per session on Opus 5.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-04.
Other skills, from other repositories
dotfiles-bootstrap
Bootstrap a workstation with the dotfiles framework. Takes a GitHub user / owner+repo / explicit clone URL and runs dot init (which shells out to chezmoi) with the right safety prompts. Honors the active agent profile (ask / plan / apply / audit) so it defaults to dry-run in safer modes and full apply in apply.
vibe
Delegate a coding task to a cheap AI model (Mistral Vibe by default, but any provider Vibe knows about — DeepSeek, Gemini Flash, etc.) and supervise the result via git diff. Claude orchestrates, the cheap model codes. Claude consumes 500-1500 tokens per delegation regardless of how many file reads the delegate does…
go-stack
Build Go projects, libraries, CLIs, TUIs, web apps, or ADK agents with the standard package layout and pinned tooling.
python-stack
Build typed Python projects with uv, Ruff, ty, pytest, Litestar, and Typer. Use for packages, CLIs, web apps, tests, typing, or API verification.
hugo
Canonical Hugo static-site stack with the Hextra docs theme — Hugo Modules, mise tasks, dprint, lefthook, and GitHub Pages deploy. Use for documentation sites, project docs, and static websites.
k8s-local
Create and manage local Kubernetes clusters (k3d or kind) and deploy to them with kubectl, helm, helmfile, and skaffold. Use for local k8s cluster setup, dev loops, and debugging.