From context-engine
Trim a CLAUDE.md file to only the lines that change behavior. Applies the 30-line principle from Claude Code's creator. Use when CLAUDE.md feels bloated.
How this skill is triggered — by the user, by Claude, or both
Slash command
/context-engine:lean-claude-mdThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Based on Boris Cherny's (Claude Code creator) workflow: ~100 lines that outperform 500-line files. The key: every rule exists because it solved a real problem.
Based on Boris Cherny's (Claude Code creator) workflow: ~100 lines that outperform 500-line files. The key: every rule exists because it solved a real problem.
./CLAUDE.md)Present two versions:
Ask before overwriting the original. Suggest saving the original as CLAUDE.md.backup first.
If your trimmed version is still over 100 lines, you're probably including things Claude already does. Be more aggressive.
npx claudepluginhub artmin96/forge-studio --plugin context-engineAudits and restructures CLAUDE.md files to reduce token bloat and improve Claude compliance. Targets 2,500–3,500 tokens with a hard 5,000 limit.
Provides best practices for creating, updating, and auditing CLAUDE.md files including constraints, commands, architecture overviews, and bloat reduction for projects.
Creates, updates, or optimizes CLAUDE.md files following Anthropic best practices for project context, coding standards, and persistent memory management.