egorfedorov/claude-context-optimizer

cco-claudemd

Analyze CLAUDE.md files for token bloat and suggest optimizations

First seen Mar 24, 2026

Installation

$ npx skills add egorfedorov/claude-context-optimizer --skill cco-claudemd

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from egorfedorov/claude-context-optimizer · top by installs.

npx skills add egorfedorov/claude-context-optimizer

Browse all from egorfedorov/claude-context-optimizer

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 107
License LICENSE
Default branch main
Open issues 0
Status Active

Skill metadata

Parsed from SKILL.md frontmatter.

LicenseMIT
Allowed toolsBash, Read
Declared agents claude-code

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 925 B
  • docs SUMMARY.md 82 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 228 installs

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.