Skip to the card

Card 904 of 9982026-09-08 issue

Observed arrival · 2026-09-08

Tokenbrake puts guardrails on Claude Code's context window

tokenbrake.site Observed source
Editorial interest 84/100 Selection signal · not a rating of the site

A pair of local Claude Code hooks trims oversized shell output, caps unbounded file reads, and reports which tool results consumed a session's context.

Landing page captured for the 2026-09-08 issue.

Field notes

Tokenbrake operates through Claude Code's PreToolUse and PostToolUse hooks rather than modifying source files or compressing output. Shell results over 6,000 characters keep the first and last 40 lines plus up to 20 error- or warning-looking lines, while the complete result remains in ~/.claude/tokenbrake/out/. For oversized file reads, the page documents a 60 KB threshold and a 300-line replacement limit. A local JSONL ledger joins result sizes to tool-use IDs for session reporting.

Observed signals

Read the marks

Editorial observations of this landing page, not a rating.

OpenPublic substance visible
PrettyNotable craft visible
ProPolished or operationally mature
NicheUnusually specific use

One card from the complete issue

1985 at 160× Speed

370,686 arrived 1,000 judged 998 catalogued Enter the complete issue
tokenbrake.site

Landing page observed 2026-09-08. The live site may have changed.