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


