cockpit

cockpit is a Claude Code mod by Showrin that shows the git branch, context, 5-hour and weekly limits, token usage and cost right above the prompt.

Updated 2026-11-08

What is cockpit?

cockpit is a Claude Code mod by Showrin that shows the git branch, context, 5-hour and weekly limits, token usage and cost right above the prompt. It is listed under Cost & usage and has no public popularity data yet.

TypeClaude code mod
AuthorShowrin
RepositoryShowrin/claude-mods
Popularityno public popularity data yet
CategoryCost & usage
SecurityReview before installing (72/100)
Rank#8,389 of 9,397 Claude Code mods; #1,662 in Cost & usage
LicenseMIT
Last commit2026-11-08
Hooks5 events
SeesBash calls
Draws onAbovePrompt

Is cockpit safe to install?

cockpit scores 72/100 on the MCPMods security check: Review before installing. Things to review: starts processes outside the sandbox; reads environment variables. It passed 5 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.

CheckResult
No network accessPass
Starts processes outside the sandboxReview
Writes no files or configPass
Reads environment variablesReview
Only sees the events it hooksPass
Doesn't drive ClaudePass
Validator reported problemsNote
Has an open-source licensePass

API calls in its code

CallWhat it means
$.clock.every
$.clock.now
$.env.getreads env vars
$.fs.listreads files
$.fs.readreads files
$.process.runruns processes
$.session.cwd
$.session.id
$.session.usage
$.state.get
$.state.set
$.ui.resolvedraws interface

How do I install cockpit?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/Showrin/claude-mods
    claude plugin validate ./claude-mods/mods/cockpit
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add Showrin/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/Showrin/claude-mods/tree/main/mods/cockpit. Run claude plugin validate on it first and show me what it can access before you enable it.

More from Showrin/claude-mods

This repository has 3 Claude Code mods on MCPMods.

  • on-demand-savior: Pauses Claude before the 5-hour or weekly limit spills into on-demand usage, writes a handoff, and resumes from it once (High risk)
  • turn-memo: Prints a one-line memo (tokens, cache, cost) beneath every reply (Low risk)