一键导入
safety-modes
Interactive safety workflows for elevated-risk work — careful, freeze-scope, investigate-first, and explicit action-risk/result tracking
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Interactive safety workflows for elevated-risk work — careful, freeze-scope, investigate-first, and explicit action-risk/result tracking
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Time-boxed investigation of a technical question, feasibility study, or proof-of-concept — produces a findings artifact with a recommendation and optional backlog linkage
Time-boxed investigation of a technical question, feasibility study, or proof-of-concept — produces a findings artifact with a recommendation and optional backlog linkage
Usage: Build feature {task-id} with harness {harness-cmd}. Implements a requested feature by continuously looping a fast worker agent against a strict, passing-import but failing test harness until success is achieved.
Review and maintain institutional learnings in docs/compound/ so the compound library stays accurate, deduplicated, and evidence-backed
Risk-triggered plan reinforcement that deepens verification, rollback, and guardrail detail before plan review
Manages the full PR lifecycle: creation, review comment handling, CI remediation, and user-approved merge
| name | safety-modes |
| description | Interactive safety workflows for elevated-risk work — careful, freeze-scope, investigate-first, and explicit action-risk/result tracking |
Enter an explicit operating mode before performing risky work. This skill slows the agent down on purpose: it surfaces risk, narrows scope, and makes the next action legible to the operator.
Invoke when work has elevated blast radius, uncertain root cause, production impact, or destructive potential.
Typical triggers:
mode: (Required) One of careful, freeze-scope, or investigate-first.scope: (Optional) Directory, subsystem, or change boundary for freeze-scope mode.context: (Optional) Description of the risky task or incident.docs/closure/{YYYY-MM-DD}-{slug}-safety-check.mdWhen the strict-safety capability pack is installed, also follow
.github/instructions/strict-safety.instructions.md: classify risky work as
explicit ProposedAction entries with ActionRisk and ActionResult instead
of leaving those details implicit.
Identify why elevated safety is required:
For every risky or boundary-sensitive step, capture a ProposedAction with:
Assign the most conservative ActionRisk:
lowmoderatehighdestructivecarefulBefore changing anything:
ActionResult as planned until approval or execution changes its statefreeze-scopeBefore changing anything:
scope)concurrency.instructions.md).
If lock acquisition fails on a boundary file:
ActionRisk: high (lock contention on boundary file)ProposedAction whose targets fall outside the declared boundaryinvestigate-firstBefore changing anything:
ActionResult: planned or blocked until the evidence supports themThe checklist MUST include:
ProposedAction entries with ActionRiskActionResult state for each risky actionWhen risky actions are approved, attempted, or rejected, update their
ActionResult:
approved before execution when approval is grantedblocked when tooling, information, or approval is missingapplied when the action succeedsrolled-back when the action had to be reversed or mitigatedabandoned when the action is intentionally droppedWhen the strict-safety capability pack is enabled, the safety checklist is a
decision gate, not advisory:
ActionRisk: destructive MUST NOT proceed without
explicit operator approval recorded as ActionResult: approved. Proceeding
without approval is a policy violation, not a judgment call.ActionRisk: high SHOULD request operator approval
before proceeding. If approval is unavailable, record the decision rationale.destructive action proceeds without ActionResult: approved, broadcast
a P-005 violation telemetry event and halt.When strict-safety is not enabled, Constitutional Principle VII
(Destructive Command Approval — NON-NEGOTIABLE) still applies. Agents MUST NOT
execute ActionRisk: destructive work without explicit operator approval, even
when the safety checklist is advisory. To comply:
ActionRisk: destructive in the checklistActionResult: blocked until operator approval is obtainedDestructive action requires approval: {action_summary}. Approve? [yes/no]ProposedAction / ActionRisk / ActionResultThis skill operates at Tier 2 (Standard) — risk classification and checklist production.
Generated by autoharness | Template: safety-modes/SKILL.md.tmpl