Skip to content

Releases: izzatum/claude-code-cockpit

cockpit 0.4.0: context and rate-limit alerts, protected folders, burn rate

Choose a tag to compare

@izzatum izzatum released this 09 Oct 13:48
f25e297

cockpit 0.4.0 adds context and rate-limit alerts, your own protected folders, a burn rate on the dashboard, and CI.

Install or update

/plugin install cockpit --marketplace izzatum/claude-code-cockpit

Already installed: claude plugin update cockpit@claude-code-cockpit, then /reload-plugins.

New

  • Context alert (contextAlert, default 80%): one pop-up when the context window reaches the line, suggesting /compact. It fires again once context drops back under and climbs past it.
  • Rate-limit alert (rateAlert, default 90%): one pop-up per rate-limit window, such as the 5-hour limit, with the time it resets. /clear does not repeat it for the same window.
  • Reset times and burn rate on the /cockpit dashboard: each rate limit shows the time left until it resets, and after 5 minutes the cost shows $/h and about how long until your budget alert. The countdowns update every minute while the pane is open.
  • Protected folders (guardPaths): extra folders, split by ;, where recursive deletes are blocked, such as ~/work; /Volumes/NAS. A folder counts when Claude works inside it or a command names it: quoted or not, with escaped spaces, through ~, $HOME, ${HOME} or the full home path, and in Windows or Git Bash form.
  • desktopSync: treat ~/Desktop and ~/Documents as synced folders, for iCloud Drive "Desktop & Documents Folders" or OneDrive folder backup.

Fixed

  • The guard now catches a recursive delete split over lines with a trailing \ (for example find x \ then -delete on the next line). A \ at the end of a comment still joins nothing.
  • Sync-app names in code and prose (new Dropbox(, -t Dropbox,OneDrive) are no longer read as folders.
  • Three guard patterns that could take seconds on long, crafted commands now run in linear time.
  • The blocked-command count and the context alert start over on /clear.

Also

  • GitHub Actions CI runs claude plugin validate and claude plugin test on every push and pull request.
  • The cloud-sync guard is still a safety net, not a sandbox: see Limits and caveats.

Tested on Claude Code 2.1.295. Full docs: README.

cockpit 0.3.0: status line, cost alert and rm -rf guard for Claude Code

Choose a tag to compare

@izzatum izzatum released this 09 Oct 11:45

cockpit is a Claude Code plugin that puts context usage and session cost in the status line, adds a budget alert and a /cockpit dashboard with rate limits and MCP server health, and blocks rm -rf and other recursive deletes in Dropbox, iCloud Drive, Google Drive and OneDrive folders.

Install

/plugin install cockpit --marketplace izzatum/claude-code-cockpit

In this release

  • Status line: project, context %, session cost and active modes, e.g. web-app · ctx 31% · $0.84 · caveman.
  • /cockpit dashboard: context bar with token count, cost against your budget, rate limits, modes, MCP server health and the guard's block count.
  • Budget alert: one pop-up when the session's cost reaches budget (default $5; 0 turns it off).
  • Cloud-sync guard: blocks rm -rf, find -delete, rsync --delete, git clean -f and more in synced folders; warns before installs and builds there.
  • MCP server health: counts connected, need-sign-in and failed servers, with one pop-up if the first check finds a failed one.
  • Compact tool rows and a project tag on the spinner.

Tested on Claude Code 2.1.295. Full docs: README.