← ClaudeAtlas

ops-preflightlisted

Codex deep ops-safety review of a proposed Bash command BEFORE it executes. Invoke MANUALLY (via /ops-preflight) when the ops-risk-triage hook has emitted an `ask` for an infra_mutation, external_read, destructive, or unknown command and you want a second opinion on blast radius / rollback / required post-checks before approving. NOT for code review (use go-code-review). NOT auto-invoked.
prilive-com/go-tdd-pack · ★ 0 · Code & Development · score 76
Install: claude install-skill prilive-com/go-tdd-pack
# Ops Preflight — Codex deep review of a risky shell command ## When to use this skill The ops-risk-triage hook (`hooks/ops-risk-triage.sh`) classifies every Bash command via a fast Haiku classifier. When the classifier returns an escalation-worthy verdict, the hook emits `permissionDecision:"ask"` with the classifier's reason text. At that point you have three paths: 1. **Approve** — the operator is sure the command is safe; proceed. 2. **Deny** — the operator decides not to run it; rewrite or abort. 3. **Ops preflight (this skill)** — get a deep Codex review of blast radius, rollback, required post-checks, ownership/UID pitfalls, etc. BEFORE approving. Use this skill when the ask was for a `local_mutation`, `infra_mutation`, `external_read`, `destructive`, or `unknown` verdict AND you want a deeper opinion. Skip for trivial cases. ## What this skill does 1. Reads the most recent classifier reason from `.tdd/ops-triage/pending-reason.txt` (the §9 fallback file written on every ask/deny). Use that to identify which command triggered the ask. 2. Builds a structured context object describing the command: - the command itself (the EXACT string the operator was about to run) - service / target (the service or target system being touched) - environment (dev / staging / prod / prod-like / unknown) - relevant compose / k8s / terraform files in the repo - recent operation tags (auth / container_uid / config — if known) - current container / serv