Claude Code Optimization
Your CLAUDE.md Is Costing You $42/Month and You Don't Know It
PromptReports System
April 4, 2026
3 min read
Your CLAUDE.md Is Costing You $42/Month and You Don't Know It
Every Claude Code session starts by reading your CLAUDE.md file. Every message in that session reads it again. And again. And again. If your CLAUDE.md is 4,000 words, you're burning 4,000 tokens of context on every single turn.
Over a typical month of development, that adds up to $42 in pure waste. Here's exactly how to fix it.
Why This Happens
Claude Code uses CLAUDE.md as persistent instructions. It loads the file into every conversation as system context. This is by design — it ensures Claude always follows your project conventions.
The problem is that developers treat CLAUDE.md like a wiki. They keep adding instructions, guides, templates, and procedures. The file grows from 500 words to 5,000 words. Each word costs tokens on every message.
The Math
Here's the actual cost calculation for a typical development day:
• Average session: 15 messages
• Sessions per day: 3
• Total messages per day: 45
• CLAUDE.md size: 4,200 words (~5,600 tokens)
• Token cost: 45 messages x 5,600 tokens = 252,000 tokens/day just for CLAUDE.md
• Monthly: ~5.5M tokens on CLAUDE.md alone
At Claude Opus pricing, that's roughly $42/month that doesn't produce any code. It just loads your instructions over and over.
The Fix: CLAUDE.md + Skills Architecture
Claude Code has a built-in solution that most developers don't use: Skills files. Skills are markdown files in .claude/skills/ that only load when you invoke them. They're free on every other message.
What stays in CLAUDE.md (loaded every message):
• Project overview (2-3 sentences)
• Tech stack (one-line summary)
• Core coding conventions (5-10 rules)
• File naming patterns
• Critical protection rules (no regressions, no overwrites)
• Session startup sequence
What moves to Skills (loaded only when invoked):
• Detailed workflow guides
• Debugging procedures
• Template boilerplate
• Deployment checklists
• Feature build processes
• Code review standards
• Database migration steps
Before and After
Before: 4,200 words in CLAUDE.md. Every message costs 5,600 tokens of system context.
After: 1,800 words in CLAUDE.md, 2,400 words distributed across 6 Skills files. Every message costs 2,400 tokens of system context. Skills only load when needed.
Result: 57% reduction in per-message system context cost. $42/month saved.
How to Restructure
Step 1: Audit your current CLAUDE.md. The PromptReports CLI can do this for you:
npx @promptreports/cli --claude-md
This counts your CLAUDE.md words, estimates the monthly cost, and identifies which sections are rarely referenced.
Step 2: Create Skills for specialized workflows. Each skill goes in .claude/skills/your-skill-name/SKILL.md:
Step 3: Reference skills from CLAUDE.md instead of including the full content:
Step 4: Verify your new CLAUDE.md is under 2,000 words. Track the cost reduction with the PromptReports dashboard.
The Bigger Picture
CLAUDE.md optimization is one of six quick wins the PromptReports scanner identifies. Together, they typically save $200-300/month per developer.
npx @promptreports/cli