Agent MD Refactor

0•

Refactors monolithic agent instruction files into an organized, lean structure using progressive disclosure principles.

Agent MD Refactor is designed to solve the common problem of bloated and contradictory instruction files like CLAUDE.md or AGENTS.md. By implementing a progressive disclosure architecture, this skill identifies contradictions, prunes redundant information, and splits massive files into a clean hierarchy. It keeps universal project essentials in the root file while delegating specialized guidelines—such as testing, architecture, and code style—to linked, categorized documents. This results in reduced token usage, improved AI accuracy, and a more maintainable documentation structure for your development environment.

Key Features

01Generates a standardized file hierarchy with functional internal links
02Prunes redundant, vague, or default AI instructions to save context window space
030 GitHub stars
04Automatically categorizes domain-specific rules into a dedicated sub-directory
05Implements progressive disclosure to keep root instructions concise and under 50 lines
06Identifies and resolves conflicting instructions within markdown files

Use Cases

01Establishing a standardized documentation framework for team-based AI coding projects
02Cleaning up legacy CLAUDE.md files that have become too long and hard for the AI to follow
03Optimizing AI performance by removing low-value instructions and noise from the context window