cockpit

cockpit is a Claude Code mod by drkokorev that agent cockpit for Claude Code: live context, limits, cost, tools, files, tests and a guard for risky commands.

Updated 2026-10-09

What is cockpit?

cockpit is a Claude Code mod by drkokorev that agent cockpit for Claude Code: live context, limits, cost, tools, files, tests and a guard for risky commands. It is listed under Security and has 6 GitHub stars.

TypeClaude code mod
Authordrkokorev
Repositorydrkokorev/cockpit-for-claude
Popularity6 GitHub stars
CategorySecurity
SecurityReview before installing (76/100)
Rank#645 of 5,272 Claude Code mods; #87 in Security
LicenseMIT
Last commit2026-10-09
Hooks10 events
Seescompaction, every tool call
Draws onAbovePrompt, Pane

Is cockpit safe to install?

cockpit scores 76/100 on the MCPMods security check: Review before installing. Things to review: starts processes outside the sandbox; writes files or config. It passed 6 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 processes outside the sandboxReview
Writes files or configReview
Doesn't read environment variablesPass
Only sees the events it hooksPass
Doesn't drive ClaudePass
Passes claude plugin validatePass
Has an open-source licensePass

API calls in its code

CallWhat it means
$.agent.list
$.clock.every
$.clock.now
$.command.register
$.command.rundrives Claude
$.fs.readreads files
$.fs.writewrites files
$.process.runruns processes
$.session.cwd
$.session.model
$.session.usage
$.state.get
$.state.set
$.store.deletekeeps its own state
$.store.getkeeps its own state
$.store.setkeeps its own state
$.ui.askdraws interface
$.ui.invalidatedraws interface
$.ui.logdraws interface
$.ui.opendraws interface
$.ui.resolvedraws interface
$.ui.statusdraws interface
$.ui.toastdraws interface

How do I install cockpit?

  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/drkokorev/cockpit-for-claude
    claude plugin validate ./cockpit-for-claude/plugins/cockpit
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add drkokorev/cockpit-for-claude && claude plugin install cockpit@cockpit-for-claude

Or ask Claude to set it up

Paste this into Claude Code and it installs cockpit for you:

Install the "cockpit" Claude Code mod from https://github.com/drkokorev/cockpit-for-claude/tree/main/plugins/cockpit. Run claude plugin validate on it first and show me what it can access before you enable it.