๐Ÿ—‚๏ธ
AI EngineeringPython

Agent MD Refactor

by softaworks

Agent MD Refactor is an AI Engineering skill for Claude Code, published by softaworks in agent-toolkit.

2.4K stars219 forkson softaworks/agent-toolkitAdded 2026/08/18+1% in starsRepository updated 2026/03/05
agent-skillsaiautomationclaudeclaude-codecoding-agentdevelopment
Install in seconds
Install Agent MD Refactor
Copy Agent MD Refactor into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/softaworks/agent-toolkit/tree/main/skills/agent-md-refactor ~/.claude/skills/agent-md-refactor

Requires Node.js. Downloads this skill only โ€” not the rest of the repository โ€” into your Claude Code skills folder.

Without Node.js

git clone https://github.com/softaworks/agent-toolkit.git

Clones the whole repository, then copy the skillโ€™s own directory into your skills folder yourself.

In this catalog

Source file
skills/agent-md-refactor/SKILL.md in softaworks/agent-toolkit
Installs to
~/.claude/skills/agent-md-refactor
Collection
One of 25 skills cataloged from this repository
Category
AI Engineering โ€” 2451 skills

What Agent MD Refactor does

Agent MD Refactor restructures bloated agent instruction files like AGENTS.md and CLAUDE.md into concise root files with linked, categorized docs. Use it when an AI coding agent's instructions have grown too long, redundant, or contradictory.

Agent MD Refactor is cataloged under AI Engineering on DirSkills. Agent MD Refactor comes from a repository tagged agent-skills, ai, automation, claude and claude-code.

Documentation

README

Agent MD Refactor

Refactor bloated agent instruction files (AGENTS.md, CLAUDE.md, COPILOT.md, etc.) to follow progressive disclosure principles - keeping essentials at root and organizing the rest into linked, categorized files.


Triggers

Use this skill when:

  • "refactor my AGENTS.md" / "refactor my CLAUDE.md"
  • "split my agent instructions"
  • "organize my CLAUDE.md file"
  • "my AGENTS.md is too long"
  • "progressive disclosure for my instructions"
  • "clean up my agent config"

This is the opening of the README. Read the full README on GitHub.

Frequently asked about Agent MD Refactor

  • What else does softaworks publish alongside Agent MD Refactor?

    Agent MD Refactor is one of 25 skills that DirSkills catalogs from softaworks/agent-toolkit, the repository it ships in. Its siblings there include 10x Mode, Add Skill and Backend to Frontend Handoff Docs. Each one is a separate skill with its own page in this directory, installs the same way Agent MD Refactor does, and is maintained by softaworks in that same repository. The rest of the collection is listed on the softaworks/agent-toolkit page.

  • How does Agent MD Refactor compare to other AI Engineering skills?

    Agent MD Refactor ranks #819 by stars among the 2451 AI Engineering skills in this catalog. The most-starred ones next to it are Architecture Decision Records, AI-First Engineering and Agentic OS. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Agent MD Refactor against them. Open each page to compare what they document and how they install.

More from softaworks/agent-toolkit

Agent MD Refactor is one of 25 skills cataloged on DirSkills from softaworks/agent-toolkit.

See all 25 skills โ†’
๐Ÿš€
2w ago

10x Mode

10x Mode finds 10x product opportunities and high-leverage improvements. Use it when you need strategic product thinking, want to find high-impact features, or ask what would make a product 10x better.
AI Engineering
2.4K219
๐Ÿ“ฅ
2w ago

Add Skill

Add Skill copies a skill directory into an agent project. It verifies naming consistency, generates a README if missing, and adds a plugin entry to marketplace.json.
Automation
2.4K219
๐Ÿ“„
2w ago

Backend to Frontend Handoff Docs

Backend to Frontend Handoff Docs produces a structured API handoff document for frontend developers when backend work is complete. Use it to document endpoints, DTOs, validation rules, business logic, and integration notes without backend Q&A.
Writing
2.4K219
๐Ÿ—๏ธ
2w ago

C4 Architecture

C4 Architecture generates C4 model diagrams in Mermaid syntax for documenting software architecture at context, container, component, and deployment levels. Use it when you need to visualize system structure or communicate architecture to technical and non-technical audiences.
Writing
2.4K219
๐Ÿค–
2w ago

Codex

Codex runs OpenAI Codex CLI for code analysis, refactoring, and automated editing, defaulting to GPT-5.2. Use it when a user asks to run codex exec or resume a Codex session.
AI Engineering
2.4K219
๐Ÿ› ๏ธ
2w ago

Command Creator

Command Creator guides the creation of Claude Code slash commandsโ€”reusable workflows invoked with /command-name in Claude Code. Use when asked to create a command, make a slash command, or document a process as a reusable command.
Automation
2.4K219