Skip to content
ccmods.app

contextsaver

Stops wasteful tool calls in real time so Claude Code spends fewer tokens on work that does not help.

by @AlmogBaku26Updated Broad accessGitHub

Installation

  1. Install from your shell (answer y to add the marketplace)

    $ claude plugin install contextsaver --marketplace AlmogBaku/ContextSaver

Already in a session? Type this at the Claude Code prompt:

$ /plugin install contextsaver --marketplace AlmogBaku/ContextSaver

Pick a scope and the mod is active right away. Needs Claude Code 2.1.287 or later, in a terminal. Full install guide

contextsaver running in Claude Code
Image from the project README

What does contextsaver do?

  • Cards in a pane beside the transcript name wasteful processes and habits, with their context and time cost
  • Fix sends the suggested instruction, Fix… lets you reword it, Ignore drops the card for the session
  • Habit fixes ride every later prompt and every new subagent's prompt; the card shows "sent ×N"
  • A decision can be saved as a CLAUDE.md rule, skill, agent brief or permission rule when you click Write
  • /saver toggles the pane; /saver check, fix, ignore, debug and reset manage cards and session state

What do you need?

  • Claude Code 2.1.287 or later (terminal)

What can this mod access?

Read from the mod's code with claude plugin validate on Claude Code 2.1.296, synced Oct 12, 2026. This is a capability list, not a security audit. Mods run with your permissions, so install only from authors you trust.

Broad access
  • Writes files
  • Intercepts or rewrites tool calls
  • Reads or rewrites your prompts
  • Reads files
  • Reads environment variables or settings
  • Calls models on your plan (uses quota)
  • Reads your conversation
Hooks and engine calls (12 + 19)

hooks

  • agent.spawn
  • command.run{command=?}
  • command.run{command=clear|resume}
  • prompt.submit
  • session.compact
  • session.start
  • tool.call
  • turn.complete
  • turn.start
  • ui.close{id=?}
  • ui.render{component=AbovePrompt}
  • ui.render{component=Pane, requestId=?}

calls

  • $.clock.now
  • $.clock.sleep
  • $.command.register
  • $.env.get
  • $.fs.exists
  • $.fs.read
  • $.fs.write
  • $.model.fork
  • $.session.messages
  • $.session.usage
  • $.store.get
  • $.store.set
  • $.ui.close
  • $.ui.focus
  • $.ui.invalidate
  • $.ui.log
  • $.ui.open
  • $.ui.resolve
  • $.ui.toast

How do you uninstall contextsaver?

$ claude plugin uninstall contextsaver

To switch it off without removing it, use claude plugin disable with the same name.

token-optimizer

alexgreensh/token-optimizer

2.5k

Finds where your context tokens go, trims the waste, and helps sessions survive compaction without losing quality.

UIPromptToolsBroad access
$ claude plugin install token-optimizer --marketplace alexgreensh/token-optimizer

navigator

qf-studio/navigator

356

Context engineering for Claude Code that keeps long sessions on track so work gets finished instead of derailed.

UIPromptToolsBroad access
$ claude plugin install navigator --marketplace qf-studio/navigator

lcm

lossless-claude/lcm

54

Lossless context management for Claude Code: keep the full history reachable instead of losing it to compaction.

PromptToolsWorkflowBroad access
$ claude plugin install lcm --marketplace lossless-claude/lcm