cockpit

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

Updated 2026-10-12

What is cockpit?

cockpit is a Claude Code mod by Showrin that shows 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
SecurityLow risk (88/100)
Rank#4,608 of 5,272 Claude Code mods; #894 in Cost & usage
LicenseMIT
Last commit2026-10-12
Hooks4 events
Seesonly the events it hooks
Draws onAbovePrompt

Is cockpit safe to install?

cockpit scores 88/100 on the MCPMods security check: Low risk. Things to review: reads environment variables. It passed 7 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 no processesPass
Writes no files or configPass
Reads environment variablesReview
Only sees the events it hooksPass
Doesn't drive ClaudePass
Passes claude plugin validatePass
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
$.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 2 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 (Review before installing)