ClaudeCodeMod

All shelves / Mods / Safety

cockpit

By tsergeytovarov

cockpit is a Claude Code safety mod by tsergeytovarov.

Draws context weather and the plan limits above the prompt, and can stop a dangerous command.

DrawsHolds a command

Install

The marketplace name is popovs.

In your shell
claude plugin marketplace add tsergeytovarov/ai-settings
claude plugin install cockpit@popovs
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.2.0
License
MIT
Repo stars
15
Last change
2026-10-12

What it can reach

  • Draws in the session
  • Reads usage or context figures
  • Holds a command
  • Sees tool calls
  • Runs a command when you press

It starts in a new session. The band works in the desktop Code tab and in the terminal. Context weather runs from a clear sky to a hurricane as the window fills, with a progress bar and a percent. The 5-hour and weekly limits are two small Claudes in rings. The tooltip has the percent and the time until reset. The Compact button runs an ordinary /compact. If a reply is in progress, compact waits until the session is free. Before a dangerous call it stops the call, plays a short siren, and asks you to run it, allow that kind for the rest of the session, or forbid it. A red card above the input says what will happen, why, and what it touches. A recursive delete lists each path with a file count and a size. It catches rm -rf, git push --force, reset --hard, clean -f, discarding edits, branch -D, curl piped to bash, sudo, kubectl or yc delete, DROP, TRUNCATE, and DELETE without WHERE, plus MCP deletes, bulk edits, destructive SQL, Mattermost posts, mail, opening Drive access, and artifact delete. In an automatic task nobody can answer: a destructive call is forbidden at once, and posts and mail go through. The band and the airbag are copies of the neighboring plugins context-weather and airbag. This plugin's own pieces are the Compact button in hooks/compact.tsx and hooks/register.tsx. The README names sounds/alarm.wav and does not name a player. The README is in Russian. The README does not say anything leaves the machine.

The install name is cockpit. This page adds the author's name to the slug, so it is not seo-cockpit. The repository, ai-settings, also holds the airbag and context-weather plugins this one copies. The marketplace name is popovs.

Demo

The cockpit section on the author's GitHub page
Screenshot of the author's GitHub page.

Files

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

Facts

Author
tsergeytovarov
Category
Safety
Marketplace
popovs
Repo
tsergeytovarov/ai-settings
Folder
plugins/cockpit
Version
0.2.0
License
MIT
Repo stars
15
Last change
2026-10-12
Language
TypeScript
Files
19

Other mods in Safety

taxi-speedcamdevbrother2024Holds a commandStops a risky shell command and asks before it runs, shown as a taxi speed camera.guardrails-mdberget-aiHolds a commandSends each Bash command to a Berget AI scoring model and blocks it when the score says it destroys data, leaks a secret, or breaks your GUARDRAILS.md.pdpa-thaiBoom-VittHolds a commandRefuses a tool call that repeats a placeholder for Thai or other personal data it redacted before sending, and masks that data on screen.subagent-fenceerikdarlingdataHolds a commandRefuses a force-push, a push to a protected branch, a git command that skips hooks, and killing a process by name.launch-codesOneWave-AIHolds a commandHolds a dangerous shell command until you type a one-time code and press LAUNCH, and denies it otherwise.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.
All 73 in Safety