From superomni
Safety guardrails that activate before high-risk operations. Prevents destructive, irreversible, or security-sensitive changes without explicit confirmation. Triggers: destructive operations, production configs, database migrations, security-sensitive files, "be careful", "careful mode".
How this skill is triggered — by the user, by Claude, or both
Slash command
/superomni:carefulWhen to use
Activate before destructive or irreversible operations: delete, overwrite, force-push, drop tables, rm -rf. Complements TACIT-DENSE (which is knowledge-focused, not blast-radius-focused).
This skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
<!-- Inlined into every SKILL.md via {{PREAMBLE_CORE}}. Keep ≤30 lines. -->
Status protocol — end every session with one of: DONE (evidence provided) · DONE_WITH_CONCERNS (list each) · BLOCKED (state what blocks you) · NEEDS_CONTEXT (state what you need).
Auto-advance — pipeline: THINK → PLAN → REVIEW → BUILD → VERIFY → RELEASE. Only human gate is spec approval at THINK. On DONE at other stages, print [STAGE] DONE -> advancing to [NEXT-STAGE] and invoke the next skill. On any non-DONE status at any stage, STOP.
Output directory — all artifacts go in docs/superomni/<kind>/<kind>-[branch]-[session]-[date].md. See CLAUDE.md for the full directory map.
TACIT-DENSE — before high-tacit decisions, classify D1 (domain expertise) · D2 (user-facing UX) · D3 (team culture) · D4 (novel pattern). On hit, output TACIT-DENSE [D#]: [question] — My default: [recommendation]. See reference for actions.
Anti-sycophancy — take a position on every significant question. Name flaws directly. No filler ("that's interesting", "you might consider", "that could work").
Telemetry (local only) — at session end, log bin/analytics-log. Nothing leaves the machine.
See preamble-ref.md for detailed protocols.
Goal: Prevent costly mistakes by enforcing risk assessment, blast radius calculation, and user confirmation before any high-risk operation.
ALWAYS CONFIRM BEFORE DESTRUCTIVE OPERATIONS.
Never execute a destructive, irreversible, or security-sensitive operation without explicit user approval. "I assumed it was fine" is never an acceptable justification for data loss or a security incident.
Auto-invocation: the writing-plans skill's Pre-Destructive Gate requires authors to invoke careful immediately before any plan step containing destructive operations. See writing-plans/SKILL.md § Pre-Destructive Gate for the pattern and the v0.6.0 worked example.
This skill activates automatically when any of the following are detected:
rm -rf, DROP TABLE, DELETE FROM without WHEREgit push --force, git reset --hard, branch deletion*prod*, *production*, *.env.prod*Dockerfile, docker-compose.yml, k8s/*.yaml).github/workflows/*, Jenkinsfile, .gitlab-ci.yml)*.tf, *.tfvars, cloudformation*).env files, certificate files, key storesALTER TABLE, ADD COLUMN, DROP COLUMN)When a trigger condition is detected, STOP and assess:
⚠️ HIGH-RISK OPERATION DETECTED
─────────────────────────────────
Operation: [what you're about to do]
Trigger: [which trigger condition matched]
Files: [files that will be affected]
Answer these questions:
Determine how much of the system this change affects.
# For code changes: who depends on this?
grep -rl "$(basename <changed-file> | sed 's/\..*//')" . \
--include="*.js" --include="*.ts" --include="*.py" --include="*.go" \
2>/dev/null | grep -v "node_modules\|.git" | wc -l
# For config changes: what environments are affected?
grep -l "<config-key>" . -r --include="*.env*" --include="*.yaml" --include="*.json" \
2>/dev/null | head -10
# For database changes: how many rows affected?
# (estimate or query with EXPLAIN before executing)
BLAST RADIUS
─────────────────────────────────
Scope: [LOCAL/MODULE/SERVICE/GLOBAL]
Files affected: [N direct, N indirect]
Users affected: [none/some/all]
Environments: [dev/staging/production]
Estimated impact: [LOW/MEDIUM/HIGH/CRITICAL]
─────────────────────────────────
| Level | Meaning | Approval needed |
|---|---|---|
| LOCAL | Only the changed file is affected | Proceed with caution |
| MODULE | Other files in the same module are affected | Review before proceeding |
| SERVICE | Other services or APIs could be affected | User confirmation required |
| GLOBAL | Production, all users, or infrastructure affected | Explicit user approval + rollback plan |
Before proceeding, confirm the operation can be undone.
| Question | Answer |
|---|---|
Can this be reverted with git revert? | [yes/no] |
| Is there a database backup? | [yes/no/N/A] |
| Can the deployment be rolled back? | [yes/no/N/A] |
| Is there a feature flag to disable this? | [yes/no/N/A] |
| What is the recovery time if this goes wrong? | [minutes/hours/days/never] |
REVERSIBILITY
─────────────────────────────────
Reversible: [YES/PARTIAL/NO]
Rollback method: [git revert / backup restore / feature flag / manual]
Recovery time: [estimate]
Data loss risk: [NONE/POSSIBLE/CERTAIN]
─────────────────────────────────
If Reversible = NO and Blast Radius = SERVICE or GLOBAL: → STOP. Do not proceed without explicit user approval AND a mitigation plan.
Present the risk summary and wait for explicit approval.
╔══════════════════════════════════════╗
║ ⚠️ CONFIRMATION REQUIRED ║
╠══════════════════════════════════════╣
║ ║
║ Operation: [description] ║
║ Blast radius: [level] ║
║ Reversible: [yes/partial/no] ║
║ Risk: [LOW/MEDIUM/HIGH/CRIT] ║
║ ║
║ Worst case: [what could happen] ║
║ Mitigation: [how to recover] ║
║ ║
║ Proceed? (yes/no) ║
║ ║
╚══════════════════════════════════════╝
Do not proceed until the user explicitly confirms.
If the user confirms:
If the user declines:
When in doubt, apply these defaults:
| Situation | Safe default |
|---|---|
| Delete file vs. rename/move | Rename to .bak first |
| Force push vs. regular push | Regular push (fail if rejected) |
| Drop column vs. deprecate | Deprecate first, drop later |
| Edit production config | Edit staging first, verify, then production |
| Run migration | Run on dev/staging first, verify, then production |
| Overwrite file | Create backup copy first |
CAREFUL ASSESSMENT
════════════════════════════════════════
Operation: [what was requested]
Trigger: [what activated this skill]
Blast radius: [LOCAL/MODULE/SERVICE/GLOBAL]
Reversibility: [YES/PARTIAL/NO]
Risk level: [LOW/MEDIUM/HIGH/CRITICAL]
User confirmed: [yes/no/not yet]
Outcome: [executed successfully / blocked / alternative proposed]
Status: DONE | DONE_WITH_CONCERNS | BLOCKED | NEEDS_CONTEXT
════════════════════════════════════════
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub wilder1222/superomni --plugin superomni