cockpit

by DevOhMyCode · ★ 0 · updated 4 days ago

PanesBandsReskinsGuardsCommandsPromptvalidates

0

One pane of tabs beside the transcript, and the $.cockpit noun other plugins fill. /cockpit opens it, and so does the Cockpit button in the band above the prompt: Session reads the context window, the turn count, the model and the cost, with a Raster sparkline of the context the session has spent turn by turn; Usage draws what the session cost — the four token counters the API reports, kept...

install cockpit

Install

/plugin marketplace add devohmycode/claude-mods
/plugin install cockpit@claude-devohmycode-mods

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

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
engine.createsession.startui.rendercommand.runconfig.describeconfig.setui.closeui.focustool.callturn.completesession.measureprompt.submitagent.spawn
API calls
$.agent.list$.clock.after$.clock.every$.clock.now$.command.register$.env.get$.fs.read$.process.run$.session.cwd$.session.id$.session.model$.session.repo$.session.turns$.session.usage$.store.delete$.store.get$.store.keys$.store.set$.ui.close$.ui.focus$.ui.invalidate$.ui.open$.ui.resolve$.ui.toast
Draws
PromptHintAbovePromptPane
Can see
every tool callevery promptsubagent spawns
Reach
level 2 of 3 runs processesreads filesreads env varspersists 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/devohmycode/claude-mods
Path in repo
claude-cockpit-mod
Source commit
dcb7818 the exact code the scan read
Author
DevOhMyCode @devohmycode
License
MIT
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 devohmycode/claude-mods

clauget

devohmycode/claude-mods

The scale, then the diet — and the diet only where the scale says it pays. Each model request inside a turn streams through one hook, whose stop chunk carries the four token counters and the model that answered, so the journal has a line per step, the main loop's and every subagent's apart, and names the cache misses where they happen. /clauget opens the report: the window and the cost, the...

★ 0PanesStatus lineGuards

contextmanager

devohmycode/claude-mods

Watches a session for wasted context and time, shows a one-click card when a waste behaviour repeats, and lets the user steer or stop it.

★ 0PanesBandsGuards

forge

devohmycode/claude-mods

Make your own plugins and mods, and catch what a mod breaks without a word before a session loads it. /forge new writes a mod (or a classic plugin) in this repository's shape; /forge lint reads the source for the failures the loader refuses or that fail silently ($ bound to a name, a computed event or env name, two hooks with no matcher on one event, a plugin noun's verb hooked, a .catch that...

★ 0Status lineCommands

message

devohmycode/claude-mods

What another session sends lands in a tab instead of in the context. A peer's delivery is written to the mailbox under your home directory, listed in the Message tab beside the thread it belongs to, and announced in one line — and the session's transcript does not grow by a byte. The thread draws each message whole, wrapped to the column it has, with a Show more under the long ones that opens...

★ 0PanesReskinsCommands

switch

devohmycode/claude-mods

A pane of the models and the effort levels, each switched with one click. /switch opens it; /switch opus or /switch high switches without it. A click runs the engine's own /model or /effort, so the status line follows; the pane shows the model and the effort the last request was actually sent with.

★ 0PanesCommands