ClaudeCodeMod

All shelves / Mods / Safety

launch-codes

By OneWave-AI

launch-codes is a Claude Code safety mod by OneWave-AI.

Holds a dangerous shell command until you type a one-time code and press LAUNCH, and denies it otherwise.

DrawsHolds a command

Install

The marketplace name is claude-code-mods.

In Claude Code
/plugin marketplace add OneWave-AI/claude-code-mods
/plugin install launch-codes@claude-code-mods
Open the repo

It runs inside the Claude Code process. The side panel is only what the author's README names. Read the repo before you install, or run claude plugin validate on the plugin folder.

Version
0.1.0
License
MIT
Repo stars
16
Last change
2026-10-02

What it can reach

  • Draws in the session
  • Holds a command

Needs Claude Code 2.1.287 or later. It checks Bash only: rm -rf, a force push, a hard reset, DROP or TRUNCATE through a live SQL client, supabase db reset, vercel --prod, chmod -R 777, and a downloaded script piped into a shell. A match opens a red-alert pane with a siren and a one-time code. Type the code to arm, then press LAUNCH. Anything else is denied and Claude is told why. launch-codes is a speed bump, not a security boundary. It will not stop a determined agent that writes a script file and runs it another way. Keep your normal permissions and sandboxing on. /launch-codes test shows the verdict and runs nothing. It makes no network call, runs no process, and calls no model.

The install name is launch-codes. This page adds the author's name. The marketplace name is claude-code-mods, the same string hamzafer, arasovic, and karanb192 use. The asked command is why this page files it under safety. blast-radius holds a shell command such as rm -rf, a force push, a hard reset, or a migration, shows what it would touch, then asks you to proceed or cancel. bash-guard holds every Bash call, blocks rm -rf on a home or system directory, and asks before a force-push, a hard reset, or a pipe into sh. This one asks for a one-time code and then LAUNCH. If the check itself fails, the command is denied.

Demo

A sample from /launch-codes demo: a dialog that asks for the code under Other, with ABORT and ABORT and find a safer way, and a red-alert pane titled LAUNCH CODES REQUIRED, marked DEMO, code expires in 26s, for rm -rf on a backup folder and a force push, with the code P 3 Y 4.
From the author's repo.

What it hooks into

  • session.startWhen a session starts
  • tool.callAround a tool call, where it can hold oneBash
  • command.runWhen you run its slash command/launch-codes
  • ui.renderDraws into the sessionPane

Read from the on() calls in its hook modules. Open its source under Files to check what each one does.

Slash commands 1

  • /launch-codesLaunch codes for dangerous commands: /launch-codes [demo|test <command>]

Files

The author's README and source, 4 files. They load when you open them.

Facts

Author
OneWave-AI
Category
Safety
Marketplace
claude-code-mods
Repo
OneWave-AI/claude-code-mods
Folder
launch-codes
Version
0.1.0
License
MIT
Repo stars
16
Last change
2026-10-02
Language
TypeScript
Files
10

Other mods in Safety

dogmaMarcel-BichHolds a commandRuns, asks about, or blocks git commands and deletes by your DOGMA-PERMISSIONS.md, always denies deleting a protected path, and draws the restricting rules.guard-packatretyak1985Holds a commandHolds file tools and shell moves that leave the project's roots, asks before a production deploy, and redacts secrets in a tool result before Claude reads it.supabase-guardSzotaszHolds a commandAsks before a Supabase write aimed at another project, or a destructive call, and stops the call when you refuse.secret-panebengousHolds a commandOpens a masked box beside the transcript when Claude needs a secret, gives Claude a placeholder, and puts the real value back only inside a Bash command.ultramodmertkayacsHolds a commandPacks ten mods: limits and context above the prompt, a guard with undo for rm -rf and git reset --hard, .env reads refused, and a receipt under each answer.envdavekissHolds a commandOpens a card when Claude needs a key, so you paste the value into a pane Claude can't read, and holds Claude's reads of .env files and commands that print them.model-allowlisterikdarlingdataHolds a commandRefuses a subagent spawn that pins a model id instead of a tier alias such as opus or sonnet, and holds spawns to model rules you write per agent type.ruflo-browserruvnetHolds a commandRefuses ruflo browser opens of file, javascript, data, or chrome URLs, credentialed or cloud-metadata hosts, unsafe Chrome flags, and cookie-reading scripts.ruflo-intelligenceruvnetHolds a commandRefuses a key, token, or password in what ruflo learns from, an email address in a public transfer, and a reset of ruflo's intelligence without confirm.ruflo-jujutsuruvnetHolds a commandRefuses a pull request ruflo creates or reviews when its title or body holds a key, token, or password, and a merge or close that does not carry confirm.ruflo-neural-traderruvnetHolds a commandRefuses a live order from ruflo's neural-trader tools unless it is confirmed, paper, or a dry run, and any trader call or memory write that holds a broker key.ruflo-loop-workersruvnetHolds a commandRefuses a ruflo background worker dispatch whose context holds a key, token, or password, and any dispatch past a per-session cap, which catches a stuck loop.
All 73 in Safety