DRINKER LABS / ANALYTICS
Claim check · 4 Dec 2026

Does Ratchet really turn CLAUDE.md rules into blocking checks with no LLM?

A post on X says Ratchet turns the rules in a CLAUDE.md or AGENTS.md file into checks that block forbidden commands before they run. It says no LLM is involved, and that the tool is one 5 MB Rust binary under the MIT licence. Most of this holds. Ratchet plugs into the "before a tool runs" hooks of 9 coding agents, including Claude Code, Codex CLI and Cursor. Its setup, linting and blocking all run offline with no model calls, and the licence is MIT. The README gives the binary as "~5 MB", and an independent build came out at 5.4 MB. The catch is "turns the rules into checks". Ratchet converts only sentences that match its built-in templates, such as "always use pnpm". Other rules stay as prose unless you write a rule block by hand or use an optional LLM-assisted helper.

"turns the rules in your CLAUDE.md or AGENTS.md into checks"
Only some rules
Setup converts sentences that match built-in templates, such as package-manager or .env rules. Other rules stay as prose unless you write a rule block yourself or use the optional LLM-assisted helper.
"block forbidden commands before they run. No LLM involved."
Holds up
Ratchet runs inside the agent's pre-tool hook and denies matching commands. The README says "No LLM is involved in enforcement", and setup and linting are offline too.
"One 5 MB Rust binary. MIT."
Accurate
The README says "single ~5 MB Rust binary", and an independent build measured 5.4 MB. The LICENSE file is the MIT licence.
01 · Claim by claim

Four true, one with caveats

We scored five checkable claims in the post, using the repository as it stood on 2 Dec 2026. Every claim checks out, though the first needs a caveat. The link card's tagline, "Typecheck your skills", is a slogan, so we didn't score it. The post makes no predictions and gives no advice.

The post saysVerdictWhat we found
Ratchet turns the rules in your CLAUDE.md or AGENTS.md into checksCaveatsRatchet reads CLAUDE.md, AGENTS.md, SKILL.md and many other agent rule files, such as GEMINI.md, .cursorrules and .github/copilot-instructions.md. ratchet setup writes the rules it can enforce to .ratchet/checks.yaml. It doesn't convert every rule, though. The README says custom rules "beyond built-in templates" need you to pipe a prompt through an agent such as claude -p and back into ratchet propose, or to write a `rule block by hand. In Sulat's hands-on test, the sentence "Never edit files in migrations/ once committed" wasn't converted: "Ratchet had no template for that sentence and left it as prose."
checks that block forbidden commands before they runTrueRatchet installs itself in each agent's own hook system, such as PreToolUse in Claude Code. The README says the agent "pauses BEFORE execution" and that a denied command "never executes". Its default level is enforce, which blocks the command and returns a suggested fix. The guide says it parses chained commands, env prefixes and sh -c. It reads the command line the agent sends rather than running it, so it isn't a sandbox. In Sulat's test, none of five models wrote an npm lockfile with the hook on, but the hook missed some .env file writes (see 02).
No LLM involved.TrueThe README says "No LLM is involved in enforcement" and that setup and linting are "100% deterministic and offline (zero API keys)". Ratchet does use models in two optional places: ratchet propose builds a prompt for your own agent tool to draft custom rules, and ratchet test --models benchmarks real models. Neither is needed to block commands.
One 5 MB Rust binary.TrueThe repository is a Rust workspace. The README describes a "single ~5 MB Rust binary", and its build notes say cargo build --release produces target/release/ratchet (~5 MB). Sulat built version 0.1.1 from source and got a 5.4 MB binary. Prebuilt downloads cover Linux and macOS only. The guide lists "native Windows support" as not built.
MIT.TrueThe repository's LICENSE file is the standard MIT licence, "Copyright (c) 2026 Ratchet Contributors", and GitHub labels the repository "MIT license".

Fine print. The post comes from the official account of The Roundtable Show. Nothing in the post says it is sponsored, and we found no sign that it was. The developer, who posts as @thecsguy, thanked the account in the replies. Ratchet was very new when the post went out. Its first release, v0.1.0, came out on 29 Nov 2026, and v0.1.2 followed on 1 Dec 2026, the day before the post. The quick install pipes a script from GitHub into sh. The README says downloads are "SHA-256 verified", meaning the file is checked against a published checksum. One reply argues that command matching is a "soft layer" a wrapper script can slip past. That fits the guide's own warning that its rules on reading files are "not a sandbox".

