clean
Skill1 starsChanged 4 months agoMITView on GitHub
Orchestrates purification and refactoring agents sequentially.
7 other projects use a version of this.
Adopted by
Most recently taken up by
- flavien-ia/hypervibe-harnesstheir own version, first seen Oct 4, 2026
- ConnorGriffin/skillstheir own version, first seen Aug 29, 2026
- andalabx/skillstheir own version, first seen Aug 20, 2026
- OutThisLife/brooklyn-skillstheir own version, first seen Jul 23, 2026
- RektTillNoon/alpha-skillstheir own version, first seen May 7, 2026
- bergside/awesome-design-skillstheir own version, first seen Apr 24, 2026
Other versions7 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 7
- bergside/awesome-design-skills★ 3.1ksame name
- OutThisLife/brooklyn-skills★ 197same name
- flavien-ia/hypervibe-harness★ 44same name
- ConnorGriffin/skills★ 22same name
- OpenAnalystInc/10x-analyst★ 4same name
- RektTillNoon/alpha-skills★ 4same name
- andalabx/skills★ 2same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository19 other files it gives its agents.
- auto-commitSkill
- code-reviewSkill
- coverageSkill
- documentSkill
- purifySkill
- refactorSkill
- spae-buildSkill
- spae-checkSkill
- spae-fixSkill
- spae-inspectSkill
- spae-orchestrateSkill
- spae-planSkill
- spae-prepareSkill
- spae-spawnSkill
- spae-specSkill
- spae-verifySkill
- testSkill
- tipSkill
- troubleshootSkill
The file
We split this skill into the rules it gives an agent
11 rules. 0 are common, 7 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 7 edited versions we read keep these.
7
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 18
Run purification and refactoring subagents sequentially to clean target code.
- Very specific: line 31
If subagent returns No Changes status, exit loop and proceed.
- Very specific: line 40
If subagent returns No Changes status, exit loop and finish.
- Distinctive: line 48
Always use the subagent tool for subagent invocation.
- Distinctive: line 67
Never interleave purification with refactoring.
- Very specific: line 68
Never run subagents in parallel or concurrently.
- Distinctive: line 70
Never invoke agents outside the permitted list.
- Distinctive: line 71
Never prompt the user for decisions mid-run.
- Distinctive: line 73
Never perform activities beyond subagent invocation, state tracking, and reporting.
- Distinctive: line 87
Keep prose terse while ensuring clarity.
- Distinctive: line 90
Use lists and sub-lists over paragraphs and long sentences.
“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Clean
When to use
- The user wants to clean smelly code autonomously using the
purifyandrefactoragents.
Goal
- Run purification and refactoring
subagentssequentially to clean target code.
Input
- Accept optional arguments (file or folder paths).
Workflow
- Purification Loop:
- Immediately use the
subagenttool to spawn apurifysubagent(pass optional arguments). - Await purification result.
- If
subagentreturnsNo Changesstatus, exit loop and proceed. - On
Failedstatus or any process failure, halt immediately and surface the error. - Loop back to spawn another
purifysubagentif the previous pass returnsComplete.
- Immediately use the
- Refactoring Loop:
- Immediately use the
subagenttool to spawn arefactorsubagent(pass optional arguments). - Await refactoring result.
- If
subagentreturnsNo Changesstatus, exit loop and finish. - On
Failedstatus or any process failure, halt immediately and surface the error. - Loop back to spawn another
refactorsubagentif the previous pass returnsComplete.
- Immediately use the
Directives
- Always use the subagent tool for subagent invocation.
- Pass the optional argument verbatim to both subagents; never read or expand file-path arguments.
- Rely on
subagentstatus blocks to direct the loop. - Halt immediately on subagent
Failedstatus or any process failure (crash, timeout,AgentError). - List of agents permitted to invoke:
purifyrefactor
Constraints
- Restrict your activities to:
- Using the
subagenttool to spawn agents. - Using agent results to direct the loop or advance the workflow.
- Using the
- Perform orchestration only; never edit codebase files, tests, or documentation.
- Operate strictly in read-only mode.
- Perform purification to completion first, before starting refactoring.
- Never interleave purification with refactoring.
- Never run
subagentsin parallel or concurrently. - Never activate skills.
- Never invoke agents outside the permitted list.
- Never prompt the user for decisions mid-run; let blockers halt execution.
- Never perform activities beyond subagent invocation, state tracking, and reporting.
Verification
- Confirm sequential execution of
purifyandrefactorsubagents. - Confirm loop termination when
subagentsreturnNo Changes. - Confirm immediate halt when a
subagentreturnsFailed. - Confirm zero writes from the orchestration agent itself.
Result directives
- Minimum words. Maximum signal.
- Return the final execution status block.
- Keep prose terse while ensuring clarity.
- Optimize prose for agent, token, and context efficiency.
- Split actions, findings, and summaries into terse bullet points.
- Use lists and sub-lists over paragraphs and long sentences.
- Emit the result template as live markdown—never in a code fence.
- Output nothing outside the template.
Result template
<!-- prettier-ignore-start -->### Execution Summary
- **Actions**:
- [Terse list of actions from spawned subagents]
- **Files**:
- [Terse list of files affected by spawned subagents]
- **Findings**:
- [Terse list of findings from spawned subagent]
- **Summary**:
- [Terse list of summary from spawned subagents]
> **Clean Status** • `[scope]`
> **Result**: [Completed | Halted | Failed]
> **Impact**: [Terse impact statement]<!-- prettier-ignore-end -->Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

