nuke

nuke is a skill for Claude Code, Codex from samibs/skillfoundry. It costs 6 tokens per session (2,775 once invoked), scanned A, original, MIT.

A careful tool for destroying project files or other project state, with an inventory, preview, backup check, confirmation, logging, and final verification. It treats deletion as potentially irreversible.

In plain words
What is it for?
It helps safely remove project state after checking its exact scope, showing what will be affected, confirming the operation, and verifying the resulting clean state.
Why use it?
It reduces the chance of deleting the wrong files or losing uncommitted work. It also makes the intended destruction visible and records what happened.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions CLAUDE.md; installed under .agents/ (shared by several agents).

Good fit It helps safely remove project state after checking its exact scope, showing what will be affected, confirming the operation, and verifying the resulting clean state.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/samibs/skillfoundry/nuke
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add samibs/skillfoundry --skill nuke
Clone the repo
git clone --depth 1 https://github.com/samibs/skillfoundry

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for nuke

README.md
[![agentmods](https://agentmods.dev/badge/skills/samibs/skillfoundry/nuke/github.svg)](https://agentmods.dev/skills/samibs/skillfoundry/nuke)
Your own site
<a href="https://agentmods.dev/skills/samibs/skillfoundry/nuke"><img src="https://agentmods.dev/badge/skills/samibs/skillfoundry/nuke/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for nuke

Your own site · 80×15
<a href="https://agentmods.dev/skills/samibs/skillfoundry/nuke"><img src="https://agentmods.dev/badge/skills/samibs/skillfoundry/nuke.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 6 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,775 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 11 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Privilege Escalation · line 139
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 208
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 228
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Memory Poisoning · line 172
    Skill manipulates agent memory, state, or stored context. Memory corruption can alter personality, override safety rules, or cause unpredictable behavior.
    Fix: Protect agent memory and state from modification by untrusted content. Use read-only memory for critical instructions and validate all state changes.
  • high Anti-Refusal · line 253
    Skill instructs the agent to omit warnings, disclaimers, or ethical commentary. Stripping safety caveats hides risk from the user and is a common jailbreak preamble.
    Fix: Remove instructions that suppress warnings, disclaimers, or ethical commentary. Let the agent surface safety-relevant caveats to the user.
  • high Memory Poisoning · line 299
    Skill manipulates agent memory, state, or stored context. Memory corruption can alter personality, override safety rules, or cause unpredictable behavior.
    Fix: Protect agent memory and state from modification by untrusted content. Use read-only memory for critical instructions and validate all state changes.
  • medium Excessive Agency · line 29
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
  • medium Excessive Agency · line 31
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
  • medium Excessive Agency · line 42
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
  • medium Excessive Agency · line 158
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
  • medium Excessive Agency · line 255
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00006 $0.02775
Opus 5.5 $0.00002 $0.01110
Sonnet 5.5 $0.00001 $0.00555
Haiku 4.5 $0.00001 $0.00278

Measured 3mo ago against content hash 60d0b1db8fbe, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

nuke scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/nuke/SKILL.md · 334 lines

How it starts

The opening of the file, as written. The whole thing — 334 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Nuke Commander

You are the Nuke Commander: a disciplined destructive operations agent that ensures safe, informed, and recoverable destruction of project state. You never destroy blindly. Every nuke is inventoried, previewed, backed up (when possible), confirmed, executed with logging, and verified.

Persona: Cold, methodical, precise. You treat destruction as seriously as construction. Reflection Protocol: See agents/_reflection-protocol.md for reflection requirements.


NUKE PHILOSOPHY

CRITICAL: Destruction is irreversible. Every nuke operation follows the full 5-phase protocol. No shortcuts. No silent deletions. No "oops."

You ALWAYS:

  • Show exactly what will be destroyed before destroying it
  • Verify backups exist or warn when they do not
  • Require explicit typed confirmation for destructive operations
  • Log every destruction action
  • Verify clean state after destruction

You NEVER:

  • Destroy without showing a preview first
  • Skip confirmation for destructive operations
  • Delete files outside the project scope
  • Nuke without checking for uncommitted work
  • Assume the user knows what will be affected

USAGE

/nuke                     Full nuke: rollback + clean state (5-phase protocol)
/nuke --rollback-only     Rollback file changes only, keep execution state
/nuke --clean-only        Clear execution state only, keep file changes
/nuke --dry-run           Preview what would be destroyed (read-only, no confirmation needed)
/nuke --scope=[target]    Nuke specific scope: stories, state, swarm, all

NUKE PROCESS

PHASE 1: PRE-NUKE ASSESSMENT

Before any destruction, build a complete inventory of what exists and what will be affected.

1. Scan current state
   - Git status: uncommitted changes, staged files, untracked files
   - Execution state: .claude/state.json, dispatch state, swarm state
   - Generated artifacts: stories in docs/stories/, scratchpads, logs
   - Active processes: running swarm workers, background tasks
2. Build destruction inventory
   - List every file/directory that will be modified or deleted
   - Categorize: [WILL DELETE] [WILL MODIFY] [WILL RESET] [UNAFFECTED]
   - Calculate total impact: file count, line count, data volume
3. Identify risks
   - Uncommitted work that would be lost
   - Generated code that has no backup
   - State that cannot be recreated
   - Dependencies on destroyed artifacts

Read the full file on GitHub · 334 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 334 lines · 6 tokens per session scan A 60d0b1db8fbe

Subscribe to this mod's changes

nuke is a skill published in the GitHub repository samibs/skillfoundry (13 stars, last pushed 1mo ago), licensed MIT. It adds 6 tokens to every session and 2,775 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

nuke compared with skills from other repositories

nuke next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
nukesamibs/skillfoundrySkill131mo agoMITA6Claude Code, Codex
memorix-troubleshootingAVIDS2/memorixSkill9583d agoApache-2.0A36Claude Code
ring:migrating-to-lib-observabilityLerianStudio/ringSkill2181mo agoApache-2.0A104Cursor
ring:planning-codebase-simplificationLerianStudio/ringSkill2181mo agoApache-2.0A105Cursor
ring:planning-large-featuresLerianStudio/ringSkill2181mo agoApache-2.0A89Cursor
ring:generating-llms-txtLerianStudio/ringSkill2181mo agoApache-2.0A109Cursor
ring:checking-frontend-qualityLerianStudio/ringSkill2181mo agoApache-2.0A102Cursor