claudemods

All Claude Code modsdevohmycode/claude-mods

cockpit

A Claude Code mod in devohmycode/claude-mods

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 apart by whether the main loop or a subagent spent them, the models that answered, the plan windows as bars with what is left of each, and what every plugin's skill listing adds to the system prompt each turn; Stats reads ~/.claude/history.jsonl for the prompts this machine has typed: a contribution calendar, sessions, projects, active days and streaks, counted as prompts and never as tokens; Files lists what Claude read and wrote: file tools and shell commands alike: heaviest first, with the lines each file moved and the letter git gives it now, each row a button that rides the file on the next prompt and says so once it has; Tools tallies every tool call with its time and its failures, MCP tools by their server and their own name rather than the prefix they all share, and lists the last of them; Agents is the session's record of every subagent it started, each under the one that spawned it, with how long it ran and the status it ended on. A plugin adds its own tab in three lines through $.cockpit.tab, and the cockpit owns the pane, the rail, the hotkeys and the focus; hideTabs leaves any of them off the rail, a plugin’s as readily as a built-in one.

In its last recorded footprint, cockpit reaches L2 (writes or runs) and passed claude plugin validate on Claude Code 2.1.300.

Install hint

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

From the repository's own marketplace. Confirm the plugin name in the repository's README before installing. Mods need Claude Code 2.1.287 or later. The latest scan could not confirm this mod, so the command may be out of date.

Access

L2 Writes or runsruns processes, reads files, reads env vars, persists state, draws

Validation

not verified

View the source on GitHub Back to the list

What the scan recorded

Observed events
every tool call, every prompt, subagent spawns
Hooks
engine.create, session.start, ui.render {component=PromptHint}, ui.render {component=AbovePrompt}, ui.render {component=Pane}, command.run {command=?}, config.describe {key=?}, config.describe {key=?}, config.set {key=?}, ui.close {id=?}, ui.focus, tool.call, turn.complete, session.measure, prompt.submit, agent.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
Validation on 2.1.300
not verified
Last known result
Passed on 2.1.300
Validator output
Repository could not be scanned; showing the last known footprint.
Scanned revision
dcb78189f212
Marketplace warnings
claude-devohmycode-mods

These are the hooks and API calls reported by claude plugin validate. Access levels describe the widest reach of those calls and are not safety ratings. Validation is a static check, not a runtime test, and a passing result does not prove that a mod works or is safe. How the scan works.

More from devohmycode/claude-mods

Badge for your README

Reach badge for cockpit Validation badge for cockpit

Authors can show the latest scan result in their README. Each badge links to this page.

[![reach](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/devohmycode--claude-mods--cockpit-reach.svg)](https://mods.aidojo.si/mods/devohmycode--claude-mods--cockpit/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/devohmycode--claude-mods--cockpit-validates.svg)](https://mods.aidojo.si/mods/devohmycode--claude-mods--cockpit/)