ClaudeCodeMod

All shelves / Mods / Usage

stint

By digital-stoic-org

stint is a Claude Code usage mod by digital-stoic-org.

Draws a band above the prompt with context fill, plan headroom, and the stint count, and /pit saves notes, clears, and starts the fresh context from them.

Draws

Install

The marketplace name is pitlane.

In Claude Code
/plugin marketplace add digital-stoic-org/stint
/plugin install stint@pitlane
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.6.1
License
MIT
Repo stars
0
Last change
2026-11-09

What it can reach

  • Draws in the session
  • Reads usage or context figures

Requires Claude Code 2.1.311 or later. The band is drawn in the terminal and the desktop app; where there is no band, as in VS Code and on mobile, the same line goes to the status line. It reads revs, the context fill with a ten-cell bar, plus fuel, what is left of the tighter plan window, shown below 30 percent, the stint counter, and a pit board for one short message. The soft threshold is 80k tokens and the hard one is 60 percent of the window, 120k on 200k. A toast comes once at each upward crossing. /pit has the agent write its notes to .stint/<stream>-notes.md, runs /clear by itself, and puts the notes in as the first message of the fresh context; it is refused when the save fails, when another /pit is running, or when the context is at 95 percent of the point where Claude Code compacts. /rejoin starts a new session from a stream's notes. Auto-pit is on by default: stint runs a pit by itself after 50 idle minutes with 80k tokens or more in the context, or right after a turn when the context reaches 80 percent of the window, and it skips while a turn or an agent is running or a draft sits in the prompt box. Checkpoints and Crew are on by default too: each sends the model a block of rules at the start of a conversation, and each checkpoint trailer is written to .stint/<stream>-journal.md. Auto-pit, Checkpoint, Crew, and Debug each have an off setting in /config. The dash option is full, ascii for terminals that misjudge emoji width, or off. Do not load stint and stoa together.

The marketplace, pitlane, holds only this plugin, from the repository root. It used to install from digital-stoic-org/agent-skills, whose marketplace, digital-stoic-marketplace, no longer lists it. The context gauge, and pitting before the context fills, are why this page files it under usage. ctx-handoff can hand a full session to a fresh conversation. context-bar draws the context window as one stacked bar by category. This one frames the session as a race: a stint between pits, and a pit board on the band for the outcome. In the source, the notes are written by a fork of the session that merges the stream's previous notes, kept under 8,000 characters by cutting the oldest items first.

Demo

The Dash section of the stint README: a band above the prompt, drawn as a sample line with the revs bar, the last rise, fuel, the stint counter, and the pit board, then a table of what each part reads: context fill, the zone emoji at the 80k and 120k thresholds, plan headroom below 30%, the stint count, and the board's message.
Screenshot of the author's GitHub page.

What it hooks into

  • ui.renderDraws into the sessionAbovePromptAssistantMessage
  • config.setA Claude Code event
  • session.measureWhen usage is measured
  • turn.completeWhen a turn ends
  • state.setA Claude Code event
  • classic.SessionStartA Claude Code event
  • prompt.submitWhen you send a prompt
  • turn.startWhen Claude starts a turn
  • session.startWhen a session starts
  • classic.StopA Claude Code event
  • prompt.contextA Claude Code event
  • turn.stepAt each step of a turn
  • command.runWhen you run its slash command/pit/rejoin
  • classic.UserPromptSubmitA Claude Code event

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, 12 files. They load when you open them.

Facts

Author
digital-stoic-org
Category
Usage
Marketplace
pitlane
Repo
digital-stoic-org/stint
Version
0.6.1
License
MIT
Repo stars
0
Last change
2026-11-09
Language
TypeScript
Files
39

Other mods in Usage

orca-movemutlumehmetMoves a session to a twin account as one nears its usage limit: it runs /exit once the prompt box is empty, or shows a toast asking you to clear it.model-relaycablateOpens a panel above the prompt to switch this window to another model provider, routes subagents to providers, and fails over when Claude returns a 429.rtk-gainrtk-aiDraws what RTK saves while Claude works: a band above the prompt, the saving in the spinner, and a /rtk-gain pane where a viking breaks the saved tokens.tokendoctorrsaryevShows where your Claude Code tokens went, audits your settings with 33 checks, and changes a setting only after a dialog shows the change and you press Apply.catnapLippIncHas Claude compact at a clean break: from 50% of the context it asks Claude to finish the piece it is on, write a handoff, and compact, then carry on by itself.pitwallaxlaserDraws live cost, cache, and limits above the prompt and in a side panel, with a card per subagent you can stop, and fourteen themes that repaint Claude Code.jev-routerdominicricoAsks TypeSafe's Jev which Claude model and effort fit each prompt, step, and subagent, runs it there, and draws every pick in a band above the prompt.usage-statsomeerdvrnOpens a /usage-stats pane of this machine's Claude Code tokens over 7 days, 30 days, or all time, by day, project, and model, with Linear issues closed.claujev-modCivalskiHolds a commandDraws a status line of the checks and actions TypeSafe's Jev made today for the ClauJev plugin, with the effort Jev suggests, and can apply that effort.jev-orchestratorhiyokuSends each subagent's task to TypeSafe's Jev, which picks its model, effort, and tool profile, and draws the picks, tokens, and cost on the status line.vitalsnaicudDraws a framed live dashboard above the prompt: model, effort, context, plan limits with a forecast, cost, tokens and cache, subagents, shells, and tools.dispatch-gatewdsewdser-bitHolds a commandRefuses one tool call once the main session has made 8 requests in a row itself, and a subagent past 3 an hour, so Claude hands work out. A retry goes through.
All 183 in Usage