agent-md-refactor

Refactor bloated agent instruction files into a minimal root with linked documentation.

2|Updated Mar 25, 2026
One-click install
npx skills add https://github.com/billlzzz26/note-taker-convex-ai-convex --skill agent-md-refactor-billlzzz26
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agent-md-refactor
Source: https://github.com/billlzzz26/note-taker-convex-ai-convex/tree/main/.kilocode/skills/agent-md-refactor
Command: npx skills add https://github.com/billlzzz26/note-taker-convex-ai-convex --skill agent-md-refactor-billlzzz26

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Refactor bloated AGENTS.md, CLAUDE.md, or similar agent instruction files to follow progressive disclosure principles. Splits monolithic files into organized, linked documentation.

Core Features & Use Cases

  • Minimal root with universal rules that apply to all tasks
  • Categorized linked guidance files (e.g., typescript.md, testing.md, code-style.md, architecture.md)
  • Contradiction detection, essentials extraction, and structured reorganization
  • Suitable for projects with long-running agent configuration files and the need for consistent documentation structure
  • Facilitates scalable maintenance and onboarding by providing clear navigation

Quick Start

Refactor my AGENTS.md or CLAUDE.md to a minimal root with linked, categorized files.

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 or CLAUDE.md file?

Progressive disclosure splits monolithic agent instruction files into a minimal root containing universal rules and categorized linked guidance files like typescript.md or testing.md. This structure reduces context bloat by loading specific instructions only when needed.

What's the best way to organize agent instructions to resolve contradictions?

Organizing agent instructions involves a structured reorganization that detects contradictions, extracts essentials, and categorizes content into linked files like code-style.md and architecture.md. This creates clear navigation for scalable maintenance and onboarding.

Does this refactoring process work for COPILOT.md files across different software projects?

Yes, the refactoring process applies to monolithic files like COPILOT.md, AGENTS.md, and CLAUDE.md across software projects. It handles long-running agent configurations by generating a structured, linked file system with verification checks.

How do I minimize root agent instructions while keeping linked documentation accessible?

Minimizing root agent instructions requires extracting universal rules that apply to all tasks into the root file, then moving specific guidance into categorized linked files. This progressive disclosure approach maintains accessibility while reducing root file size.