What is cockpit?
cockpit is a Claude Code mod by aayanrehman that live session cockpit: cost, context and rate-limit gauges, tool activity, what Claude is doing right now. It is listed under Cost & usage and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | aayanrehman |
| Repository | aayanrehman/crew-hq |
| Popularity | no public popularity data yet |
| Category | Cost & usage |
| Security | Low risk (88/100) |
| Rank | #4,633 of 9,397 Claude Code mods; #798 in Cost & usage |
| License | MIT |
| Last commit | 2026-10-11 |
| Hooks | 6 events |
| Sees | every prompt, every tool call |
| Draws on | Pane |
Is cockpit safe to install?
cockpit scores 88/100 on the MCPMods security check: Low risk. Things to review: watches every prompt or event. 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.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts no processes | Pass |
| Writes no files or config | Pass |
| Doesn't read environment variables | Pass |
| Watches every prompt or event | Review |
| Doesn't drive Claude | Pass |
| Passes claude plugin validate | Pass |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.clock.every | |
$.clock.now | |
$.command.register | |
$.session.usage | |
$.state.get | |
$.state.set | |
$.ui.open | draws interface |
$.ui.resolve | draws interface |
$.ui.status | 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/aayanrehman/crew-hq claude plugin validate ./crew-hq/mods/cockpit
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add aayanrehman/crew-hq && claude plugin install cockpit@crew-hq
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/aayanrehman/crew-hq/tree/main/mods/cockpit. Run claude plugin validate on it first and show me what it can access before you enable it.
More from aayanrehman/crew-hq
This repository has 4 Claude Code mods on MCPMods.
- crew-hq: Crew HQ: an HQ pane over every project's TASKS.md and a team of five subagents that pick up @claude tasks, huddle, and r (Review before installing)
- done-ping: Chime + summary toast when a long Claude task finishes, so you can switch tabs while it works (Low risk)
- seatbelt: Blocks destructive commands (rm -rf, force push, reset --hard, DROP TABLE) and .env edits before they run (Low risk)