context-optimizer 1.0.2
Keeps the context lean automatically: trims noise, picks the right moment to compact and shows the tokens it saved.
Install
/plugin marketplace add Plagemes/claude-mods /plugin install context-optimizer@claude-mods
Run both lines inside Claude Code.
Hooks into
- Pane
- Prompt
- Tool calls
- Toasts
- Slash commands
Also in Plagemes/claude-mods
- mod-store 1.4.2 An in-terminal app store: browse, search, install and update every Claude Mod from GitHub. 1
- secret-shield 1.1.1 Blocks edits and writes that would commit API keys, tokens or private keys. 1
- env-guard 1.1.1 Protects .env files, SSH keys and credential stores from being read or modified. 1
- rm-rf-guard 1.1.1 Blocks catastrophic shell commands like rm -rf /, mkfs, dd to disks and chmod -R 777. 1
- force-push-guard 1.1.1 Forbids force-pushing to protected branches and suggests --force-with-lease. 1
- prod-guard 1.1.1 Stops production-affecting commands (terraform apply, kubectl on prod, DROP TABLE) unless explicitly allowed. 1
- redactor 1.1.1 Masks secrets and personal data in tool results before the model ever reads them. 1
- path-jail 1.1.1 Allows writes only inside the project root, resolving symlinks and .. tricks. 1
- curl-pipe-guard 1.1.1 Blocks piping downloaded scripts straight into a shell. 1
- dependency-sentinel 1.1.1 Flags typosquatted or brand-new packages before npm, pip or cargo installs them. 1
More usage & cost mods
- token-weather 0.1.0 A live forecast of the context window, drawn above the prompt. 246.5k
- artifact-dashboard 0.1.0 A one-line summary of the project's shared Kanban artifact above the prompt, read through Claude's own ArtifactData tool 538
- token-weather 0.1.0 A live forecast of the context window, drawn above the prompt: a weather icon, the fill percentage, and a chart of the last turns. 179
- context-bar 0.1.1 Your context window as a stacked bar above the prompt, a color per category, with token counts and the compaction point. /context-bar shows or hides it. 170
- tw-stock-mod 0.13.5 mod + skill Watchlist band above the Claude Code prompt: Taiwan hours show the Taiwan list (紅漲綠跌), US hours show the US list (綠漲紅跌), in a broker-style table with a Solari split-flap footer, plus a 損益 mode (P&L view) for your holdings. 20 symbols a market, 10 on screen at a time. Live prices from Yahoo by def... 64