02 · 02 · In practice

What a few-days-old tool does and doesn't stop

First release
29 Nov 2026
v0.1.0; v0.1.2 followed on 1 Dec, the day before the post
Agents supported
9
Claude Code, Codex CLI, Cursor, Gemini CLI, Copilot CLI and others, plus Git pre-commit and CI
Hook time
~1.8 ms
README figure; Sulat measured 1.7 to 1.9 ms per call
Rule levels
4
shadow, warn, ask, enforce; enforce is the default

Ratchet does two jobs. ratchet lint checks your rule files the way a type checker checks code. It flags rules that nothing enforces, links and file paths that no longer exist, and rules that contradict each other or your lockfiles. ratchet setup then saves the rules it can enforce and connects Ratchet to each agent's hooks. When the agent tries a forbidden command, it gets back the rule, a quote from your file and a fix: command to run instead.

An independent hands-on review by Sulat AI & Tech News, published on 30 Nov 2026, broadly backs the README. Its author built version 0.1.1, measured hook times in line with the README's 1.8 ms, and ran five models through the OpenCode agent with the rule file hidden. With the hook on, none of the five wrote an npm lockfile, and four of the five were stopped from writing a .env file. The review also found gaps. The hook missed .env writes made through OpenCode's apply_patch tool and through shell redirects. It blocked read-only npm commands. And it turned "Do not commit .env files" into a rule against writing .env at all, which is broader than the sentence.

Ratchet's own guide is open about its limits. It says rules on reading files narrow what an agent stumbles into but are "not a sandbox". Reads done through an interpreter, with file names arriving on a pipe, or with a program not on its list can get past them. Rules backed by code-structure (AST) checks or external linter commands (check: { ast | command }) are parsed but skipped for now.

Bottom line. The post describes Ratchet accurately. Read "turns the rules into checks" as "turns the common, recognisable rules into checks". It is a useful guard against an agent drifting from your rules, not a security boundary, and it is only a few days old.

03 · Method

How we checked

  1. We read the post, its link card and the sample of replies from the fxtwitter data.
  2. We read the itsthecsguy/ratchet repository on GitHub: the README, docs/GUIDE.md (including its "Limits and what is not built" section), the LICENSE file and the releases page for release dates.
  3. We searched for independent coverage and found a hands-on review by Sulat AI & Tech News, which embeds the developer's launch post. We used the review only for its own measurements, and say so where we cite it.
  4. We checked each claim against the repository as it stood around 2 Dec 2026, when version 0.1.2 was current.
  5. This check ran automatically: one pass of Claude Opus 5.5 researched the post, and a second, separate pass re-checked every claim against the sources before publication.
  6. Grok, xAI's model, suggested this post as one of the day's widely shared claims. Grok did not research or write this report.

Limitations. We didn't build or run Ratchet ourselves. The 5 MB figure rests on the README and on Sulat's build of 0.1.1, because we couldn't load the sizes of the release downloads. We couldn't open the developer's launch post on X directly and saw it only through Sulat's embed. We didn't read the source code of Ratchet's built-in template list, so we can't say exactly which sentences it converts. Findings are a snapshot as of 4 Dec 2026, and the project is changing quickly.

Evidence

Sources

WhatLink
The post on X, 2 Dec 2026x.com/RoundtableSpace/status/2127949623943647656
Ratchet repository and README: "No LLM is involved in enforcement", "single ~5 MB Rust binary", 9 harnessesgithub.com/itsthecsguy/ratchet
Ratchet LICENSE: MITgithub.com/itsthecsguy/ratchet/blob/main/LICENSE
Releases: v0.1.0 (29 Nov 2026) to v0.1.2 (1 Dec 2026)github.com/itsthecsguy/ratchet/releases
Ratchet guide: shell parsing, scanned files, "not a sandbox", limits and no native Windowsgithub.com/itsthecsguy/ratchet/blob/main/docs/GUIDE.md
Developer's launch post on X, 29 Nov 2026 (seen via Sulat's embed)x.com/thecsguy/status/2127081261240136018
Sulat AI & Tech News, hands-on review of Ratchet 0.1.1, 30 Nov 2026news.sulat.com/2026/11/30/ratchet-agent-rules