loop
Skill10 starsChanged 4 months agoMITView on GitHub
Run recursive improvement — build → attack → patch → compile — until the artifact is genuinely done. Use to drive an artifact to a stable, tested, serialized state without stopping at the first draft. Repeats the cycle and reports an iteration log and confidence score, stopping only when no critical/high defect, no untested core assumption, and no missing next action remain.
55 other projects use a version of this.
Adopted by
Most recently taken up by
- Eclipter/agentstheir own version, first seen Nov 8, 2026
- SethGammon/Citadeltheir own version, first seen Nov 4, 2026
- drevendev/HungryCrabtheir own version, first seen Nov 1, 2026
- Railly/skillstheir own version, first seen Nov 1, 2026
- HeshamFS/swarmweavertheir own version, first seen Nov 1, 2026
- jtaroreh/agystacktheir own version, first seen Oct 29, 2026
Used with
Projects with it also use review-bugbot, origin and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
0mlkrizzz655335vSkillreview-bugbot
缺陷导向代码审查。用 Bugbot 子代理找 bug。
Also in 4 projects that use this
0mlkrizzz655335vSkillorigin
origin CLI 管理。安装、登录、更新、修复 origin.cursor.com 的 CLI。"disabled-environments:
Also in 3 projects that use this
PandelisZSkillupdate-cli-config
View and modify Cursor CLI configuration settings in ~/.cursor/cli-config.json. Use when the user wants to change CLI settings, configure permissions, switch approval mode, enable vim mode, toggle display options, configure sandbox, or manage any CLI preferences.
Also in 4 projects that use this
32103210Skillmigrate-to-skills
Convert 'Applied intelligently' Cursor rules (.cursor/rules/*.mdc) and slash commands (.cursor/commands/*.md) to Agent Skills format (.cursor/skills/). Use when you want to migrate rules or commands to skills, convert .mdc rules to SKILL.md format, or consolidate commands into the skills directory.
Also in 4 projects that use this
32103210Skillupdate-cursor-settings
Modify Cursor/VSCode user settings in settings.json. Use when you want to change editor settings, preferences, configuration, themes, font size, tab size, format on save, auto save, keybindings, or any settings.json values.
Also in 4 projects that use this
MicrosoftSkillautomate
Propose an automation from a completed task or a new idea, then create it after approval. Use when the user asks to create an automation or wants scheduled local or cloud agent work.
Also in 4 projects that use this
- +3 more from 0mlkrizzz655335v
- +1 more from 32103210
Other versions55 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 55
- SethGammon/Citadel★ 927same name
- breezewish/CodexPotter★ 629same name
- jtaroreh/agystack★ 128same name
- dannys-code-corner/incan★ 73same name
- ww-w-ai/bkit-gemini★ 66same name
- IsuruMaduranga/one-code★ 50same name
- unclejobs-ai/second-claude-code★ 41same name
- BULDEE/ai-craftsman-superpowers★ 35same name
- Hassaan146/claude-skills★ 18same name
- woxiangyangzhimao/skills★ 14same name
45 more not listed
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 repository24 other files it gives its agents.
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 1 is distinctive, and 2 are very specific to this project.
0
Common
Most of the 50 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 28
Patch: only what failed (/ratchet:patch).
- Very specific: line 43
Run ratchet score confidence and read BOTH loopClear and the workflow-closure layer (closure.closed).
- Distinctive: line 52
If either read is false, run another iteration.
“Common” is measured: kept by at least 6 in 10 of the 50 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
/ratchet:loop — recursive advancement
One pass rarely finishes anything. This command repeats the core cycle until the artifact actually holds under attack. It is the closest thing Ratchet has to a software-quality agent: discover the missing thing, build it, try to break it, fix what broke, serialize.
Step 0 — Load state
ratchet status
ratchet score confidenceThe cycle (repeat until the stop condition holds)
Each iteration:
- Discover the missing thing. The highest-leverage gap right now — an untested
assumption, an open defect, a missing piece of the artifact. (Borrow
/ratchet:cutand/ratchet:auctionlogic to pick it.) - Build the artifact or the fix (
/ratchet:build). - Attack it with the five-voice board (
/ratchet:attack); record defects. - Patch only what failed (
/ratchet:patch); resolve the original defect with evidence. - Verify bound to the artifact (
/ratchet:verify); on green,ratchet artifact close <id>. - Compile the advance (
/ratchet:compile); recompute confidence.
The cycle is build → attack → patch → verify → compile. Compiling before verifying records an unproven state as if it were an advance.
Report each iteration compactly:
ITERATION n: discovered <gap> → built <thing> → attack <c crit / h high> → patched <delta> → confidence <score>Stop condition (all must hold)
Run ratchet score confidence and read BOTH loopClear and the workflow-closure layer
(closure.closed). Stop only when:
loopClearholds — no unresolved critical/high defect, no untested core assumption, no missing next action.workflowClosed.closedis true — the active artifact carries a closure certificate and no open defect is unattached.- The artifact is genuinely usable (passes its 5-point test).
If either read is false, run another iteration. Do not stop because the output "looks good" — the CLI reads are the arbiter, not your impression.
There is no convergence escape. If two iterations find nothing new while
workflowClosed.closed is false, you are not converged — you are blocked. Stop with
STOP REASON: blocked-needs-human, name the blocker the closure read printed, and hand it
over. "Nothing left to try" and "finished" are different states, and only one of them is
an ending.
Output contract
ITERATION LOG:
- ITERATION 1: ...
- ITERATION 2: ...
STOP REASON: closed | blocked-needs-human
WORKFLOW: CLOSED | NOT CLOSED — <blockers, if any>
FINAL CONFIDENCE: <score>/100 (<band>)
REMAINING RISK: <what a human should still watch>
NEXT: <action> → /ratchet:<command>Then confirm serialization with ratchet export markdown.
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.

