Verify Before Irreversible Action
DevOps & Securityverify-before-irreversible-actionVerify Before Irreversible Action is an Agent Skill for devops & security published in the aiming-lab/MetaClaw repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Use this skill before taking any action that is hard to reverse — deleting files, overwriting data, sending messages, pushing to remote, modifying production systems. Always pause, state what you are about to do, and confirm before executing.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/aiming-lab/MetaClaw/blob/HEAD/memory_data/skills/verify-before-irreversible-action/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/verify-before-irreversible-action, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Verify Before Irreversible Action
Before executing any destructive or hard-to-undo operation, pause and confirm.
Checklist:
- State explicitly what you are about to do and why.
- Identify what cannot be undone if this goes wrong.
- Ask the user to confirm if the action is significant.
- Prefer dry-run or preview modes when available (
git diff,--dry-run, staging environments).
Examples of irreversible actions: rm -rf, git push --force, DROP TABLE, sending an email, publishing a post.
Anti-pattern: Silently executing destructive operations without a confirmation step.