An automated workflow optimization skill designed to refactor bloated AGENTS.md and CLAUDE.md files into streamlined, high-performance instruction trees using progressive disclosure.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install refactor-agents-md
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install refactor-agents-md using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The refactor-agents-md skill is a developer-centric tool designed to combat context bloat and instruction drift in AI agent configuration files. As AI-native codebases evolve, AGENTS.md and CLAUDE.md files often devolve into a chaotic "ball of mud" filled with contradictory commands, redundant specs, and stale project instructions. By integrating this skill into your library of Openclaw Skills, you can systematically audit, prune, and refactor these files to ensure your coding assistants always receive hyper-focused, accurate context.
This skill employs the principle of progressive disclosure, ensuring that the root AGENTS.md remains short, stable, and universal. Highly specific guidelines—such as state management protocols, testing setups, or database schema patterns—are extracted into dedicated, topic-specific follow-up documents. This structured hierarchical routing prevents AI context window pollution and helps coding agents execute tasks with surgical precision.
To integrate this skill into your local workspace, clone the repository containing the skill configuration and register it within your agent host. Below is a standard setup template:
# Navigate to your agent workspace directory
cd ~/.openclaw/skills
# Clone or copy the refactor-agents-md skill definition
git clone https://github.com/Fei2-Labs/skill-genie.git
# Initialize the skill via your CLI runtime
openclaw skills register ./skill-genie/refactor-agents-md
Ensure that your workspace runner has read and write permissions for the directory containing your project's AGENTS.md or CLAUDE.md file.
This skill operates on structured inputs and generates a standardized file layout to achieve progressive disclosure. It categorizes markdown instruction sets according to the taxonomy below:
| Document Type | Target Directory | Description |
|---|---|---|
| Root AGENTS.md | / (Project Root) |
Minimal file containing only one-line project description, package manager expectations, and universal build/test commands. |
| Topic Guidance | /docs/agents/ or /references/ |
Modular, topic-specific guidelines grouped by architectural layer or functional concern (e.g., state, testing, styling). |
| Principles Manifest | /references/principles.md |
Core heuristics and development constraints shared across all specialized agents. |
Loading
An automated workflow to provision, secure, and bootstrap WordPress on a fresh VPS using Dokploy and Docker Compose.

An interactive AI agent skill that guides users through Desmond and Mpho Tutu's Fourfold Path for healing, forgiveness, and personal reconciliation.

IdeaForge transforms vague ideas and raw coding concepts into zero-ambiguity, implementation-ready project specs tailored for human developers and downstream AI coding agents.

An interactive AI agent skill that guides users through the principles and clinical techniques of neuroplasticity, based on Norman Doidge's landmark book, to help rewire the brain for stroke recovery, cognitive enhancement, and mental wellness.

A CLI proxy skill designed to compress verbose terminal, build, and git outputs to minimize LLM token usage during agent executions.

An automated skill to deploy Stalwart Mail Server on Dokploy with a Resend SMTP relay fallback for blocked port 25 environments.








































