Agent Skills
› aiming-lab/MetaClaw
› verify-before-irreversible-action
verify-before-irreversible-action
GitHub在执行删除、覆盖、推送或修改生产系统等不可逆操作前,强制暂停并确认。要求明确陈述意图、识别风险、请求用户确认,并优先使用预览模式,防止误操作导致数据丢失或系统故障。
Trigger Scenarios
执行 rm -rf 等删除命令
执行 git push --force 等强制推送
执行 DROP TABLE 等数据库破坏性操作
发送重要邮件或发布内容
Install
npx skills add aiming-lab/MetaClaw --skill verify-before-irreversible-action -g -y
SKILL.md
Frontmatter
{
"name": "verify-before-irreversible-action",
"category": "general",
"description": "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."
}
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.
Version History
- 922caf3 Current 2026-07-25 11:09


