Checks your CLAUDE.md files for token bloat and tells you exactly where you're wasting context window. Flags files over 2K tokens, finds duplicate lines, spots verbose patterns like "please make sure to", and catches code blocks that run too long. The real value here is the concrete fix suggestions for each issue, so you're not just staring at warnings wondering what to cut. Runs a Node.js analyzer against your current project and breaks down the savings potential section by section. If you've been hitting context limits or just want leaner instruction files, this gives you the audit you need. Can help you apply the fixes directly once you know what to change.

skills.sh installs
256
GitHub stars
130
last updated
Aug 21, 2026

Install

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

Installs into .claude/skills of the current project.

Files

Checks your CLAUDE.md files for token bloat and tells you exactly where you're wasting context window. Flags files over 2K tokens, finds duplicate lines, spots verbose patterns like "please make sure to", and catches code blocks that run too long. The real value here is the concrete fix suggestions for each issue, so you're not just staring at warnings wondering what to cut. Runs a Node.js analyzer against your current project and breaks down the savings potential section by section. If you've been hitting context limits or just want leaner instruction files, this gives you the audit you need. Can help you apply the fixes directly once you know what to change.

Browse the repository on GitHub

Sponsors

Details

Repository
github.com/egorfedorov/claude-context-optimizer
First seen
Jun 3, 2026

Recommended

1juliusbrussee avatarcavemanjuliusbrussee/cavemanUltra-compressed communication mode. Cuts output tokens 65% (measured) by speaking like caveman while keeping full technical accuracy. Supports intensity levels618.3Kskills.sh installs
2mattpocock avatargrill-memattpocock/skillsA relentless interview to sharpen a plan or design.1.5Mskills.sh installs
3shadcn avatarimproveshadcn/improveSurvey any codebase as a senior advisor and produce prioritized, self-contained implementation plans for OTHER models/agents to execute. Strictly read-only on s40Kskills.sh installs
4obra avatarsystematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes326.7Kskills.sh installs
5forrestchang avatarkarpathy-guidelinesforrestchang/andrej-karpathy-skillsBehavioral guidelines to reduce common LLM coding mistakes through explicit assumptions, simplicity, and verifiable success criteria.17.9Kskills.sh installs
6vercel-labs avatarfind-skillsvercel-labs/skillsHelps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express int4.3Mskills.sh installs