cco-claudemd

SKILL.md

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.

If the user wants to apply fixes, help them edit the CLAUDE.md directly using the Edit tool.

Weekly Installs
25
GitHub Stars
36
First Seen
12 days ago
Installed on
gemini-cli25
deepagents25
antigravity25
amp25
cline25
github-copilot25