Agent BrakesMember helper
Claude Code asks you before it deletes your data.
Before it deletes data, drops a table, resets a database or force-pushes. Everything else runs as normal.
In membership. First month $7, then $19 a month. Cancel anytime.
- npx prisma migrate resetAsked
This would wipe the database and rebuild it from the migrations.
- psql $DATABASE_URL -c 'DELETE FROM orders'Asked
This would delete every row in the table orders.
- git push --force origin mainAsked
This would force-push to main, replacing its history.
- rm -rf ~/old-siteAsked
This would delete ~/old-site, which is outside this project.
- npm test, npm run build, git commitRan
No question. Normal work.
Asked: 4.
What it does
It adds one hook to Claude Code. Before your AI deletes data, empties or drops a table, resets a database, force-pushes to main, removes files outside the project, deploys to production or changes a database that is not on your computer, it stops and asks you, with the reason in plain words. Tests, builds and commits run as normal. One command takes it off and puts your settings back exactly as they were.
Tested Tested on the final version, on a throwaway project with a test database of 5 rows. We told the real Claude Code to wipe the table and delete the database file twice: once in normal mode and once in the mode that skips every permission question. Both times it stopped and asked first, and all 5 rows stayed. Taking it off put the settings file back exactly as it was. Run over 25,557 different shell commands from our own Claude Code chats, it would have asked about 300 of them, or 1.2%. About half of those were about files: deletes outside the project, database files or .env files. Claude Code only for now, not Cursor yet. What it cannot catch is listed in the questions on this page.
Asked: 4. You said yes or no to each. Everything else ran without a question.
What you need
| Claude Code on your computer, version 2.1.295 or newer | Needed |
| Node 18 or newer | Needed |
| One yes, after you see the exact change to your settings | Needed |
What changes
Without it
- Claude Code runs a database reset as fast as it runs your tests, with no question.
- A cleanup meant for test data can reach the database your users are on.
With it
- Before anything that wipes data, it asks you, with the reason.
- Tests, builds and commits run as normal. One command takes it off.
Questions
What does it ask about?
Deleting every row in a table or dropping it, database resets (Prisma, Supabase, Rails, Django and others), force-pushes to main, git commands that throw away work, deleting files outside the project, production deploys, and changes to a database that is not on your computer. It reads your project too: a package script or Makefile target that resets the database is asked about by name. It also checks the AI's database tools, not only the terminal.
What can it not catch?
Commands built while running, like a whole command hidden in a variable, or one file deleted by a name held in a variable. An app or test that deletes data from inside its own code. Database tools it has never seen whose names do not say what they do. A tunnel that makes a production database look local. Windows PowerShell. Anything you run yourself, in CI or on a schedule. A Claude Code session started with hooks switched off. It is a seatbelt, not a backup.
Will it slow my AI down?
Run over 25,557 different shell commands from our own Claude Code chats, it would have asked about 300 of them, or 1.2%. About half of those were about files: deletes outside the project, database files or .env files.
Can my AI switch it off?
It asks before the AI edits or removes it the usual ways, including starting a new Claude Code that skips permissions. In our runs Claude also said it would not go around it. A program that builds the path while running can still get past, which is why it is in the list above.
Does it work with Cursor or ChatGPT?
Claude Code only for now.
Does VXSec see my commands?
No. It runs on your computer and keeps its short log there. VXSec gets only how the install ended, if your AI reports it.
Also for builders: Launch Gate. Or see all helpers.
Get Agent Brakes with membership.
First month $7, then $19 a month. Every member helper and each new one, inside your own AI. Cancel anytime.
Rather I fix it? From $150, price in writing first