What is claude-code-cockpit?
claude-code-cockpit is a Claude Code mod by m-esm that cockpit pane and band for Claude Code: interview clarity meter with a rule enforcer and auto panel, AI quota, live hooks, and background subagent runs. It is listed under Cost & usage and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | m-esm |
| Repository | m-esm/claude-code-cockpit |
| Popularity | no public popularity data yet |
| Category | Cost & usage |
| Security | High risk (29/100) |
| Rank | #3,876 of 5,272 Claude Code mods; #726 in Cost & usage |
| License | MIT |
| Last commit | 2026-10-07 |
| Hooks | 10 events |
| Sees | AskUserQuestion calls, classic hooks, mcp__claude-code-cockpit__meter calls, mcp__claude-code-cockpit__status calls |
| Draws on | AbovePrompt, Pane |
Is claude-code-cockpit safe to install?
claude-code-cockpit scores 29/100 on the MCPMods security check: High risk. Things to review: starts processes outside the sandbox; writes files or config; reads environment variables; validator reported problems. It passed 4 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 processes outside the sandbox | Review |
| Writes files or config | Review |
| Reads environment variables | Review |
| Only sees the events it hooks | Pass |
| Doesn't drive Claude | Pass |
| Validator reported problems | Flag |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.clock.after | |
$.clock.every | |
$.clock.now | |
$.command.register | |
$.env.get | reads env vars |
$.fs.exists | reads files |
$.fs.list | reads files |
$.fs.read | reads files |
$.fs.stat | reads files |
$.fs.write | writes files |
$.process.run | runs processes |
$.process.spawn | |
$.prompt.fill | writes the prompt box |
$.session.messages | reads the transcript |
$.state.get | |
$.state.set | |
$.store.get | keeps its own state |
$.store.set | keeps its own state |
$.tool.register | drives Claude |
$.ui.open | draws interface |
$.ui.panes | draws interface |
$.ui.resolve | draws interface |
$.ui.toast | draws interface |
How do I install claude-code-cockpit?
- 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/m-esm/claude-code-cockpit claude plugin validate ./claude-code-cockpit/.
- Install it. Run this in your terminal, then /reload-plugins in an open session.
git clone https://github.com/m-esm/claude-code-cockpit && claude --plugin-dir ./claude-code-cockpit/.
Or ask Claude to set it up
Paste this into Claude Code and it installs claude-code-cockpit for you:
Install the "claude-code-cockpit" Claude Code mod from https://github.com/m-esm/claude-code-cockpit. Run claude plugin validate on it first and show me what it can access before you enable it.