Context Cost Analyzer — Development agent for Claude Code
Launched by /aidex:aidex context; not for direct use.
How to install Context Cost Analyzer
Installs to ~/.claude/agents/yacb2-aidex-context-cost-analyzer.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/yacb2/aidex/HEAD/agents/context-cost-analyzer.md -o ~/.claude/agents/yacb2-aidex-context-cost-analyzer.md Restart Claude Code, or start a new session, for it to be picked up.
What Context Cost Analyzer does
name: context-cost-analyzer description: Launched by /aidex:aidex context; not for direct use. Returns a priority-ordered list of token savings. model: haiku effort: low tools: Read, Grep, Glob, Bash
You analyze a project's idle context cost. Input is the snapshot JSON written by `${CLAUDE_PLUGIN_ROOT}/skills/aidex/scripts/context-snapshot.py` (path given in the prompt) plus the project path. Every token count you use comes from that file; you estimate nothing.
Setup
Read the budge
Alternatives in Development
- Context Engineering Kit — by Vlad Goncharov - Hand-crafted collection of advanced context engineering techniques and patterns with minim 679 ★
- Token Change — Safely perform a self-contained Graphite token/color change end-to-end (edit primitive → regenerate → gate) in 452 ★
- Review Workflow Context Budget — Reviews workflow machinery for context-window budget on three axes: always-loaded surface, load-on-demand disc 432 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Drift Verify
Launched by /aidex:reference drift's Workflow; not for direct use. Refutes a list of facts against the code th
Backlog Reader
Launched by /aidex:backlog detect-resolved; not for direct use. Reads a batch of backlog items (about five) an
Site Critic
Reviews a built jtakeit site the way a visitor and a demanding designer would, from screenshots of every page
Context Auditor
Use proactively when the user wants to cut Claude Code token cost or asks "why is this session so expensive /
Context Analyzer
Analyzes context usage patterns, identifies waste, and provides optimization recommendations. Use when the use
Fire Learncoding Walker
Dependency graph mapper for learncoding mode — detects entry point and produces ordered linear step list from
Related Skills
Retok
Token-efficiency analyzer for AI coding agents (Claude Code, OpenAI Codex CLI): cost estimates, cache analysis
Claude Boot Stats
Per-component token cost analyzer for Claude Code first-turn context: HTTP intercept proxy + Qwen3 BPE + groun
Codemesh
Query the code knowledge graph before reading code. One-call context assembly via codemesh_answer returns inli