agent-md-refactor

Split monolithic AGENTS.md and CLAUDE.md files into linked, categorized subfiles.

Updated Feb 6, 2026
One-click install
npx skills add https://github.com/VV01T3K/Better-Constax-Template --skill agent-md-refactor-vv01t3k
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agent-md-refactor
Source: https://github.com/VV01T3K/Better-Constax-Template/tree/main/.agents/skills/agent-md-refactor
Command: npx skills add https://github.com/VV01T3K/Better-Constax-Template --skill agent-md-refactor-vv01t3k

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Refactor bloated AGENTS.md, CLAUDE.md, or similar agent instruction files to follow progressive disclosure principles—keeping essentials at root and organizing the rest into linked, categorized files for easier maintenance and clarity.

Core Features & Use Cases

  • Break down monolithic agent instruction files into a minimal root with linked, categorized subdocs.
  • Provide a clear, extensible file structure that guides contributors to add topic-specific guidance without bloating the main file.
  • Use cases include onboarding teams with lengthy agent docs, simplifying updates, and enabling focused reviews of sections (e.g., AGENTS.md, CLAUDE.md, COPILOT.md).

Quick Start

Create a minimal root file and a new .agents-guidelines directory containing topic-specific guidance linked from the root.

Frequently Asked Questions about agent-md-refactor

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I refactor a bloated AGENTS.md file into a progressive disclosure architecture?

Split the monolithic AGENTS.md file into a minimal root brief and linked, categorized subfiles within a .agents-guidelines directory to establish a progressive disclosure architecture for easier maintenance and clarity.

What is progressive disclosure for agent instruction files?

Progressive disclosure for agent instructions keeps essential guidelines at the root file while organizing detailed, topic-specific guidance into linked subdocs, preventing main file bloat and enabling focused section reviews.

How do I organize a monolithic CLAUDE.md file into categorized subdocs?

Organize a monolithic CLAUDE.md file by creating a minimal root file that links to a new .agents-guidelines directory containing topic-specific guidance categorized for structured navigation and extensible contributor updates.

Does agent doc refactoring work for team onboarding with lengthy instruction files?

Yes, agent doc refactoring works for team onboarding by breaking down lengthy instruction files into a clear, extensible file structure that guides contributors to add topic-specific guidance without bloating the main root file.

When should I split AGENTS.md into a root brief and linked subfiles?

You should split AGENTS.md into a root brief and linked subfiles when maintenance becomes difficult, updates require simplifying, or teams need focused reviews of specific categorized sections without navigating a monolithic document.