Agent MD Refactor is a specialized utility designed to solve the problem of instruction bloat in AI-driven development environments. It systematically analyzes monolithic agent configuration files like AGENTS.md, CLAUDE.md, or COPILOT.md to extract core project essentials for the root file while organizing specialized guidelines into a structured directory of linked markdown files. By applying progressive disclosure, it ensures that AI agents only process the most relevant context for the task at hand, reducing token waste and preventing conflicting instructions while keeping project documentation clean and maintainable.
主要功能
01Identifies and resolves contradictory instructions within agent configuration files
020 GitHub stars
03Extracts essential project commands and universal rules into a minimal root file
04Implements a standardized, linked directory structure for better documentation navigation
05Categorizes domain-specific guidelines into logical files like architecture, testing, and style
06Prunes redundant, vague, or obvious instructions to optimize context window usage
使用场景
01Cleaning up a massive CLAUDE.md file that has grown too large for efficient context usage
02Standardizing agent instructions across multiple repositories in a large organization
03Resolving conflicting coding standards or workflow instructions in legacy project documentation