cockpit
by Ferran · ★ 0 · updated 29 days ago
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 countdown. His speech bubble carries the button for every warning. Also saver routing to Haiku, preflight warnings (main, uncommitted work, another session in the folder), the prompt enhancer (the wand)...
Install
/plugin marketplace add ferranserv/claude-mods/plugin install cockpit@claude-modsThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
What it hooks into
From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.
- Events
session.startsession.measuresession.endturn.startturn.completeprompt.submitturn.stepclassic.PreModelSwitchprompt.edittool.calltool.checksession.compactmcp.connectcommand.runui.messageui.closeui.render- API calls
$.agent.list$.audio.play$.clock.after$.clock.every$.clock.now$.clock.sleep$.command.list$.command.register$.command.run$.env.get$.fs.exists$.fs.list$.fs.read$.fs.write$.model.classify$.model.complete$.model.fork$.process.run$.prompt.fill$.prompt.read$.prompt.submit$.session.cwd$.session.id$.session.messages$.session.usage$.state.get$.state.set$.store.delete$.store.get$.store.set$.ui.close$.ui.copy$.ui.invalidate$.ui.notify$.ui.open$.ui.panes$.ui.resolve$.ui.toast- Draws
AbovePromptAskUserQuestionPane- Can see
every promptclassic hooksevery tool callcompaction- Reach
- level 2 of 3 runs processeswrites filesdrives Claudewrites the prompt boxwrites the clipboardreads filesreads env varsreads the transcriptreads the prompt boxreads mod stateplays audiopersists statedraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/ferranserv/claude-mods
- Path in repo
cockpit- Source commit
25b274bthe exact code the scan read- Author
- Ferran @ferranserv
- License
- No license declared — ask the author before reusing code.
- First published
- Last pushed
- First listed here
Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.
More from ferranserv/claude-mods
meters
ferranserv/claude-mods
Context window, 5-hour, weekly usage and the prompt cache countdown as compact meters in one band above the prompt or a side panel, with warnings, a going-cold notice and one-click handoff to a fresh session, and a chime when a turn ends.
mods-manager
ferranserv/claude-mods
Keeps your mods current: pulls the mods folder from GitHub at session start (/updatemods to do it now), and a skill that installs mods you build.
plan-progress
ferranserv/claude-mods
Panel above the prompt for multi-step work and /goal: goal, phase, task checklist, progress bar, elapsed time, and a chime when a turn ends. Zero model calls.
preflight-guard
ferranserv/claude-mods
Warns when a session starts on main, with uncommitted changes, or beside another working session; offers a worktree, a commit checkpoint, and a click to commit what another session already finished.
prompt-enhancer
ferranserv/claude-mods
A sparkle Enhance button and hotkey that rewrites your draft prompt in place: fitting skills, project details, decisions to ask you first, and what done looks like.
saver
ferranserv/claude-mods
Sends easy prompts to Haiku 5.5 while context is under 100K. A strip above the prompt (hidden unless saver just routed an answer; /saver strip changes that) shows the model and what was saved today.
Related mods
Other mods in Panes, close to this one by stars.