ClaudeCodeMod

All shelves / Mods / Usage

shunt

By pleaseai

shunt is a Claude Code usage mod by pleaseai.

Draws a band above the prompt with the shared pool's usage and reset times, or this session's rate limits when you are off shunt.

Draws

Install

The marketplace name is shunt.

In Claude Code
/plugin marketplace add pleaseai/shunt
/plugin install shunt@shunt
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
0.1.0
License
Apache-2.0
Repo stars
302
Last change
2026-10-06

What it can reach

  • Draws in the session
  • Reads usage or context figures
  • Reaches the network or an outside service
  • Calls another program on this machine

The README says function hooks are early access and tells you to start Claude Code with CLAUDE_CODE_ENABLE_FUNCTION_HOOKS=1. The official docs say 2.1.287 and later ignore that flag. Point Claude at the gateway with ANTHROPIC_BASE_URL and a token, or the band shows this session's own rate limits. The author says by default it sends the session's own credential to the gateway the session is already sending every message to, so it reaches no host the session was not already using. SHUNT_BASE_URL is the one deliberate exception. With no base URL set, it asks nothing rather than sending the credential to Anthropic. When the only credential is shunt's apiKeyHelper, the author says the mod runs shunt gateway token directly, without a shell, and sends the token it prints.

Demo

The shunt section on the author's GitHub page
Screenshot of the author's GitHub page.

What it hooks into

  • command.runWhen you run its slash command
  • session.startWhen a session starts
  • session.measureWhen usage is measured
  • turn.completeWhen a turn ends
  • ui.renderDraws into the sessionAbovePrompt

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
pleaseai
Category
Usage
Marketplace
shunt
Repo
pleaseai/shunt
Folder
plugins/shunt
Version
0.1.0
License
Apache-2.0
Repo stars
302
Last change
2026-10-06
Language
Rust
Files
25

Other mods in Usage

optimaizrblendbunjakuHolds a commandDraws this turn's cost, the 5-hour window, and cache time above the prompt, and holds a command that failed twice unchanged.clawdmeterwelternDraws Clawd and the session, weekly, and context bars in a band above the prompt.ccswaperrhythmDraws your ccswap accounts and their 5-hour and 7-day usage, and switches from a button on the band.routeralexei-ledPicks a model and effort for each turn from a classifier, and draws the tier above the prompt.context-budgetmelodic-softwareHolds a commandDraws the session's context by category, in a pane or a band above the prompt, and asks before a settings file is written.extra-modsJhonatan-de-SouzaDraws a menu for Zen, themes, model and effort, and a status line of context, plan limits, and cache.jevNasrallah-ALHas Jev drop stale tool calls at compaction and keep the rest word for word, toasts what it kept, and adds slash commands for the jev CLI.decknvr0x5Draws a collapsible panel above the prompt for the plan, context, the 5-hour and 7-day limits, and a small pet.desktop-statuslinecentminmodDraws a status band above the prompt in the Desktop app's Code tab, with context, plan limits, and the last turn.pixel-buddyhamymarnieDraws the 5-hour and 7-day usage above the prompt, with what each window cost, a cache timer, and a pixel creature.account-rotatorivokundDraws each account's usage under the prompt, and can move the session to another account as a limit fills.usage-bandJetsonChanDraws one line above the prompt for the 5-hour and 7-day limits, the context, and the last turn's cache hit.
All 183 in Usage