ClaudeCodeMod

All shelves / Mods / Usage

swiss-knife

By nocodehack

swiss-knife is a Claude Code usage mod by nocodehack.

Chimes and turns its strip red when Claude needs you, forecasts when plan limits run out, writes handoffs, and asks before destructive commands.

DrawsHolds a command

Install

The marketplace name is nocodehack.

In Claude Code
/plugin install swiss-knife --marketplace nocodehack/swiss-knife
Open the repo

It runs inside the Claude Code process. The side panel is only what the author's README names. Read the repo before you install, or run claude plugin validate on the plugin folder.

Version
1.0.2
License
MIT
Repo stars
3
Last change
2026-10-25

What it can reach

  • Draws in the session
  • Holds a command
  • Reads usage or context figures
  • Reads this turn's file edits

Claude Code 2.1.287 or newer. Answer y to add the marketplace, then press Enter to install it for your user; the strip and the panel show up right away. From a shell it is claude plugin install swiss-knife --marketplace nocodehack/swiss-knife, and in the desktop app you add the nocodehack/swiss-knife marketplace under Plugins. A mod installed from a terminal also loads in the desktop app's local sessions. Each feature turns on or off in the Settings tab. Hide secrets covers the prompt box and the chat, not the app's own permission dialogs. The author calls Guard a seatbelt, not a vault: it can't catch every way to delete a file.

The marketplace, nocodehack, holds only swiss-knife. Plan limits, cost, and a chat that fills up are why this page files it under usage. vitals, by naicud, draws a framed dashboard above the prompt with plan limits and a forecast, cost, tokens, and cache. context-alert, by nathanonn, opens a dialog at 40 percent context that offers a handoff and a compact. This one plays a chime, sends a desktop notification, and turns its strip red when Claude asks a question, wants permission, or wants a plan approved, and pings again after 5 minutes. At about 70 percent full it offers Continue in a new chat, which writes a handoff note to .claude/handoffs/ that Claude reads with your first message in the next chat. It also keeps working time and cost per project, a daily budget, pins, a recap of each task, model tips, a pixel mascot, and /report. The handoff, the recap, /report, and model tips send text to Haiku or Sonnet on your own Claude Code login. Guard sends commands such as rm -rf, git reset --hard, and force-push to Claude Code's permission prompt with a plain-English question. In the source, Guard is a tool.check hook that returns ask even where a rule or mode would allow the command.

Demo

The author's screenshot of the Swiss Knife panel, in two parts. First, the tabs Swiss Knife, Handoff, Pins, and Settings; the project crumb-bakery with Claude needs you and Waiting 0:32 beside a pixel Clawd, a Haiku button, and Sound 60%; a card that says Claude wants your OK to go on and will ping you again in 5 min; and the last task, 3s and worth under 1¢, with no files changed.
From the author's repo.

What it hooks into

  • session.startWhen a session starts
  • session.endWhen a session ends
  • classic.NotificationA Claude Code event
  • session.measureWhen usage is measured
  • turn.stepAt each step of a turn
  • turn.startWhen Claude starts a turn
  • prompt.submitWhen you send a prompt
  • tool.checkA Claude Code event
  • tool.callAround a tool call, where it can hold one
  • turn.completeWhen a turn ends
  • command.runWhen you run its slash command/knife/pin/pins/budget/report/handoff
  • ui.renderDraws into the sessionPaneAbovePromptAssistantMessage
  • prompt.editWhen you edit the prompt
  • ui.closeWhen its pane closes

Read from the on() calls in its hook modules. Open its source under Files to check what each one does.

Files

The author's README and source, 4 files. They load when you open them.

Facts

Author
nocodehack
Category
Usage
Marketplace
nocodehack
Repo
nocodehack/swiss-knife
Version
1.0.2
License
MIT
Repo stars
3
Last change
2026-10-25
Language
TypeScript
Files
49

Other mods in Usage

sesscloneNotTahaAliReports each turn's tokens, model, and timings to a SessClone dashboard, with a line above the prompt that shows whether this session is synced.context-widgetoMaN-RodDraws the context window as a stacked bar, one color per /context category, on a card under the prompt or docked beside the transcript.cost-visibilitypatitowHolds a commandDraws a two-line band above the prompt with the plan windows, this chat's list-price cost split into main and subagents, and context. /spend opens a pane.usage-barspepperonasShows the 5-hour and 7-day limits as animated bars under the prompt, with a reset countdown, a pace mark, a projection, and six styles.clawd-dashpinkpixel-devDraws a session dashboard under the prompt: plan limits, context, cost, model, effort, git status, and file changes, beside a pixel Clawd who reacts.usage-paneT-AI-LabsOpens a /tokens pane that adds up tokens, cache hit rate, and API price by day, model, and project, and lists each session's prompts by cost and why.ribbonrobonuggetsDraws a slim band above the prompt with the 7-day and 5-hour usage left and when each resets, and whether the prompt cache is warm or cold with the next cost.hudlycfyiDraws a heads-up display above the prompt: context fill, repo state, turn progress with time estimates, and a recap with an automatic /whats-next after a break.automodemralexivyHolds a commandPicks the model and effort for each prompt, draws a bar above the prompt with context, cache countdown, cost, and savings, and denies git writes from subagents.agent-tracekrika2810Draws a pane beside the chat that lists every step after a prompt: each model request, tool call, and subagent, with time, tokens, context, and API-rate cost.idle-compactdavidarCompacts an idle session after 50 minutes, while the prompt cache is still warm, and pins a status line under the prompt with the before and after sizes.compact-timinglbzepoqoLets the model mark task boundaries and compacts at the end of a turn once the context passes 200k tokens, then resumes the work; a toast shows each compaction.
All 183 in Usage