What is panic-button?
panic-button is a Claude Code mod by petrovyuri that тревожная кнопка: перед опасной командой (rm -rf, git push --force, DROP TABLE, .env) Haiku коротко объясняет, что сломается, и спрашивает «Разрешить / Запретить». It is listed under Security and has 1 GitHub stars.
| Type | Claude code mod |
|---|---|
| Author | petrovyuri |
| Repository | petrovyuri/claude-code-mods |
| Popularity | 1 GitHub stars |
| Category | Security |
| Security | Low risk (96/100) |
| Rank | #4,124 of 9,397 Claude Code mods; #495 in Security |
| License | MIT |
| Last commit | 2026-11-08 |
| Hooks | 2 events |
| Sees | every tool call |
| Draws on | AskUserQuestion |
Is panic-button safe to install?
panic-button scores 96/100 on the MCPMods security check: Low risk. No checks raised a concern. It passed 7 of 8 checks.
Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts no processes | Pass |
| Writes no files or config | Pass |
| Doesn't read environment variables | Pass |
| Only sees the events it hooks | Pass |
| Drives Claude (model calls, prompts) | Note |
| Passes claude plugin validate | Pass |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.model.complete | drives Claude |
$.model.fork | drives Claude |
$.ui.ask | draws interface |
$.ui.log | draws interface |
$.ui.notify | draws interface |
How do I install panic-button?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/petrovyuri/claude-code-mods claude plugin validate ./claude-code-mods/plugins/panic-button
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add petrovyuri/claude-code-mods && claude plugin install panic-button@petrovyuri-mods
Or ask Claude to set it up
Paste this into Claude Code and it installs panic-button for you:
Install the "panic-button" Claude Code mod from https://github.com/petrovyuri/claude-code-mods/tree/main/plugins/panic-button. Run claude plugin validate on it first and show me what it can access before you enable it.
More from petrovyuri/claude-code-mods
This repository has 4 Claude Code mods on MCPMods.
- docker-manager: Панель Docker по образцу плагина VS Code: compose-проекты и контейнеры со стартом, остановкой, логами и удалением, образ (Low risk)
- limits-cache: Полоса над полем ввода: лимиты аккаунта, обратный отсчёт кеша промпта и кнопки ↻ и «Авто», которые держат кеш тёплым скр (Review before installing)
- next-step: Кнопка «Что дальше?» под последним ответом: дешёвая модель читает сессию, пишет, на чём остановились и что дальше, и пре (Low risk)