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.
/plugin marketplace add digital-stoic-org/stint /plugin install stint@pitlane
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

What it hooks into
ui.renderDraws into the sessionAbovePromptAssistantMessageconfig.setA Claude Code eventsession.measureWhen usage is measuredturn.completeWhen a turn endsstate.setA Claude Code eventclassic.SessionStartA Claude Code eventprompt.submitWhen you send a promptturn.startWhen Claude starts a turnsession.startWhen a session startsclassic.StopA Claude Code eventprompt.contextA Claude Code eventturn.stepAt each step of a turncommand.runWhen you run its slash command/pit/rejoinclassic.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
- Version
- 0.6.1
- License
- MIT
- Repo stars
- 0
- Last change
- 2026-11-09
- Language
- TypeScript
- Files
- 39