agent-md-refactor

Refactor bloated agent instruction files into concise root documents with linked sub-files.

Updated Nov 18, 2025
One-click install
npx skills add https://github.com/deangilmoreremix/videoremix.vip2 --skill agent-md-refactor-deangilmoreremix
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agent-md-refactor
Source: https://github.com/deangilmoreremix/videoremix.vip2/tree/main/.kilo/skills/agent-md-refactor
Command: npx skills add https://github.com/deangilmoreremix/videoremix.vip2 --skill agent-md-refactor-deangilmoreremix

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Large, unstructured agent instruction files such as AGENTS.md or CLAUDE.md become difficult to maintain, cause context waste, and hide important rules amidst noise.

Core Features & Use Cases

  • Contradiction detection: Finds and surfaces conflicting instructions for user clarification.
  • Essential extraction: Pulls universal rules to keep the root file minimal.
  • Categorized organization: Groups remaining guidelines into logical linked markdown files (e.g., typescript.md, testing.md).
  • Deletion recommendations: Flags redundant or vague statements for removal.
    Ideal for developers who want to streamline their agent configuration files and improve prompt efficiency.

Quick Start

Refactor my CLAUDE.md using the agent‑md‑refactor skill.

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

To refactor a large CLAUDE.md file, extract universal rules into a concise root document and group remaining guidelines into linked markdown sub-files. This progressive disclosure organization reduces context waste and surfaces important rules.

What is progressive disclosure for agent instruction files?

Progressive disclosure for agent instruction files is structuring documentation by splitting bloated root files into concise main documents with linked sub-files. This hierarchical structuring categorizes guidelines into logical modules like testing or typescript.

How do I find and resolve contradictions in agent documentation?

To find contradictions in agent documentation, use automated contradiction detection during the refactoring process. This surfaces conflicting instructions in files like COPILOT.md, allowing you to clarify rules and remove vague or redundant statements.

Can I reorganize agent configuration files without external dependencies?

Yes, you can reorganize agent configuration files without external dependencies. The refactoring process performs essential extraction, categorization, and deletion recommendation natively to streamline markdown files like AGENTS.md.

When should I clean up bloated agent docs into linked files?

You should clean up bloated agent docs when unstructured instruction files become difficult to maintain and cause context waste. Refactoring hides noise by performing hierarchical structuring and pulling universal rules to keep the root file minimal.