R

Ratchet Loop

rahil-pirani/ratchet-loop · v1.14.0 · Development & Workflow

by Rahil PiraniOwner verifiedScan grade: Good

Claude Code and Codex plugin that holds a coding agent's "done" until tests pass, UI work matches the design, a reviewer model from another company fails to break it, and you sign off

Follow0
Protect this install with HOL Guard

Guard checks the skills and MCP servers a plugin adds on your machine and asks you before a risky action runs. The scores above are free, and no plan changes them.

Is Ratchet Loop a fit?

From the plugin's manifest and HOL's scan. Anything the plugin does not declare is shown as not declared.

Works with

  • Codex
  • Claude Code
  • 6 skills
  • Runs hooks on agent events

Before you install

Sign-in
Not declared
Declared access
Not declared
License
Apache-2.0

Check before relying on it

What is Ratchet Loop?

Ratchet Loop is a published development & workflow plugin for AI coding agents that works with Codex and Claude Code, developed by Rahil Pirani and distributed through the HOL AI plugin registry. Claude Code and Codex plugin that holds a coding agent's "done" until tests pass, UI work matches the design, a reviewer model from another company fails to break it, and you sign off.

Canonical slug
rahil-pirani/ratchet-loop
Version
v1.14.0 · updated Nov 7, 2026

Registry snapshot

Owner verification
Verified on HOL as @rahilp
Scanner
HOL plugin scanner
Security result
Needs review
Digest verified
Yes
6 bundled skillsRead, copy or download each SKILL.mdOpen skills

Trust and security

Trust & reputation

On-Chain Verified
35

HOL Trust Score

Per-metric points (0–100 each) combined via a weighted average into the overall score.

Installability
100/100
Maintenance
65/100
MCP server setup
100/100
Plugin Security
81/100
Provenance
80/100
Publisher Quality
100/100

Provenance

Plugin root
.
Source repo
https://github.com/rahilp/Ratchet-Loop
Source commit
3d240443daab…
Publisher verified
Yes
Owner verified
@rahilp
Agent Plugins 1.0
Not detected

Continuous scanner CI not detected

This plugin remains listed. Its overall trust score is reduced by 10% because security checks are not maintained in the source repository's CI.

Optional: maintain the scanner in the source repository's CI to receive the full trust score. Listing does not require that change.

README badge not detected

Plugin owners can add the HOL badge to the repository README from Guard Plugins. Distribution, not security evidence. It adds a 2% engagement adjustment to the overall trust score and never changes the security result.

Needs review
Security result
81
Security score
2
High findings
Provider
codex-plugin-scanner
Grade
B · Good
Version
3.24.2
codex:hol-plugin-scanner-9OnKEc / cisco-skill-scanner: failedcodex:hol-plugin-scanner-9OnKEc / cisco-mcp-scanner: skipped

[claude:.] Claude Plugin

18/18

5 checks

[claude:.] Security

9/16

6 checks

[claude:.] Operational Security

N/A

5 checks · not applicable

[claude:.] Code Quality

10/10

2 checks

[codex:.] Manifest Validation

25/31

9 checks

[codex:.] Security

9/16

9 checks

[codex:.] Operational Security

N/A

5 checks · not applicable

[codex:.] Best Practices

9/12

5 checks

[codex:.] Marketplace

N/A

3 checks · not applicable

[codex:.] Skill Security

5/5

4 checks

[codex:.] Code Quality

10/10

2 checks

Published advisories

None matched in GitHub security advisories, checked . This covers published advisories only, not problems nobody has reported.

GitHub security advisories are those the source repository has published.

Findings

highsecurityHARDCODED_SECRETReported 2 times

Potential secret material was detected in skills/ratchet-orchestrator/scripts/provider_discovery.py.

Remove the secret from source control and load it securely at runtime.

infomanifest-validationPLUGIN_JSON_INTERFACE_LONGDESCRIPTION

