Borrowing it
Nothing to install: this file belongs to blpsoares/agentistics. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/blpsoares/agentistics/main/.claude/commands/nay-costs.mdgit clone --depth 1 https://github.com/blpsoares/agentisticsWrote 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/commands/blpsoares/agentistics/nay-costs)<a href="https://agentmods.dev/commands/blpsoares/agentistics/nay-costs"><img src="https://agentmods.dev/badge/commands/blpsoares/agentistics/nay-costs/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/commands/blpsoares/agentistics/nay-costs"><img src="https://agentmods.dev/badge/commands/blpsoares/agentistics/nay-costs.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.00000 | $0.00224 |
| Opus 5.5 | $0.00000 | $0.00090 |
| Sonnet 5.5 | $0.00000 | $0.00045 |
| Haiku 4.5 | $0.00000 | $0.00022 |
Grade A, and why
nay-costs 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 2mo 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
Use the Nay agent to do a deep-dive cost analysis of my Claude Code spending.
Nay should:
- Call
agentistics_costsfor the model pricing breakdown. - Call
agentistics_projectsto rank projects by cost. - Call
agentistics_sessionswith limit=50 to identify the most expensive individual sessions.
Produce a report covering:
- Total spend and daily average
- Model cost table: model name | tokens used | cost | % of total
- Cache savings: how much was saved vs. full pricing; what hit rate means in $/month at current pace
- Top 5 most expensive projects (table: project | sessions | total cost | avg cost/session)
- Top 5 most expensive sessions (table: date | project | model | duration | cost)
- Recommendations: concrete suggestions to reduce cost (e.g., use Haiku for X type of work, improve caching by Y)
Flag any session that cost more than 3× the average session cost as an anomaly worth investigating.
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.
- 2mo ago First seen · 17 lines · 0 tokens per session scan A 5b0f7494a365
nay-costs is a command published in the GitHub repository blpsoares/agentistics (44 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 224 tokens. 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-01.
nay-costs compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| nay-costsblpsoares/agentistics | Command | 44 | 1mo ago | MIT | A | 0 | Claude Code |
| templategastownhall/beads | Command | 29k | yesterday | MIT | A | 0 | Claude Code |
| auto-browsemarcusquinn/aidevops | Command | 439 | today | MIT | A | 18 | Claude Code |
| telemetry-queryJackScammell/Parliament-Of-Chaos | Command | 4 | 9d ago | MIT | A | 19 | Claude Code |
| doctorfatihkan/badi | Command | 7 | 1mo ago | MIT | A | 0 | Claude Code |
| fixstefan-jansen/claude-code-toolkit | Command | 92 | 4mo ago | MIT | A | 9 | Claude Code |
| draft-planAcKeskin/contexture | Command | 2 | 2d ago | MIT | A | 70 | Claude Code |