Skills for Real Engineers. Straight from my .agents directory.
agent-md-refactor
Agent skill fromsoftaworks/agent-toolkit
Refactor bloated AGENTS.md, CLAUDE.md, or similar agent instruction files to follow progressive disclosure principles. Splits monolithic files into organized, linked documentation.
How to install agent-md-refactor
npx skills add softaworks/agent-toolkit# or add only this skill to Claude Code: copy the folder
skills/agent-md-refactor/
# into
~/.claude/skills/agent-md-refactor/ (all projects)
.claude/skills/agent-md-refactor/ (one project)
1# Agent MD Refactor23Refactor 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.45---67## Triggers89Use this skill when:10- "refactor my AGENTS.md" / "refactor my CLAUDE.md"11- "split my agent instructions"12- "organize my CLAUDE.md file"13- "my AGENTS.md is too long"14- "progressive disclosure for my instructions"15- "clean up my agent config"1617---1819## Quick Reference2021| Phase | Action | Output |22|-------|--------|--------|23| 1. Analyze | Find contradictions | List of conflicts to resolve |24| 2. Extract | Identify essentials | Core instructions for root file |25| 3. Categorize | Group remaining instructions | Logical categories |26| 4. Structure | Create file hierarchy | Root + linked files |27| 5. Prune | Flag for deletion | Redundant/vague instructions |2829---3031## Process3233### Phase 1: Find Contradictions3435Identify any instructions that conflict with each other.3637**Look for:**38- Contradictory style guidelines (e.g., "use semicolons" vs "no semicolons")39- Conflicting workflow instructions40- Incompatible tool preferences41- Mutually exclusive patterns4243**For each contradiction found:**44```markdown45## Contradiction Found4647**Instruction A:** [quote]48**Instruction B:** [quote]4950**Question:** Which should take precedence, or should both be conditional?51```5253Ask the user to resolve before proceeding.5455---56…
Excerpt shown under the repository's MIT license.
More skills in agent-toolkit
Similar skill repositories
An agentic skills framework & software development methodology that works.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
An AI skill that provides design intelligence for building professional UI/UX across multiple platforms.
