Install
openclaw skills install preflight-workflowStop before you break — four mandatory checks before every operation: search, rollback, test, scope
openclaw skills install preflight-workflowA lightweight safety workflow that stops agents and humans from acting before they think. Four mandatory checks — if even one fails, stop and fix it first.
Every time you (or your agent) are about to:
Core rule: No search = no action. No preflight = no execution.
If it's a new, unfamiliar, or risky operation → run the full four-question checklist.
Four ✅ required. Not one less.
| Outcome | Action |
|---|---|
| ✅ Success | Log it (date + what + result) |
| ❌ Failure | Write to LEARNINGS.md (root cause + fix + prevention) |
| 💡 New insight | Update this SKILL.md |
chmod +x preflight.sh
./preflight.sh "deploy new cron job"
Answers four yes/no questions interactively. All ✅ → "All passed, go ahead." Any ❌ → "Blocked: ... Fix it first."
| File | Purpose |
|---|---|
preflight.sh | Interactive CLI checklist (4 yes/no questions) |
SKILL.md | Loadable skill for any SKILL.md-compatible agent |
LEARNINGS.md | Post-mortem template (root cause + fix + prevention) |
install.sh | One-command install script |
README.md | Quick start guide |
Run the script and answer all four questions:
y → ✅ "All passed, proceed."n → ❌ "Blocked by: [reason]. Fix before proceeding."