claudecodemods.dev

All mods / melodic-software/claude-code-plugins

context-budget

SAFE

★ 26 by Melodic Software Repository ↗ Mod source ↗

Context & compaction

Description

Measures a Claude Code session's fixed startup context payload per item at a pinned binary version, including per-tool attribution of the built-in tool pools that /context reports only as totals, derived by A/B deny differencing. Falls back from an SDK meter to a headless /context parser, then to an error rather than a wrong number. Keeps a before/after ledger per lever. Shows a live context breakdown in a pane or above the prompt. Report-only by default; fix applies one approved project trim.

What it can do

Reach level 1 — reads What does this mean? →

reads mod statedraws

Can see: every prompt

Raw API calls (9) +
  • $.command.register
  • $.session.usage
  • $.state.get
  • $.state.set
  • $.ui.close
  • $.ui.open
  • $.ui.panes
  • $.ui.resolve
  • $.ui.toast

Static check passed on Claude Code 2.1.302.

Install

$/plugin marketplace add melodic-software/claude-code-plugins
$/plugin install context-budget

Check the repo for the exact name.

Details

Repository
melodic-software/claude-code-plugins
Path in repo
plugins/context-budget
License
MIT
Last updated
Oct 18, 2026
First seen
Oct 13, 2026
Last scanned
Oct 19, 2026

Related mods — reach level 1

Capability data is machine-generated by static analysis and may be incomplete. A SAFE badge is not a guarantee — read the code before installing anything with broad access. Not affiliated with Anthropic.

Found a mistake in this listing or verdict? Report an issue →