Cut Claude Code costs with sourced levers -- prompt caching, model routing, Batch -- plus an installable skill, CLI tools, a cost calculator and 12 deep-dive guides
2 files for Claude Code: claude-cost-optimizer CLAUDE.md, claude-cost-optimizer — 1,264 tokens loaded in every session.
CLAUDE.md A 1,264 tok .claude/settings.json A — These files are Sagargupta16/claude-cost-optimizer's own configuration — they tell Claude Code how to work on this repository, so they are not mods to install elsewhere. Copy one as a starting point and replace the parts that are about this project.