The interface object is missing a valid "longDescription" value.

Add a valid "longDescription" field to the interface metadata.

infomanifest-validationPLUGIN_JSON_INTERFACE_CAPABILITIES

The interface object is missing a valid "capabilities" value.

Add a valid "capabilities" field to the interface metadata.

infomanifest-validationPLUGIN_JSON_INTERFACE_ASSET_WEBSITEURL

The interface field "websiteURL" must use HTTPS or point to a safe in-repo asset.

Update "websiteURL" to use HTTPS or an existing relative asset path.

infomanifest-validationPLUGIN_JSON_INTERFACE_ASSET_PRIVACYPOLICYURL

The interface field "privacyPolicyURL" must use HTTPS or point to a safe in-repo asset.

Update "privacyPolicyURL" to use HTTPS or an existing relative asset path.

infomanifest-validationPLUGIN_JSON_INTERFACE_ASSET_TERMSOFSERVICEURL

The interface field "termsOfServiceURL" must use HTTPS or point to a safe in-repo asset.

Update "termsOfServiceURL" to use HTTPS or an existing relative asset path.

infomanifest-validationPLUGIN_JSON_INTERFACE_ASSET_COMPOSERICON

The interface field "composerIcon" must use HTTPS or point to a safe in-repo asset.

Update "composerIcon" to use HTTPS or an existing relative asset path.

infomanifest-validationPLUGIN_JSON_INTERFACE_ASSET_LOGO

The interface field "logo" must use HTTPS or point to a safe in-repo asset.

Update "logo" to use HTTPS or an existing relative asset path.

infomanifest-validationPLUGIN_JSON_INTERFACE_ASSET_SCREENSHOTS

The interface field "screenshots" must use HTTPS or point to a safe in-repo asset.

Update "screenshots" to use HTTPS or an existing relative asset path.

infobest-practicesCODEXIGNORE_MISSING

A .codexignore file helps prevent accidental inclusion of local artifacts and secrets.

Add a .codexignore file with generated assets, local state, and secret paths.

Install guidance

Install in Claude Code

Install through the Claude Code plugin marketplace.

Claude Code plugin docs

Optional: install HOL Guard for Claude Code first, so it can check this plugin's tools on your machine before Claude Code uses them.

  1. 1

    Add the marketplace

    Run this inside a Claude Code session. It registers the marketplace manifest shipped at the repository root. If the repository ships none, add the generated entry from the Advanced section below first.

    claude code
  2. 2

    Find the marketplace and plugin names

    The install id is <plugin-entry>@<marketplace-name>, and the marketplace name is declared inside the manifest — it can differ from the repository name. List registered marketplaces to read both names.

    shell
  3. 3

    Install the plugin

    Substitute the plugin entry name and the marketplace name shown by the previous step.

    claude code

Did setup work in Claude Code?

No setup reports for Claude Code yet. Self-reported by signed-in visitors. Copying a command is not counted, and most installs are never reported.

Attested installs: Fewer than 10 attested installs of this plugin in week 2026-W47, so no number is shown. Counted from opt-in HOL Guard install reports, once per machine and runtime, and never mixed with the answers above. How install reports work.

Loading reviews

Plugin manifest

{
  "name": "ratchet-loop",
  "version": "1.14.0",
  "description": "Ratchet Loop — checkpoint-and-gate build loop for AI coding agents: small ordered checkpoints, each proven by behavior tests, UI review against a prototype, adversarial review by a different provider when available, and human review. Works with any model provider.",
  "author": {
    "name": "Rahil Pirani"
  },
  "homepage": "https://github.com/rahilp/Ratchet-Loop",
  "repository": "https://github.com/rahilp/Ratchet-Loop",
  "license": "Apache-2.0",
  "keywords": [
    "orchestrator",
    "tdd",
    "quality-gates",
    "adversarial-review",
    "ui-review",
    "prototype"
  ],
  "capabilities": [
    "checkpoint-planning",
    "test-first-planning",
    "behavior-test-gate",
    "ui-review-gate",
    "adversarial-review-gate",
    "human-review-gate",
    "stop-hook-enforcement",
    "checkpoint-viewer"
  ],
  "skills": "./",
  "hooks": "./hooks/hooks.json",
  "interface": {
    "displayName": "Ratchet Loop",
    "developerName": "Rahil Pirani",
    "shortDescription": "Build features in small checkpoints that can't skip their quality gates",
    "category": "Productivity"
  },
  "holManifestOrigin": "repository",
  "registryIndexVersion": 9
}

