AI Agents Irreversible Guard — Data skill for Claude Code
Two-tier guardrail for AI coding agents: hard-stop irreversible actions (rm -rf, DROP DATABASE, deleting a cloud project), let the agent self-confirm the recoverable ones, with friction that decays as.
How to install AI Agents Irreversible Guard
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open BlaisedEstais/ai-agents-irreversible-guard and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What AI Agents Irreversible Guard does
Two-tier guardrail for AI coding agents: hard-stop irreversible actions (rm -rf, DROP DATABASE, deleting a cloud project), let the agent self-confirm the recoverable ones, with friction that decays as it chains. A PreToolUse hook for Claude Code, Codex, OpenClaw and any CLI agent. 41,417 replayed tool calls, 0 false stops.
Alternatives in Data
- LLM Redteam — LLM red-team corpus runner — fires categorized prompt-injection / jailbreak / system-prompt-leak / data-exfil 4.5k ★
- Soul.Md — The best way to build a personality for your agent 381 ★
- Agent Loop Skills — Loop until it's better — drop-in agentic loops (autoresearch, scientific writing, data analysis, code/SQL/prom 155 ★
README
ai-agents-irreversible-guard
**A two-tier guardrail that stops AI agents from doing irreversible damage — and gets out of the way for everything else.**
Most agent safety setups give you two bad options: approve every single tool call, or turn approvals off and hope. `ai-agents-irreversible-guard` is a `PreToolUse` hook that asks a different question before a command runs — **not "is this dangerous?" but "is this recoverable?"** — and routes accordingly:
- 🛑 Irreversible (
rm -rf ~/Documents,DROP DATABASE, deleting a Supabase project or an R2 bucket, removing branch protection, editing the guard itself) → hard stop. Only a human unlocks it. - ⚠️ Recoverable but expensive (force-push to
main, deleting a repo, sending an email, moving money) → the agent re-confirms itself, in writing, against a checklist, and the whole thing is logged. - ✅ Everything else — including deleting things the agent itself created two minutes ago, or anything sitting in a 30-day trash — runs with zero friction.
Measured on real history: **41,417 replayed Claude Code tool calls → 10 confirmations asked, 0 false stops.** **24,162 Codex tool calls → 0 interruptions.** 668 automated tests. ([How we measured](#benchmark-41417-real-tool-calls-replayed))
One honest sentence before anything else: **this guards against agent mistakes, not against a determined attacker.** A denylist is bypassable by construction — see [SECURITY.md](SECURITY.md). The real net underneath is still your trashes, your backups and narrowly-scoped tokens.
Table of contents
- Why this exists
- The doctrine (read this before the code)
- Recovery windows by service — the map the guard uses
- What a refusal actually looks like
- The two unlock paths
- [Friction decay (exponential backoff)](#friction-de
Related Skills
Micro Skills
Stop writing 200-line skills that Claude skims. Convert any skill into a gated micro-pipeline with hard YES/NO
Manual Maker
Drive the full manual-maker pipeline end to end from one command — intake → confirm → sources → screenshots →
Job Pipeline Tracker
Tracks Alex's PERSONAL job-search pipelines as live pipelines rather than static snapshots — every role he's i
Daily Summary
Evening daily-summary ritual — recap the day's lands, /go-run friction, feedback, and token usage into a durab
Tiny Tools
Small, local-first MCP tools that let AI agents know things about files without reading them. tiny-context: ou
SEO Pipeline
Full SEO pipeline: analysis writing QC images publication. One stop point after topic selection, then everythi
Related Agents
Filter Tuner
Looks at what the deterministic filter and the AI scoring kept or rejected, finds the rules that let bad offer
Gateway Notes
Purpose: the confirmed gateway/guardrail mechanisms for the workshop, input guard, output sidecar, MCP authz,
Typesafe Calibrator
Turns invented thresholds into measured ones. Builds labelled sets, plots confidence against accuracy, measure