
reclaude
Refactor CLAUDE.md files to follow progressive disclosure principles. Use when CLAUDE.md is too long or disorganized.
- Installs
- 2.8K
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/brianlovin/agent-config --skill reclaude- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads reclaude automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
reclaude
Refactor CLAUDE.md files to follow progressive disclosure principles.
Prompt
I want you to refactor my CLAUDE.md file to follow progressive disclosure principles.
Follow these steps:
1. Check length
Report the current line count. Flag issues:
- Ideal: <50 lines
- Acceptable: 50-100 lines
- Needs refactoring: >100 lines (move content to
.claude/rules/files)
2. Integrate workflow orchestration
Read the workflow skill at ~/.claude/skills/workflow/SKILL.md and incorporate its principles into the CLAUDE.md or a .claude/rules/workflow.md file. Adapt the content to fit the project — don't copy verbatim, but ensure the key behaviors are represented:
- Plan mode for non-trivial tasks
- Subagent strategy
- Self-improvement loop with
tasks/lessons.md - Verification before marking tasks done
- Elegance checks for non-trivial changes
- Autonomous bug fixing
For short CLAUDE.md files, add a concise workflow section. For longer ones, create .claude/rules/workflow.md and link to it.
3. Ensure verification section exists
Check for a ## Verification section with commands Claude can run after making changes. If missing:
- Look in package.json for test/lint/typecheck/build scripts
- Look for Makefile, justfile, or other task runners
- Add a
## Verificationsection with discovered commands
This is critical—Claude performs dramatically better when it can verify its work.
4. Find contradictions
Identify any instructions that conflict with each other. For each contradiction, ask me which version I want to keep.
5. Check for global skill extraction candidates
Look for content that could become a reusable global skill in ~/.claude/skills/:
- Is about a tool/framework (not project-specific)
- Same instructions appear (or would apply) in 2+ projects
- Is substantial (>20 lines)
If found, suggest creating a global skill with name and description.
6. Identify essentials for root CLAUDE.md
Extract only what belongs in the root CLAUDE.md:
- One-line project description
- Package manager (if not npm)
- Non-obvious commands only (skip
npm test,npm run buildif standard) - Links to
.claude/rules/files with brief descriptions - Verification section (always required)
7. Group remaining content
Organize remaining instructions into .claude/rules/ files by category (e.g., TypeScript conventions, testing patterns, API design, Git workflow).
8. Flag for deletion
Identify content that should be removed entirely:
- API documentation — link to external docs instead
- Code examples — Claude can infer from reading source files
- Interface/type definitions — these exist in the code
- Generic advice — "write clean code", "follow best practices"
- Obvious instructions — "use TypeScript for .ts files"
- Redundant info — things Claude already knows
- Too vague — instructions that aren't actionable
Target Template
# Project Name
One-line description.
## Commands
- `command` - what it does (only non-obvious ones)
## Rules
- [Topic](/.claude/rules/topic.md) — brief description
## Verification
After making changes:
- `npm test` - Run tests
- `npm run lint` - Check linting
What to Keep vs Remove
Keep in CLAUDE.md:
- Commands Claude can't guess from package.json
- Non-standard patterns specific to this project
- Project gotchas and footguns
- Links to detailed rules files
Move to .claude/rules/:
- Detailed conventions (>10 lines on a topic)
- Style guides
- Architecture decisions
- Workflow documentation
Remove entirely:
- Anything Claude can infer from reading the codebase
- Standard practices for the language/framework
- Documentation that exists elsewhere (link instead)
FAQ
What does the reclaude skill do?
Refactor CLAUDE.md files to follow progressive disclosure principles. Use when CLAUDE.md is too long or disorganized.
How do I install reclaude?
Run npx skills add https://github.com/brianlovin/agent-config --skill reclaude in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/reclaude/ (personal) or .claude/skills/reclaude/ (project).
Which AI agents can use reclaude?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is reclaude safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains reclaude?
It is published by brianlovin in brianlovin/agent-config. It has 2,770 recorded installs.
More from brianlovin/agent-config
simplify
brianlovin/agent-config
Simplify and refine recently modified code for clarity and consistency. Use after writing code to improve readability without changing functionality.
deslop
brianlovin/agent-config
Remove AI-generated code slop from the current branch. Use after writing code to clean up unnecessary comments, defensive checks, and inconsistent style.
knip
brianlovin/agent-config
Run knip to find and remove unused files, dependencies, and exports. Use for cleaning up dead code and unused dependencies.
rams
brianlovin/agent-config
Run accessibility and visual design review on components. Use when reviewing UI code for WCAG compliance and design issues.
find-skills
brianlovin/agent-config
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.
agent-browser
brianlovin/agent-config
Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction.
Popular code quality & workflow skills
grill-me
mattpocock/skills
A relentless interview to sharpen a plan or design.
improve-codebase-architecture
mattpocock/skills
Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.
handoff
mattpocock/skills
Compact the current conversation into a handoff document for another agent to pick up.
domain-modeling
mattpocock/skills
Build and sharpen a project's domain model. Use when discussing codebase terminology, writing or editing a GLOSSARY.md, or recording or editing an ADR.
codebase-design
mattpocock/skills
Shared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find deepening opportunities, decide where a seam goes, make code more testable or AI-navigable, or when another skill needs the deep-module vocabulary.
diagnosing-bugs
mattpocock/skills
Diagnosis loop for hard bugs and performance regressions. Use when the user says "diagnose"/"debug this", or reports something broken/throwing/failing/slow.