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.

Do you maintain contextsaver?

Add this badge to your README so users can jump to this page for the install command and access report.

Listed on ccmods.app
[![Listed on ccmods.app](https://ccmods.app/badge.svg)](https://ccmods.app/mods/contextsaver)

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

token-pilot

Digital-Threads/token-pilot

5

Cuts code-reading tokens: big Reads come back as outlines, heavy Grep and Bash calls are redirected, and savings show above the prompt.

UIPromptToolsBroad access
$ claude plugin install token-pilot --marketplace Digital-Threads/token-pilot

context-view

kongyo2/context-view

1

Shows context window usage as a meter above the prompt, with tokens used and tokens left before auto-compact.

UIPromptToolsModerate access
$ claude plugin install context-view --marketplace kongyo2/context-view