Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By YahyaLendaniv0.8.0MITIn 1 marketplace
Tracks context against a ceiling you set and writes a verified handoff before /clear into a fresh session. Hooks run on every prompt and tool call, and interrupt only in opt-in guard mode; macOS and Linux need PowerShell 7.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
2 cautions to review before installing
A hook runs when Claude uses the Bash tool
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Context tracking and safe session handoffs for long Claude Code sessions on Windows, macOS and Linux.
Every request re-reads the whole context, so a long session spends most of its tokens re-reading. This bundle keeps the model and effort level you chose, shows the context against a ceiling you set, and prepares a verified handoff when you want to continue in a fresh session. Nothing interrupts your session unless you ask for it.
Seven hook events, seven skills per install, a handoff writer, four effort gears, two profiles, and a measuring tool. No network calls, no API keys, no dependencies.
Whether it saves tokens on your work has not been measured yet: the comparison
harness is in benchmarks/, and its results are pending.
Status: 0.8.0. Windows PowerShell 5.1 and
pwsh7 are both supported; CI runs the full suite on Windows, Ubuntu and macOS. Claude Code is the only requirement — the terminal, the VS Code panel and the Desktop app all load the same hooks. Plain claude.ai and Desktop (no hooks) use the portableclaude-skillinstead.
/plugin commands and nothing
to run by hand. See install. The installer still works,
and is the way to get the status line and the read guard./clear starts its new session as
startup, as the Desktop app was seen doing. Nothing loads while a /clear with no
handoff is pending, and the handoff is listed./clear could load the handoff another
session in the project had just claimed. Now nothing loads when two /clears overlap,
and the handoff is listed.Every release is in the changelog. To get a new one, see upgrading.
In an audit of one heavy week of Opus sessions, cache reads were 98.7% of all tokens and 78% of the API-equivalent cost. Output — the thing people usually try to shorten — was 0.3% of tokens and 12% of cost. Two sessions accounted for 69% of the spend, both by running at 300–450k context per request. That was one person's week, measured with the audit from before 0.7, which counted repeated records and priced a session at one rate. Read it as a shape, not a result.
That shape suggests where to look, in order:
max effort is for when a wrong answer costs a
full turn.The bundle shows those numbers, offers ways to act on them, and gives you the instrument to check the result. It does not downgrade your model, silently compact your session, or clear it for you.
The status line is the whole state at a glance — context against the ceiling, the tier, the effort level, and both rate-limit windows:
Opus 5.5 | high | [#####.....] 78k/150k 52% | routine | 5h 34% | 7d 12%
From 70% it adds one line:
Opus 5.5 | high | [########..] 132k/150k 88% | routine | 5h 61% | 7d 22%
-> to continue in a fresh session later: /wrap when this unit is done
At the ceiling that line becomes
-> ceiling reached. To continue in a fresh session: /wrap, then /clear. That is the
real output of statusline.ps1 for a sample session, with the colour codes stripped.
The bar turns yellow at 70% and red at 90%.
7-day copy clicks
Plugins from other owners that cover similar ground
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub yahyalendani/opus-tuner-claude-skill --plugin opus-tuner