← ClaudeAtlas

context-auditlisted

Use when the user wants to cut Claude Code token cost or asks "why is this session so expensive / what's eating my tokens / trim my CLAUDE.md / reduce context". Audits the always-on context a project re-sends every turn (CLAUDE.md, memory, MCP servers, skills, agents), ranks it by per-turn token cost, and proposes concrete trims — including a leaner CLAUDE.md rewrite. Pairs with the Gander dashboard's per-session cache-hit / context-fill gauges.
weellio/gander · ★ 7 · AI & Automation · score 78
Install: claude install-skill weellio/gander
# Context Audit Find what a project pays for on **every single turn** and cut it. The expensive thing in a long Claude Code session is rarely the user's prompt — it's the **always-on context** (system prompt + CLAUDE.md + loaded tools/skills + conversation) that gets re-sent each turn and billed as cache-read. Shave 5k tokens off something that loads every turn and you save it across the whole session. ## The model (read first) - **Output** costs ~5× input — but it's usually a small share of a long session's spend. - **Cache-read** is cheap per token (~1/10th input) but you pay it on the **whole context, every turn** — so a 50-turn session re-reads its context ~50×. That multiplier is where the money goes. - Therefore: the highest-leverage cut is anything **fixed and re-sent every turn**. In order of typical size: the conversation itself (→ `/compact`), CLAUDE.md files, enabled **MCP servers** (their tool schemas), available **skills** (name + description listed each turn), memory, agents, hooks. ## Step 1 — Get the live signal (if Gander is running) Ground the audit in real spend before guessing. The bridge runs on `http://localhost:3131`: ```bash curl -s http://localhost:3131/api/usage ``` In `bySession`, find this project's sessions and read: `cacheHit`, `outShare`, `ctxPct`, `costUSD`. - **High `cacheHit` (>90%) + low `outShare` (<15%)** → the lever is **context size**, not verbosity. Focus on CLAUDE.md / MCP / `/compact`. - **High `outShare` (>25%)** → answers are v