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 melodic-software Verified Orgv2.1.1MITIn 1 marketplace
Measures which startup context items cost the most, per-tool for the built-in pools /context only totals. Keeps a before/after ledger per trim and edits project settings only after you approve one fix. Needs node; the live breakdown needs Claude Code 2.1.287 or later.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
1 critical to review before installing
JavaScript or TypeScript that runs inside Claude Code as you, unsandboxed. Read from its source, it reads or rewrites your prompts.
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.
Claude Code asks for these when you enable the plugin. Sensitive values are stored in your system keychain.
Live context displaylive_display
Where the live context breakdown shows. pane opens it in a pane when you run /context-budget live; band keeps it above the prompt; off shows nothing and measures nothing. /context-budget live pane, band or off changes it for the session.
One of pane, band, off
stringdefault pane
Measure a Claude Code session's fixed startup context payload per item, on your machine, at a pinned binary, and record what every trim actually saved.
This plugin attributes the built-in tool pools, System tools and System tools (deferred), per
tool, because /context reports them only as totals. The rest of the breakdown stays with the
built-in /context command; what it itemizes is read at its row in
commands § All commands. The plugin
attributes the pools by A/B differencing: a baseline headless session versus one session per candidate
tool with that tool denied by bare name. The two attributed buckets compose differently:
deferred-side deltas add, so a basket's deferred saving is the sum of its members, while
prefix-side deltas double-count, so their sum is only an upper bound on the basket's prefix
saving.
/plugin marketplace add melodic-software/claude-code-plugins
/plugin install context-budget@melodic-software
/context-budget:setup. Read-only prerequisite check: node (the engine's runtime), the
claude CLI the engine measures against, and the optional Agent SDK that enables exact mode.
Installs nothing. The guardrails plugin's settings-write ask covers the project settings
/context-budget:audit fix edits./context-budget:audit. Take a stamped baseline snapshot, attribute the built-in tool pools
over the live tool list, present catalogue levers with their honesty categories, and ledger
any before/after the operator produces. Read-only on bare invocation: it prints exact config
(for persistent denies, a permissions.deny entry) and applies nothing. With the explicit
fix argument, a guided per-lever walkthrough may edit project settings after per-diff
approval. User-global ~/.claude/settings.json is only ever printed, and every applied lever
is re-measured and ledgered before the next.A mod shows what the session's context is made of right now, by category, with each category's tokens, share of the window and theme color. It needs Claude Code 2.1.287 or later; mods are unsupported below that, and the plugin ships no shim (ADR 0052).
The live_display option picks where it shows:
pane (default). /context-budget live opens or closes a pane. Its header reads
◆ context <used> of <window> · compacts at <threshold> <percent>%, with the "compacts at" part
only when auto-compaction is on. Each category follows with its tokens, percent and color;
deferred categories are listed dimmed with "deferred" in place of a percent. In a session drawn
only in the Desktop app, the app's session details panel already shows this breakdown under
Context, so /context-budget live and live pane open no pane there and a toast points to that
panel and to live band.band. A bordered block of up to 5 rows above the prompt (header, bar, one-line legend), above
other plugins' rows, fitted to the available width, and out of the way while a survey prompt
shows. /context-budget live opens or closes the detail pane and leaves the band on;
/context-budget live off hides the band. This multi-row band is an opt-in exception to
the repository's one-row-per-mod display guidance
(mods). In the Desktop app the band is one line:
Context <used> / <window> · <percent>%, a colored bar with one segment per category, and on
hover the segment darkens and its name, tokens and percent show at the right.off. Nothing shows and nothing is measured./context-budget live pane, live band and live off set the mode for the session and survive a
hot reload. In off mode, /context-budget live shows a toast that says how to turn the display
on.
7-day copy clicks
npx claudepluginhub melodic-software/claude-code-plugins --plugin context-budgetPlugins 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.