token-economy — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited token-economy (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Three things drive cost in Claude Code: context size, cache hit rate, and model choice. Most waste comes from one of these being misconfigured and left alone.
| Task shape | Right model |
|---|---|
| Format fix, rename, small refactor, comment tweak | Haiku — ~15× cheaper than Opus, fast enough to feel instant |
| Routine feature work, bug fix, test writing, reviewing a small diff | Sonnet — the default; 5× cheaper than Opus |
| Architectural decision, cross-file refactor, debugging a subtle bug, reviewing a large diff | Opus — use when you need the reasoning, not by default |
Claude Code's /fast or model selection lets you pick. Don't use Opus by reflex for a typo fix.
Anthropic caches your prompt prefix for 5 minutes. A stable prefix = the next turn reads from cache at ~10% of input cost. A prefix that changes each turn = full price every time.
What busts cache:
What preserves cache:
additionalContext that's deterministic for a given inputHow to check: /holocron:cost — the cache hit rate line. Below 50% is a signal; above 70% is healthy.
Claude's Read tool pulls whole files by default. A 2000-line file is ~8k tokens. Do that 5 times in a session and you've spent ~40k tokens reading the same file repeatedly.
Pattern:
Grep to find the relevant range (cheap — returns only matching lines)Read with offset + limit for the range you identifiedHolocron's read-budget.js hook nudges this on files > 500 lines, but the discipline has to be yours.
Every MCP server's tool schemas ship to the model on every turn. An unused MCP server costs you tokens forever.
Audit with /holocron:mcp-audit. Disable servers you don't actively use. Two or three MCP servers is usually plenty; ten is a tax.
Research / exploration / "find me all the callers" work bloats the main transcript with files and noise you won't need after. Run it in a subagent:
Use the Explore agent to find how `authenticateUser` is called across the repo.The subagent's findings come back as a summary; its exploration stays in its own context. Main session stays lean.
Claude Code auto-compacts near the context limit, but compaction is lossy — it summarizes, and summaries forget things. Better:
/holocron:handoff at logical boundaries — write state to a file, start fresh on the next task/holocron:plan → plan file → execute → handoff. The plan file acts as durable memory.dist/, node_modules/, generated protobufs)console.log(new Date()) in a hook that emits additionalContext)Run /holocron:cost weekly. Healthy numbers:
If those aren't true, @cost-analyst can tell you why.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.