Claude-MD-Chunk
February 17, 2026 ยท View on GitHub
Claude-MD-Chunk
A Claude Code slash command that prunes bloated CLAUDE.md files down to their essentials and nests supplementary context into an agent-context/ folder.
What It Does
When invoked, the command:
- Prunes the project's
CLAUDE.mdto the minimum length needed for an agent to understand the project's purpose and key details. - Nests any extraneous-but-useful context into individual files under an
agent-context/directory, with a reference added back toCLAUDE.md.
Installation
./install.sh
This copies the slash command into ~/.claude/commands/ so it's available globally as /chunk-claude.
Usage
In any project with a bloated CLAUDE.md, run:
/chunk-claude
For more Claude Code projects, visit my index.