01 / Intercept
Catch every call
Clavus sits on the wire between agents and the tools they reach for—logging intent before action lands.

Install via Terminal
curl -fsSL https://get.clavus.dev/install.sh | shClavus is a local-first AI Code Padlock for Cursor, VS Code, and Claude Code. It lets you freeze working functions, classes, and their verification checks so coding agents can build freely around your codebase without silently rewriting finished logic, weakening your tests, or burning credits in repetitive broken-fix loops.

01 / Intercept
Clavus sits on the wire between agents and the tools they reach for—logging intent before action lands.

02 / Contain
When alignment breaks, Clavus contains the blast radius—sandbox, revoke, and resume with a clean slate.

03 / Verify
Policy checks run in-line. Drift, escalation, and out-of-scope requests surface before they execute.

01 / Lock
Lock a line, function, class, file, folder, or whole project, etc. Agents can still work nearby without false alarms—but edits inside the locked surface are blocked until you unlock.
02 / Proof
You can pair any frozen block with a test or smoke-check file (either an existing test or one generated via one-click Auto-Check). While locked, an AI agent cannot "make tests pass" by deleting assertions or relaxing expectations—the check stays coupled to the piece.
03 / Hooks
Clavus installs local editor and agent integrations for Cursor and Claude Code. Every check runs on your machine in milliseconds with deterministic rules—no second AI model guessing whether an edit looks safe, and zero source code ever leaves your machine.
04 / Control
Clavus project state and shield configuration stay off-limits to AI agents. Only you—via the Clavus UI or your own terminal—can unlock a piece to edit it and re-lock it once checks pass.
05 / Breaker
When you link dependent modules, Clavus runs targeted checks on connected features after an edit. If an agent gets stuck repeating the same failing fix pattern, Clavus trips a circuit breaker, halts the loop, and spotlights the most likely root cause in a local read-only visual inspector.