Analyzes CLAUDE.md files for token bloat by checking overall size, large sections, duplicates, verbose patterns, long code blocks, and whitespace, suggesting concrete fixes.
npx claudepluginhub egorfedorov/claude-context-optimizerThis skill is limited to using the following tools:
Analyze CLAUDE.md files in the current project for token bloat and optimization opportunities.
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.
Optimizes CLAUDE.md hierarchies, .claude/rules, ecosystem files, and docs/ folders per Anthropic best practices. Detects redundancies, conflicts, and suggests improvements.
Guides Next.js Cache Components and Partial Prerendering (PPR): 'use cache' directives, cacheLife(), cacheTag(), revalidateTag() for caching, invalidation, static/dynamic optimization. Auto-activates on cacheComponents: true.
Share bugs, ideas, or general feedback.
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.