ClaudeCodeMod

All shelves / Mods / Usage

leitstand

By dominikmartn

leitstand is a Claude Code usage mod by dominikmartn.

Draws free disk space and context fill above the prompt, and names a hook of yours that just blocked a tool call.

Draws

Install

The marketplace name is leitstand.

In your shell
claude plugin marketplace add dominikmartn/leitstand
claude plugin install leitstand@leitstand
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.2.2
License
MIT
Repo stars
16
Last change
2026-10-08

What it can reach

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

Tested with Claude Code 2.1.288 on macOS. It stays out of sight until something needs you, and /stand opens or closes the list. The loud theme is the default, with halftone bars, the disk always listed, and a footer that counts what needs you. Set LEITSTAND_THEME to quiet for thin bars, no footer, and the disk only when it runs low. The disk warns at 35 GB free and turns red at 20 GB. From 250k tokens the context row turns yellow and says compact, as a reminder to run /compact; it never compacts by itself. It follows running agents and background shells only to know when nothing is left running, then plays a sound on macOS if that work took longer than a minute. LEITSTAND_SOUND set to off mutes it. On this machine it runs df about every 5 minutes, and the sound is afplay. LEITSTAND_DISK_HOST, unset by default, measures an ssh host's disk instead, over ssh with key-based login, and that is its only network call.

The plugin is the repository. The marketplace name is leitstand. Leitstand is German for a control room. The disk and context rows are why this page files it under usage. usage-band draws one line above the prompt for the 5-hour and 7-day limits, the context, and the last turn's cache hit. Nothing else on the shelf draws free disk space. The blocked-hook line shows a hook of yours until your next prompt.

Demo

The What you see bullets of the README: needs you, the disk with a warning at 35 GB free, the context row that says compact from 250k tokens, and /stand to open or close the list.
Screenshot of the author's GitHub page.

What it hooks into

  • session.startWhen a session starts
  • tool.callAround a tool call, where it can hold one
  • turn.completeWhen a turn ends
  • prompt.submitWhen you send a prompt
  • session.measureWhen usage is measured
  • command.runWhen you run its slash command/stand
  • 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.

Slash commands 1

  • /standToggle the list: disk, context and what needs you

Files

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

Facts

Author
dominikmartn
Category
Usage
Marketplace
leitstand
Repo
dominikmartn/leitstand
Version
0.2.2
License
MIT
Repo stars
16
Last change
2026-10-08
Language
TypeScript
Files
22

Other mods in Usage

working-memoryHangghostDraws the context window as a brain: tool calls light regions, it fills as context grows, and compact plays a sleep sweep.jev-pilotAkramovic1Asks TypeSafe's Jev, through OpenRouter, to set each turn's effort, the subagent model, and the one skill a prompt needs, with a pilot that says what it chose.cmd-dietVedantAndhaleAdds quiet flags to noisy shell commands before they run, so Claude reads the short output, and counts the quieted commands on the status line.read-capVedantAndhaleHolds a commandRefuses a whole-file read over 1,000 lines once, points Claude at an outline of that file, and counts the reads it capped.reread-guardVedantAndhaleHolds a commandSkips a repeat read of a file that has not changed, tells Claude to use the copy it has, and counts the re-reads it skipped.tool-dietVedantAndhaleLists tools unused lately by name only, so their descriptions leave every request, and counts how many are on demand.write-guardVedantAndhaleHolds a commandLets the first full rewrite of an existing file through, holds the next one so Claude uses Edit, and counts the rewrites it held.usage-hudronanworksDraws model, effort, context, and the 5-hour and weekly limits in a panel, and a pixel crab above the prompt that acts out the tool.cache-maxxervayaan-labsDraws the prompt-cache time left and hit rate above the input, says why the cache was rebuilt, and can send a short request to keep it warm.session-hudofeklevy11Draws four cards above the prompt: context left, the 5-hour limit, prompt clocks, and what the session cost.token-pilotDigital-ThreadsHolds a commandFor Token Pilot, which cuts what Claude reads from code, draws tokens saved and the 5-hour and 7-day limits above the prompt, and outlines a big file Read.laya-routermarcreichelRoutes the session once from its first prompt to a model and effort, and draws that route on the status line.
All 183 in Usage