estimator: prose chars/4.5 + fenced-code chars/3.4, rounded up per segment (measured MAE 8% vs cl100k_base)
ALWAYS-ON paid on every request, before you type
3,118 1.56% 290 L CLAUDE.md
3,086 1.54% 285 L AGENTS.md
298 0.15% 23 L .cursorrules
268 0.13% 25 L .github/copilot-instructions.md
SCOPED loaded only while editing that subtree
116 0.06% 11 L services/billing/AGENTS.md
80 0.04% 8 L services/ledger/AGENTS.md
ON-DEMAND costs nothing until the agent opens it
560 0.28% 66 L skills/incident/SKILL.md
351 0.18% 43 L skills/deploy/SKILL.md
CONFIG not context; declares what the agent may call
93 mcp .mcp.json
41 settings .claude/settings.json
TOTAL 6,770 always-on tokens (3.39% of a 200,000-token window)
GRADE C (budget 8,000) on-demand surface: 911 tokens
COST $20.31 per 1,000 sessions at $3.00 per 1M input tokens
FINDINGS
· 2,389 tokens repeated across AGENTS.md ↔ CLAUDE.md
→ keep the text in one file and point at it from the others
· 762 tokens repeated across AGENTS.md ↔ CLAUDE.md ↔ skills/incident/SKILL.md
→ keep the text in one file and point at it from the others
· 236 tokens repeated across AGENTS.md ↔ CLAUDE.md ↔ skills/deploy/SKILL.md
→ keep the text in one file and point at it from the others
· AGENTS.md is 100% contained in CLAUDE.md
→ keep one canonical file; the other should be a pointer, not a copy
· CLAUDE.md is 3,118 tokens loaded on every request
→ move reference material into a skill or docs/ and keep the root file to rules
· AGENTS.md is 3,086 tokens loaded on every request
→ move reference material into a skill or docs/ and keep the root file to rules
· 6 MCP servers declared (github, jira, playwright, postgres, sentry, slack); tool schemas enter the prompt on connect
→ disable servers you do not use in this repo — schema cost scales with tool count
--json for machines · --badge for shields.io · github.com/qansaid/agentdiet