What is cockpit?
cockpit is a Claude Code mod by ferranserv that one band above the prompt with Clawd, the Claude Code mascot (35 animated states), who reacts to what is happening, and the meters: context, 5-hour and weekly limits, and the prompt cache. It is listed under Security and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | ferranserv |
| Repository | ferranserv/claude-mods |
| Popularity | no public popularity data yet |
| Category | Security |
| Security | High risk (40/100) |
| Rank | #5,926 of 9,397 Claude Code mods; #656 in Security |
| Last commit | 2026-10-26 |
| Hooks | 17 events |
| Sees | classic hooks, compaction, every prompt, every tool call |
| Draws on | AbovePrompt, AskUserQuestion, Pane |
Is cockpit safe to install?
cockpit scores 40/100 on the MCPMods security check: High risk. Things to review: starts processes outside the sandbox; writes files or config; reads environment variables; watches every prompt or event. It passed 1 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 |
| Watches every prompt or event | Review |
| Drives Claude (model calls, prompts) | Note |
| Validator reported problems | Note |
| No license detected | Note |
API calls in its code
| Call | What it means |
|---|---|
$.agent.list | |
$.audio.play | plays audio |
$.clock.after | |
$.clock.every | |
$.clock.now | |
$.clock.sleep | |
$.command.list | |
$.command.register | |
$.command.run | drives Claude |
$.env.get | reads env vars |
$.fs.exists | reads files |
$.fs.list | reads files |
$.fs.read | reads files |
$.fs.write | writes files |
$.model.classify | drives Claude |
$.model.complete | drives Claude |
$.model.fork | drives Claude |
$.process.run | runs processes |
$.prompt.fill | writes the prompt box |
$.prompt.read | |
$.prompt.submit | drives Claude |
$.session.cwd | |
$.session.id | |
$.session.messages | reads the transcript |
$.session.usage | |
$.state.get | |
$.state.set | |
$.store.delete | keeps its own state |
$.store.get | keeps its own state |
$.store.set | keeps its own state |
$.ui.close | draws interface |
$.ui.copy | draws interface |
$.ui.invalidate | draws interface |
$.ui.notify | 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/ferranserv/claude-mods claude plugin validate ./claude-mods/cockpit
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add ferranserv/claude-mods && claude plugin install cockpit@claude-mods
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/ferranserv/claude-mods/tree/main/cockpit. Run claude plugin validate on it first and show me what it can access before you enable it.
More from ferranserv/claude-mods
This repository has 7 Claude Code mods on MCPMods.
- meters: Context window, 5-hour, weekly usage and the prompt cache countdown as compact meters in one band above the prompt or a (High risk)
- mods-manager: Keeps your mods current: pulls the mods folder from GitHub at session start (/updatemods to do it now), and a skill that (Low risk)
- plan-progress: Panel above the prompt for multi-step work and /goal: goal, phase, task checklist, progress bar, elapsed time, and a chi (High risk)
- preflight-guard: Warns when a session starts on main, with uncommitted changes, or beside another working session; offers a worktree, a c (Review before installing)
- prompt-enhancer: A sparkle Enhance button and hotkey that rewrites your draft prompt in place: fitting skills, project details, decisions (Review before installing)
- saver: Sends easy prompts to Haiku 5.5 while context is under 100K. A strip above the prompt (hidden unless saver just routed a (Low risk)