Most developers judge coding agents by the model name in the dropdown while ignoring the 50,000 to 130,000 tokens injected before their prompt even reaches the model.
I built ctxvitals, a zero-dependency Node 18+ CLI that reads your agent configs (~/.claude, ~/.cursor, ~/.codex, ~/.gemini, ~/.agents, ~/.config/devin, ~/.codeium/windsurf, ~/.copilot), probes live stdio and Streamable HTTP MCP servers, counts always-loaded rule and skill headers, and outputs an A through F scorecard.
What showed up on a real machine
In the documented run inside the ctxvitals repository (v0.4.0), total pre-prompt overhead hit 127,415 tokens (Grade F, 0/100) before a single user message, including 1,002 skill headers consuming 51,940 tokens (the top 11 lines below sum to 117,359 tokens, and ... and 8 more account for the remaining 10,056 tokens):
51,940 tok skill descriptions x1002 static 26,487 tok MCP claude-code (20 tools) probed 7,341 tok MCP chrome-devtools (32 tools) probed 7,341 tok MCP chrome-devtools (32 tools) probed 5,037 tok AGENTS.md (rule) static 4,035 tok MCP blender (9 tools) probed 4,035 tok MCP blender (9 tools) probed 3,279 tok MCP hostinger-vps (14 tools) probed 3,279 tok MCP server-31-97-202 (14 tools) probed 3,279 tok MCP local-filesystem (14 tools) probed 1,306 tok MCP context7 (2 tools, remote) probed ... and 8 more (10,056 tok combined) On a later scan captured on my profile README (886 skills and 14 MCP servers), that figure reached 138,940 tokens before prompt zero.
Three patterns caused most of the waste:
- Duplicate mounts under different server names: The exact same 14-tool filesystem server ran under three aliases (
hostinger-vps,server-31-97-202,local-filesystem), spending 9,837 tokens across three mounts (6,558 tokens wasted on the two extra copies).chrome-devtoolsandblenderboth mounted twice. - Always-loaded skill bloat: Putting long frontmatter descriptions on hundreds of rarely triggered skills charges your context window on every turn, even when none of those skills are invoked.
- Silent schema mismatches: Probing
tools/listdirectly exposed tools with rootoneOfJSON schemas that certain clients silently hide without throwing a user-facing error.
Try it locally
# Full audit (probes configured stdio + HTTP MCP servers) npx ctxvitals # Static scan only (zero server processes spawned) npx ctxvitals --no-probe # Export JSON or a shareable HTML report card npx ctxvitals --json npx ctxvitals --html report.html Requires Node.js 18+ and zero external npm dependencies.
What to fix first
- Delete duplicate MCP entries across user-global and project-local configs.
- Keep active tool schemas under 5,000 tokens for daily coding profiles, and enable heavy servers (browser automation, 3D, DB admins) only per project.
- Audit static instructions (
CLAUDE.md,AGENTS.md) down to enforceable rules instead of prose walls.
Repository and MIT source: github.com/princejain756/ctxvitals
Full essay and architecture notes: Why Your Coding Agent Feels Dumber Every Week | Portfolio: w.prince.sh/website
