safety-checklisted
Install: claude install-skill JFWaskin/superpowers-safe
# Safety Check (Mandatory Preflight)
## When to Invoke
**ALWAYS** invoke this skill FIRST when ANY of the following is true:
- About to invoke any other superpowers skill (`brainstorming`, `subagent-driven-development`, `executing-plans`, `dispatching-parallel-agents`, `systematic-debugging`, `test-driven-development`, `writing-plans`, `writing-skills`, `finishing-a-development-branch`, `using-git-worktrees`, `requesting-code-review`, `receiving-code-review`, `verification-before-completion`)
- About to run Bash, write or modify files, make network calls, dispatch subagents, run tests, run builds, or do any autonomous work
- User asks for any non-trivial task (build, refactor, deploy, run tests, batch operations)
- Combined use with `ralph-loop` is detected or likely
- A command is about to run for more than 5 minutes
**Exception**: If dispatched as a subagent with an isolated, well-scoped task, the parent agent should have already passed the gate. If you are a subagent and the gate is not documented, **run a minimal version anyway** (Gates 1 + 2 + 4) before doing anything destructive.
If you skip this skill on a task that meets the criteria above, you have failed the task.
## The 5 Safety Gates
Run gates in order. **Halt on any failure**. Never run a gate partially — pass or fail, all of it.
### Gate 1: Resource Budget
Run these checks. If any fails, **stop and ask the user to free resources**.
```bash
# Disk: need ≥ 2 GB free in working dir
df -h . | tail -1 | awk