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
- Skill Creator — Create new skills, modify existing skills, and measure skill performance 94.1k ★
- Memory Gc — Inspect or rotate the autopilot ledger JSONL files (findings.jsonl, negatives.jsonl) 3.8k ★
- Fidelity — Measure how faithfully a clone reproduces a site — pixel-diff plus motion-fidelity into one 0-100 score, a let 3.6k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Optimus Stats
Show Optimus token usage, subagent dispatch counts, and estimated savings for this project
Memstack Headroom
Check Headroom proxy status and token savings.
Codemesh
Query the code knowledge graph before reading code. One-call context assembly via codemesh_answer returns inli
Token Diet
🍃 Claude Code 토큰 절약 진단 스킬 — CLAUDE.md 다이어트 + 비용 최적화
Maestro Learn
User-invoked learning toolkit — guided reading, investigation, pattern extraction, or second opinions. Manual
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.
Stats Analyzer
Analyzes ~/.claude/stats-cache.json and history.jsonl to produce a concise usage report with model token break