# Execution Safety Gate

> Safety gate for task execution. Use before running commands, editing files, deploying, deleting, or automating anything that may be irreversible, risky, or costly. Enforce reversible-first actions, backups/snapshots when needed, and explicit risk callouts.

- Skill: `alubiama/execution-safety-gate` (Agent Skill)
- Install (CLI): `npx skillmds@latest add alubiama/execution-safety-gate`
- Raw SKILL.md: https://api.skillmd.com/api/skills/alubiama/execution-safety-gate/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Productivity
- Author: Alubiama (https://skillmd.com/u/alubiama)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/alubiama/execution-safety-gate

---


# Execution Safety Gate

## Goal

Prevent avoidable breakage. Prefer safe, reversible, and testable execution steps.

## Gate Checklist

1. Classify risk: `low`, `medium`, `high`.
2. Check reversibility of the planned action.
3. Require backup/snapshot for medium/high risk.
4. Prefer non-destructive command variants first.
5. Define rollback path before execution.
6. Execute smallest safe step, then verify.

## Stop Conditions

Block execution when:

- Action is destructive and no rollback exists.
- Production-impacting change has no verification step.
- Sensitive data may be exposed to untrusted systems.

## Output Contract

Always output:

1. `risk_level`
2. `prechecks`
3. `rollback_plan`
4. `safe_next_step`

## Guardrails

- Do not skip risk checks for speed.
- Never run destructive commands without explicit need and rollback.

