Software

Make your coding agent ask before risky actions

A developer built a free add-on that makes Claude Code, Codex and Cursor stop before deleting, deploying or running live steps; in their small trials agents stopped leaving live steps armed.

Done with Claude Code

What they did

A developer wrote a set of rules that coding agents load as an add-on. It sorts each request by size and risk. It stops before deleting data, pushing, deploying or changing live databases. It refuses to call anything checked without a saved record of the check.

How it went

The author ran small tests with and without the add-on. They report agents stopped changing payment rules nobody asked about, and left regression tests behind in every run. On new tasks written by another model, results were mostly the same either way.

Worth knowing

The author says these are small tests they wrote, not a benchmark. The add-on makes agents more careful but does not make an app secure.

Try it yourself with Claude Code

Before you change anything in [project folder], sort my request: small safe edit, review, new feature, fix, or new product. Do the safe, reversible work. Write tests that fail without your change and pass with it. Do not delete data, push code, deploy, run database changes or touch live services. Instead, list each of those steps for me and wait for my approval. Only call something verified if you saved the output of the check that proves it.

Swap the highlighted [parts] for your own details.

Read the original

Source: X · @404kidwiz2 · Oct 20, 2026

Written with AI assistance from the original post and checked against our editorial guidelines. Results are as reported by the source, not independently verified. Spotted a mistake? Tell us.

Get 5 use cases every day

The best things people got an agent to do yesterday, each with the prompt. Free, one email a day.

See today's issue