cco-claudemd
CLAUDE.md Analyzer
Analyze CLAUDE.md files in the current project for token bloat and optimization opportunities.
Run the analyzer:
node ${CLAUDE_PLUGIN_ROOT}/src/claudemd-analyzer.js "${CWD}"
Present the output to the user. The analyzer checks for:
- Overall size — files over 2K tokens get flagged
- Large sections — sections over 1K tokens
- Duplicate lines — repeated content
- Verbose patterns — "please make sure to", "it is important that", etc.
- Long code blocks — examples over 20 lines
- Excessive whitespace — empty lines eating tokens
For each issue found, explain the savings potential and suggest a concrete fix.
More from egorfedorov/claude-context-optimizer
cco
Show context usage heatmap for current session
85cco-budget
Configure token budget limits, auto-compact settings, and view current budget status (model-aware — supports Opus 4.7 1M context tier)
75smart-loader
Automatically suggests optimal files to preload based on the user's task description and historical context patterns. Activates when the user starts a new task, mentions reading files, or when session context is being set up.
75cco-report
Show detailed token ROI report across all tracked sessions
72cco-templates
Manage context templates for common task types
71cco-anatomy
Generate a compact project map so Claude understands the codebase without opening every file
71