ratchet
Skill0 starsChanged 40 days agoMITView on GitHub
Convert a recurring or consequential engineering failure, correction, or fragile convention into the strongest cheap durable repository mechanism. Use when a lesson should become harder or impossible to violate rather than another instruction.
4 other projects use a version of this.
Adopted by
Most recently taken up by
- OmkarKamble1/ratchettheir own version, first seen Aug 28, 2026
- janek-moon/murextheir own version, first seen Aug 12, 2026
- SPixs/claude-skill-ratchettheir own version, first seen May 11, 2026
- nickwinder/skillstheir own version, first seen Feb 11, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- nickwinder/skills★ 1same name
- OmkarKamble1/ratchet★ 1same name
- SPixs/claude-skill-ratchet★ 1same name
- janek-moon/murex★ 0same 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 repository16 other files it gives its agents.
- create-checkSkill
- decideSkill
- design-changeSkill
- design-moduleSkill
- groundSkill
- harden-boundarySkill
- harden-checkSkill
- intentSkill
- investigateSkill
- learnSkill
- pave-pathSkill
- realizeSkill
- specifySkill
- validateSkill
- verifySkill
- wire-checkSkill
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 3 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 10
Read references/ratchets.md and references/mechanism-ladder.md before choosing a mechanism.
- Distinctive: line 17
Choose the strongest cheap mechanism: Use the mechanism ladder. Prefer prevention over detection and detection over instruction.
- Very specific: line 19
Route implementation: Use harden-boundary for dependency topology, create-check for deterministic rejection, wire-check for authoritative …
“Common” is measured: kept by at least 6 in 10 of the 3 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
Turn engineering experience into accumulating executable constraints. This is a meta-engineering skill, not a ninth intent operator: it changes the environment future realize and verify work executes inside.
Read references/ratchets.md and references/mechanism-ladder.md before choosing a mechanism.
Work
- Observe the evidence. Name the concrete failure/correction and whether it is repeated, costly, consequential, or likely enough to justify permanent machinery. Do not invent a standard from taste alone.
- Generalize the failure class. State the invariant independently of the observed file or incident. Distinguish a mechanical property from a judgment call.
- Interview the repository. Find its existing compiler, linter, architecture checks, tests, generators, umbrella check command, CI, and local documentation. Prefer extending existing machinery over adding a new tool.
- Choose the strongest cheap mechanism. Use the mechanism ladder. Prefer prevention over detection and detection over instruction. Before creating a custom mechanism, check whether the existing toolchain or a well-established compatible executable already implements the invariant.
- Keep the good path cheap. Identify the intended alternative. If the new prohibition would leave contributors guessing, improve the canonical API/type/helper/generator/diagnostic or add a narrow navigation pointer.
- Route implementation. Use
harden-boundaryfor dependency topology,create-checkfor deterministic rejection,wire-checkfor authoritative execution, andharden-checkfor meaningful bypasses. A single small ratchet may be implemented directly when delegation would add ceremony. - Prove and report. A mechanical ratchet is not complete until a representative recurrence is rejected and the clean repository passes again. Important checks must be wired into the authoritative path.
Return
- Outcome: RATCHETED / DOCUMENTED_JUDGMENT / NOT_WORTH_RATCHETING / BLOCKED
- Observed lesson
- Generalized invariant
- Mechanism chosen — and why stronger/cheaper alternatives were unsuitable
- Installed change
- Positive path
- Negative proof
- Authoritative path — where the check runs
- Remaining exposure
Failure signals
Correct course if you add prose without testing stronger mechanisms, add a new dependency when existing tooling can express the rule, create a prohibition without a usable alternative, declare success because clean code passes without proving the rule bites, or overfit a permanent constraint to one harmless anomaly.
Done when
The lesson has a justified durable disposition and, for a mechanical ratchet, repository-owned enforcement has been proven against a representative violation and appropriately wired into normal verification.
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.

