Agent MD Refactor
Optimizes bloated agent instruction files by applying progressive disclosure principles to create a modular, linked documentation structure.
The Agent MD Refactor skill streamlines your development environment by transforming monolithic instruction files like CLAUDE.md or AGENTS.md into an organized hierarchy. By identifying core essentials for the root file and delegating specific conventions—such as TypeScript patterns or testing guidelines—to linked sub-documents, it reduces context bloat and ensures the AI agent receives only the most relevant information. The skill follows a structured five-phase process including conflict detection, essential extraction, and redundancy pruning to make agent behavior more predictable and token-efficient.