Analyzes CLAUDE.md files for token bloat by checking overall size, large sections, duplicates, verbose patterns, long code blocks, excessive whitespace; suggests fixes with savings estimates.
How this skill is triggered — by the user, by Claude, or both
Slash command
/claude-context-optimizer:cco-claudemdThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Analyze CLAUDE.md files in the current project for token bloat and optimization opportunities.
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:
For each issue found, explain the savings potential and suggest a concrete fix.
If the user wants to apply fixes, help them edit the CLAUDE.md directly using the Edit tool.
npx claudepluginhub egorfedorov/claude-context-optimizerOptimizes CLAUDE.md hierarchy across global/project/repo levels: deduplicates content, detects misplacements, compresses bloat, checks staleness, generates token usage reports. Use for bloated or disorganized CLAUDE.md files.
Creates, updates, or optimizes CLAUDE.md files following Anthropic best practices for project context, coding standards, and persistent memory management.
Optimizes CLAUDE.md, SKILL.md, agents, and plugin files for Claude comprehension and token economy using metrics, specialist agent delegation, verification, and before/after reports.