Home / Claude Code mods / Security / panic-button

panic-button

panic-button is a Claude Code mod by petrovyuri that тревожная кнопка: перед опасной командой (rm -rf, git push --force, DROP TABLE, .env) Haiku коротко объясняет, что сломается, и спрашивает «Разрешить / Запретить».

Updated 2026-11-08

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.

TypeClaude code mod
Authorpetrovyuri
Repositorypetrovyuri/claude-code-mods
Popularity1 GitHub stars
CategorySecurity
SecurityLow risk (96/100)
Rank#4,124 of 9,397 Claude Code mods; #495 in Security
LicenseMIT
Last commit2026-11-08
Hooks2 events
Seesevery tool call
Draws onAskUserQuestion

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.

CheckResult
No network accessPass
Starts no processesPass
Writes no files or configPass
Doesn't read environment variablesPass
Only sees the events it hooksPass
Drives Claude (model calls, prompts)Note
Passes claude plugin validatePass
Has an open-source licensePass

API calls in its code

CallWhat it means
$.model.completedrives Claude
$.model.forkdrives Claude
$.ui.askdraws interface
$.ui.logdraws interface
$.ui.notifydraws interface

How do I install panic-button?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. 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
  3. 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)