agent-md-refactor

Refactor monolithic AGENTS.md and CLAUDE.md files into progressive disclosure structures.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/kisslex2013-alt/ClawSivraj --skill agent-md-refactor-kisslex2013-alt
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: agent-md-refactor
Source: https://github.com/kisslex2013-alt/ClawSivraj/tree/main/skills/agent-md-refactor
Command: npx skills add https://github.com/kisslex2013-alt/ClawSivraj --skill agent-md-refactor-kisslex2013-alt

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Large, monolithic agent instruction files (AGENTS.md, CLAUDE.md) overwhelm readers and hinder quick execution. Progressive disclosure helps keep essentials at the root while placing detailed guidance in linked files.

Core Features & Use Cases

  • Create a minimal root document that describes the project and navigation.
  • Split long agent instructions into categorized, linked documents to improve readability and maintainability.
  • Use cases include onboarding new teammates, auditing existing instructions, and updating guidelines without breaking workflows.

Quick Start

Organize the root instruction file to present a concise overview and link to a new directory of topic-specific guidelines.

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 monolithic AGENTS.md file into linked documents?▼

To refactor a monolithic AGENTS.md file, split long instructions into categorized, linked documents. This progressive disclosure structure keeps a minimal root file for concise overview and navigation, placing detailed guidelines in separate topic-specific files for readability.

What is progressive disclosure for agent instructions?▼

Progressive disclosure for agent instructions is a structural technique that keeps essential project descriptions in a minimal root document while placing detailed, categorized guidance in explicitly linked files, preventing large monolithic files from overwhelming readers and hindering execution.

How do I organize CLAUDE.md files to improve maintainability?▼

Organize CLAUDE.md files by creating a minimal root document describing the project and navigation, then splitting detailed instructions into categorized linked files. This explicit navigation structure improves readability and allows updating guidelines without breaking workflows.

When do I need to split root and linked agent instruction files?▼

You need to split root and linked agent instruction files when large, monolithic documents overwhelm readers and hinder quick execution. This technique suits onboarding new teammates, auditing existing instructions, and updating guidelines without disrupting established workflows.

What is the best way to structure agent docs for onboarding?▼

The best way to structure agent docs for onboarding is using progressive disclosure: maintain a minimal root document for concise overview and navigation, splitting detailed guidance into categorized linked files to improve readability and maintainability for new teammates.

Does progressive disclosure work for auditing existing agent instructions?▼

Yes, progressive disclosure works for auditing existing agent instructions. By refactoring bloated monolithic files into a minimal root and categorized linked documents, you can easily review, update, and maintain specific guidelines without breaking existing workflows.