Diet Check — Development skill for Claude Code
Measure repository size and the estimated token savings of map-guided reading.
How to install Diet Check
Installs to ~/.claude/commands/umitkrkmz-ai-context-mapping-diet-check.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/umitkrkmz/ai-context-mapping/HEAD/.claude/commands/diet-check.md -o ~/.claude/commands/umitkrkmz-ai-context-mapping-diet-check.md Restart Claude Code, or start a new session, for it to be picked up.
What Diet Check does
description: Measure repository size and the estimated token savings of map-guided reading allowed-tools: Bash(python scripts/init_mapping.py --stats*)
Measure how much context this repository costs and how much the project map saves.
- Run
python scripts/init_mapping.py --stats. It is read-only and prints:- the whole repository in estimated tokens (1 token is about 4 characters),
- the size of
maps/project-map.md, - the median and largest file,
- the guided cost (map
Alternatives in Development
- Balance — Check wallet SOL and token balances 722 ★
- Maestro Learn — User-invoked learning toolkit — guided reading, investigation, pattern extraction, or second opinions 530 ★
- Memstack Headroom — Check Headroom proxy status and token savings 294 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Optimus Stats
Show Optimus token usage, subagent dispatch counts, and estimated savings for this project
Askai Status
Which token-saving tools are installed and wired (RTK, Context Mode, Serena, markitdown, Caveman, path rules),
Codemesh
Query the code knowledge graph before reading code. One-call context assembly via codemesh_answer returns inli
Token Diet
🍃 Claude Code 토큰 절약 진단 스킬 — CLAUDE.md 다이어트 + 비용 최적화
Plumbward Lite
Plumbward Lite: two free Claude Code skills. dry-run shows the full list before anything is deleted, moved or
Claude Usage
Local dashboard for visualizing Claude Code token usage and estimated API costs
Related Agents
Size Check
Build the vlist library and measure gzipped bundle sizes per feature. Use after code changes to detect size re
Gas Optimizer
Finds gas-saving opportunities with concrete patches and estimated savings. Use from /gas.
Context Cost Analyzer
Launched by /aidex:aidex context; not for direct use. Returns a priority-ordered list of token savings.