ClaudeMods
☰
ZH-CN
● — 人在线 · 浏览 — 次
赞助提交作品
GitHub 仓库 · 发布者 OneWave-AI

launch-codes

为危险命令增加一次性确认码,帮助避免误执行。

OneWave-AI@OneWave-AI

OneWave-AI/claude-code-mods/tree/main/launch-codes

图片1
已翻译

关于这个 mod

为危险命令增加一次性确认码,帮助避免误执行。

此作品由社区作者维护,具体功能、版本要求与配置方法请查看下方原始 README。本站提供权限扫描结果;安装前请检查源码及外部依赖。

安装

请先查看作者 README 确认 marketplace 和插件名称;命令可能随仓库结构改变。

claude plugin marketplace add OneWave-AI/claude-code-mods
claude plugin install launch-codes@claude-code-mods
原文 / README

launch-codes

Dangerous Bash commands need launch codes: red alert pane, siren, a code to arm and a LAUNCH to fire.

launch-codes

Hooks tool.call on Bash and classifies the command before it runs: risky rm -rf, git push --force, git reset --hard, DROP/TRUNCATE through a live SQL client, supabase db reset, vercel --prod, chmod -R 777, and downloaded scripts piped into a shell. A match opens a red-alert pane with a siren and a one-time code. Type the code to arm, press LAUNCH to fire. Anything else is denied and Claude is told why. /launch-codes test <command> shows the verdict without running anything.

It is strict. It blocked one of our own cleanup commands while we were putting this repo together, which is the point.

Install

In a Claude Code session (2.1.287 or later):

/plugin marketplace add OneWave-AI/claude-code-mods
/plugin install launch-codes@claude-code-mods

Or load this folder for one session: claude --plugin-dir ./launch-codes

What it reaches

| Mod | Network | Runs processes | Files | Calls a model | Sends data anywhere | | --- | --- | --- | --- | --- | --- | | launch-codes | No | No | No | No | No |

Run claude plugin validate ./launch-codes to list every event it hooks and every call it makes. See the repository README for the full security notes.

Part of claude-code-mods by OneWave AI. MIT licensed.

获取徽章

这是你的项目吗?把这个徽章放进 README 或网站,链接回本页。

Featured on ClaudeMods
尺寸
配色
Markdown
HTML

更多类似作品