What problem does it solve?
Long, monolithic agent instruction files (CLAUDE.md, AGENTS.md, COPILOT.md) become noisy, contradictory, and expensive to load into agent contexts; this skill reduces context waste and maintenance overhead by extracting only universally applicable rules into a minimal root and moving the rest into focused, linked documents.
Core Features & Use Cases
- Contradiction detection: Finds conflicting instructions and surfaces questions for resolution before refactoring.
- Essentials extraction: Identifies universal rules that must remain in the root file and separates language- or task-specific details.
- Intelligent grouping and templating: Organizes remaining content into 3–8 clear topic files with consistent templates and verifies cross-file links.
- Pruning recommendations: Flags vague, redundant, or outdated instructions for deletion to minimize token usage.
- Use case: Transform an oversized CLAUDE.md into a one-page root with links to .claude/testing.md, .claude/code-style.md, and other focused docs.
Quick Start
Refactor my AGENTS.md into a minimal root file and a set of linked topic files using progressive disclosure.