What is cockpit?
cockpit is a Claude Code mod by bharath-gp that live session dashboard in one side pane (/cockpit). Mods: agents-progress (/agents-info), cache-keeper (/keepwarm, /cache-tax), context-health (/ctx-handoff, /autohandoff), token-meter,. It is listed under Cost & usage and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | bharath-gp |
| Repository | bharath-gp/ai-harness |
| Popularity | no public popularity data yet |
| Category | Cost & usage |
| Security | High risk (56/100) |
| Rank | #5,143 of 9,397 Claude Code mods; #907 in Cost & usage |
| License | MIT |
| Last commit | 2026-11-27 |
| Hooks | 19 events |
| Sees | classic hooks, compaction, every prompt, every tool call, subagent spawns |
| Draws on | Pane, AbovePrompt |
Is cockpit safe to install?
cockpit scores 56/100 on the MCPMods security check: High risk. Things to review: starts processes outside the sandbox; reads environment variables; watches every prompt or event. It passed 3 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 no files or config | Pass |
| Reads environment variables | Review |
| Watches every prompt or event | Review |
| Drives Claude (model calls, prompts) | Note |
| Validator reported problems | Note |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.clock.after | |
$.clock.every | |
$.clock.now | |
$.command.register | |
$.command.run | drives Claude |
$.env.get | reads env vars |
$.fs.exists | reads files |
$.fs.list | reads files |
$.fs.read | reads files |
$.fs.stat | reads files |
$.model.complete | drives Claude |
$.model.fork | drives Claude |
$.process.run | runs processes |
$.prompt.fill | writes the prompt box |
$.prompt.submit | drives Claude |
$.session.cwd | |
$.session.model | |
$.session.usage | |
$.ui.ask | draws interface |
$.ui.close | draws interface |
$.ui.invalidate | draws interface |
$.ui.log | draws interface |
$.ui.open | draws interface |
$.ui.panes | draws interface |
$.ui.resolve | draws interface |
$.ui.toast | draws interface |
How do I install 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/bharath-gp/ai-harness claude plugin validate ./ai-harness/plugins/cockpit
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add bharath-gp/ai-harness && claude plugin install cockpit@ai-harness
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/bharath-gp/ai-harness/tree/main/plugins/cockpit. Run claude plugin validate on it first and show me what it can access before you enable it.
More from bharath-gp/ai-harness
This repository has 2 Claude Code mods on MCPMods.
- guardrails: Safety and review of Claude's output, helped by local decision models. Mods: blast-radius, secret-sentry, reflect (/refl (High risk)