Agent MD Refactor

•
2
•

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.

主な機能

01Automated contradiction and conflict detection
02Logical categorization of development guidelines
032 GitHub stars
04Monolithic file splitting and organization
05Redundancy pruning for vague instructions
06Progressive disclosure structure implementation

ユースケース

01Cleaning up a multi-hundred line CLAUDE.md file that has become hard to manage
02Reducing token usage and context window pressure by optimizing root instruction files
03Standardizing agent instructions across a large team repository to improve consistency