Marketplace source

Repo URL
https://github.com/rahilp/Ratchet-Loop
Marketplace path
Unknown
Source path
.
Install policy
Unspecified

Skills

6 SKILL.md files ship with this plugin. Preview, copy, or download each one, then install them with the Skills CLI.

Share
skills-cli
  • ratchet-adversarial-loop

    skills/ratchet-adversarial-loop/SKILL.md

    Runs the Ratchet adversarial code-review gate — independent reviewers (another company's model through any registered agent CLI whenever one is available and working, otherwise the host's company on a different model, otherwise the host's own sub-agents) assume the checkpoint's code is wrong and hunt for violations of the written standards and for correctness/security bugs; a separate fixer fixes every blocking finding; tests (and UI review, if visible code changed) re-run; every reviewer re-reviews the new code; repeat until no blocking findings remain. Risk decides how many reviewers look and, on low-risk steps, that only blocker and major findings block. Use at Gate 3 of the Ratchet loop, or whenever the user wants a hostile, multi-vendor review-and-fix loop on a change rather than a one-shot code review.

    SKILL.md content is not in this snapshot. Open the raw file to copy it from the source repository.

  • ratchet-design-md

    skills/ratchet-design-md/SKILL.md

    Creates or updates DESIGN.md — a structured, machine-readable design-system file (tokens for color, type, spacing, radius, elevation, motion; component specs with states; layout and content rules) extracted from an existing codebase or built from a brief. Prototypes, implementers and UI reviewers all build and judge against it. Use when a project has no DESIGN.md, when the user asks for a design system, design tokens or a style guide file, or before prototyping UI in the Ratchet loop.

    SKILL.md content is not in this snapshot. Open the raw file to copy it from the source repository.

  • ratchet-orchestrator

    skills/ratchet-orchestrator/SKILL.md

    Runs the Ratchet build loop (a checkpoint-and-gate workflow) end to end — splits a feature, screen, migration or refactor into small ordered checkpoints, gets the human to approve the plan once, then builds each checkpoint through four hard gates (behavior tests, UI review against a prototype/reference, adversarial code review, human review) using fresh sub-agents, and only stops again for final review. Use this whenever the user says "ratchet", "orchestrator", "build this feature with the loop", "use checkpoints and gates", wants a large feature built to their app's standards, wants to migrate or rebuild a screen, or asks for a long autonomous build that must not cut corners — even if they don't name the skill.

    SKILL.md content is not in this snapshot. Open the raw file to copy it from the source repository.

  • ratchet-prototype

    skills/ratchet-prototype/SKILL.md

    Builds a single-file, clickable HTML prototype of a feature that follows the project's DESIGN.md, with every UI state switchable by URL (?state=…) and stable data-testid hooks, so it can be demoed to a human or client and used as the pixel reference for automated UI review. Use for "prototype", "mockup I can click through", "show me what it would look like before we build it", or whenever the Ratchet loop needs a UI reference and none exists.

    SKILL.md content is not in this snapshot. Open the raw file to copy it from the source repository.

  • ratchet-tdd-planner

    skills/ratchet-tdd-planner/SKILL.md

    Plans the behavior tests for one Ratchet checkpoint before any code exists — turns "done when" criteria into concrete, ID-tagged test cases (happy path, edge cases, permissions, failure modes), decides which can be proven in code without a browser and which must go to the UI gate, and writes tests/CPn.json. Use whenever a checkpoint, feature slice or user story needs a test plan written test-first, or when the ratchet-test-planner agent runs.

    SKILL.md content is not in this snapshot. Open the raw file to copy it from the source repository.

  • ratchet-ui-compare

    skills/ratchet-ui-compare/SKILL.md

    Runs the Ratchet UI gate — captures the reference (HTML prototype, old app screen, or design export) and the real app in the SAME state, replays the same interaction journey on both, then has two isolated reviewers (visual fidelity + interaction behaviour) that never see project instructions list every difference with severity and on-screen location. Any code-fixable difference blocks the gate. Use when comparing an implementation to a prototype or mockup, checking a screen for pixel/spacing/typography drift, verifying a migrated screen matches the original, or at Gate 2 of the Ratchet loop.

    SKILL.md content is not in this snapshot. Open the raw file to copy it from the source repository.

File inventory

.claude-plugin/plugin.json

file

766 bytes

d89adcacca0a4b8f…

.codex-plugin/plugin.json

plugin-manifest

1,065 bytes

c6d993aaf825b788…

agents/ratchet-adversary.md

file

10,751 bytes

f6914c18ec2e9c08…

agents/ratchet-app-scout.md

file

3,364 bytes

7d054d3a01306f25…

agents/ratchet-behavior-reviewer.md

file

4,010 bytes

f51dae17b1ccc37d…

agents/ratchet-checkpoint-planner.md

file

17,460 bytes

66f31a723724e74e…

agents/ratchet-design-system.md

file

1,347 bytes

8a39c4848548468b…

agents/ratchet-fixer.md

file

4,625 bytes

88e877c41a1f1a10…

agents/ratchet-implementer.md

file

3,081 bytes

99da1069f781a12f…

agents/ratchet-prototyper.md

file

1,670 bytes

9beee0dd11a134e5…

agents/ratchet-test-planner.md

file

2,181 bytes

58ed06c52c265b78…

agents/ratchet-test-runner.md

file

3,389 bytes

344a84c71667aa10…

agents/ratchet-test-writer.md

file

4,756 bytes

7885441ab16bc79b…

agents/ratchet-variant-writer.md

file

2,132 bytes

ada426c1bce83cbf…

agents/ratchet-visual-reviewer.md

file

4,226 bytes

a8a39c1b219e900d…

hooks/hooks.json

file

660 bytes

8e85c90858b0827e…

LICENSE

file

15,144 bytes

01cd5191f2c0ccdb…

README.md

file

8,545 bytes

f83becf4fa28f315…

SECURITY.md

file

1,879 bytes

f4fa166c9149bd83…

skills/ratchet-adversarial-loop/scripts/external_review.py

skill

55,969 bytes

1f87f95a2479cb4d…

skills/ratchet-adversarial-loop/SKILL.md

skill

33,139 bytes

8316ec770e6d918d…

skills/ratchet-checkpoint-planner/scripts/impact_analysis.py

skill

96,575 bytes

f6a940123dfa923f…

skills/ratchet-design-md/SKILL.md

skill

4,001 bytes

5e834afdcd3bba12…

skills/ratchet-orchestrator/assets/opencode-plugin.js

skill

24,741 bytes

1cad4b0f6646a683…

skills/ratchet-orchestrator/assets/viewer.html

skill

18,239 bytes

01eb963666e7032f…

skills/ratchet-orchestrator/references/modules.md

skill

6,623 bytes

ff48c5d8880e9aa3…

skills/ratchet-orchestrator/references/schemas.md

skill

351,417 bytes

7b3fceba2e3fb3d6…

skills/ratchet-orchestrator/scripts/engine_utils.py

skill

21,962 bytes

56c4ca9c316c9f19…

skills/ratchet-orchestrator/scripts/fingerprint.py

skill

13,271 bytes

f0e525ebcdd6582c…

skills/ratchet-orchestrator/scripts/plan_support.py

skill

35,711 bytes

ccd9966fe51d4d67…

skills/ratchet-orchestrator/scripts/provider_discovery.py

skill

37,118 bytes

6e290a5683de8367…

skills/ratchet-orchestrator/scripts/provider_health.py

skill

18,219 bytes

7cb9adf504a16dc2…

skills/ratchet-orchestrator/scripts/records.py

skill

29,192 bytes

9a3fc0aa7df7413d…

skills/ratchet-orchestrator/scripts/run_records.py

skill

52,110 bytes

e15f5d2f8effbaed…

skills/ratchet-orchestrator/scripts/spec_sources.py

skill

35,902 bytes

2625a20b51184584…

skills/ratchet-orchestrator/scripts/status_text.py

skill

62,867 bytes

259996f05181b7d9…

skills/ratchet-orchestrator/SKILL.md

skill

141,826 bytes

c531e951819aff67…

skills/ratchet-prototype/SKILL.md

skill

3,659 bytes

51f1579d211a9a1e…

skills/ratchet-tdd-planner/SKILL.md

skill

6,890 bytes

c8b2f326beafcb97…

skills/ratchet-ui-compare/scripts/capture.mjs

skill

10,856 bytes

1cb36915452ff1c6…

skills/ratchet-ui-compare/scripts/ui_review.py

skill

56,226 bytes

542dd068df7978f5…

skills/ratchet-ui-compare/SKILL.md

skill

13,221 bytes

1206658c0e5a1434…

Ratchet Loop — Frequently asked questions

What is Ratchet Loop?
Ratchet Loop is an AI plugin in the HOL registry. Claude Code and Codex plugin that holds a coding agent's "done" until tests pass, UI work matches the design, a reviewer model from another company fails to break it, and you sign off.
How do I install Ratchet Loop?
Install Ratchet Loop in your harness: Codex — codex plugin marketplace add rahilp/Ratchet-Loop; Claude Code — /plugin marketplace add rahilp/Ratchet-Loop; Any agent — npx skills@1.7.4 add rahilp/Ratchet-Loop. Full step-by-step guidance is on the HOL plugin page.
How do I install Ratchet Loop in Codex?
To install Ratchet Loop in Codex, start with codex plugin marketplace add rahilp/Ratchet-Loop. The complete step-by-step install guide for Codex is on the HOL plugin page.
How do I install Ratchet Loop in Claude Code?
To install Ratchet Loop in Claude Code, start with /plugin marketplace add rahilp/Ratchet-Loop. The complete step-by-step install guide for Claude Code is on the HOL plugin page.
How is the Trust Score for Ratchet Loop computed?
Ratchet Loop has a HOL Trust Score of 35 out of 100. The score is a weighted sum of six components from a static scan of the source, capped for high-severity findings and adjusted by two disclosed policies. Memberships and payments are not inputs, and a scan is not a safety guarantee. Full breakdown: https://hol.org/registry/plugins/rahil-pirani%2Fratchet-loop/trust
Who publishes Ratchet Loop?
Ratchet Loop is published by Rahil Pirani and listed on HOL.

Directory acceptance

Listed in 0 of 5 directory lists

Read from the list each directory publishes on GitHub. Being listed means the directory accepted the plugin; it is not a HOL security rating.

Lists last read . HOL re-reads them every day.

Submitting it? Check it against each directory's rules

Install signal

HOL cannot see every install. These are separate signals from different sources, so they are not added together. Counts under each floor show as <N.

Install commands issued here
<5
HOL Guard install commands issued from this listing, last 28 days.
Opt-in install reports
<10
Machines that reported installing it through HOL Guard in week 2026-W47. Reporting is opt-in, so most installs are not counted.
HOL Guard workspaces
<5
Workspaces that approved it or include it in an approved-plugin feed, as of today.

Reviews and similar plugins