whereismyai
Ratchet
Ratchet is a command-line tool that turns markdown guardrails into deterministic rules for coding agents.
Ratchet is a command-line tool designed to typecheck skills and turn guardrails from markdown files into deterministic rules. It operates offline without requiring API keys or involving any LLMs in enforcement. The software hooks directly into native coding agent lifecycle hooks to block forbidden shell commands, file writes, and protected file reads. It includes features for linting bad frontmatter, dead globs, unchecked claims, and stale paths across repositories. Ratchet is built as a single Rust binary and integrates with coding agent harnesses, Git pre-commit hooks, and CI workflows.
Ratchet at a glance
- Best for: Software engineer
- Runs on: CLI, self-hosted, open source
- Pricing: Free
- Released: November 2026
- Category: AI coding tool
- Website: github.com/itsthecsguy/ratchet
Key features
- Lint markdown guardrails and skill files
- Enforce rules deterministically at tool-call time
- Block forbidden shell commands and file writes
- Run offline with a single Rust binary
- Integrate with Git pre-commit hooks and CI
- Test inline ok and bad fixtures against agents
Use it for
- Typecheck skills and markdown guardrails
- Block unauthorized shell commands during coding agent use
- Run pre-commit linting and checks
- Verify pull requests and prevent rule weakening
Alternatives to Ratchet
- Agent Skills — Encodes senior-engineer workflows and quality gates into 24 skills.
- Claude Code Mistake Guards — Stops repeated agent mistakes mechanically with tests that prove they block.
- Claude Code Harness — Enforces a disciplined delivery loop with verification gates and safety checks.
- Claude Skills — Routes tasks to cheaper models and proves fixes with exit codes.
- Claude Skills Pack — 388 production-ready skills across 13 tools with zero-dependency Python tools.
- Stop That Shit — Enforces task boundaries to stop unnecessary AI agent actions.
- HarnessRouter — One API to manage agent runtimes, sandboxes, and execution lifecycles.
- Harness Meta-Skill — Generates specialized agent teams and skills for Claude Code from a single prompt.
- Claude Code mods — Add live lines above the prompt, command guards, panes, and games to Claude Code.
- Skillkeel Starter — Blocks destructive shell commands and prevents hard-coded secrets from being written.
- Claude BugHunter — It loads 83 skills and 15 slash commands automatically by topic.
- Ralph for Claude Code — Enables continuous coding cycles with built-in API safeguards and rate limiting.
All Ratchet alternatives