contextsaver

by Almog Baku · ★ 25 · updated 8 days ago

PanesBandsGuardsCommandsPromptvalidates

0

Diagnoses wrong processes, workflows and habits in Claude Code sessions: fires on plan acceptance, workflow launches, pace complaints and the clock, names the lean alternative with its measured cost, and lets the user fix it in one click.

install contextsaver

Install

/plugin marketplace add AlmogBaku/ContextSaver
/plugin install contextsaver@contextsaver

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

What it hooks into

From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.

Events
session.startturn.starttool.callturn.completeagent.spawnsession.compactprompt.submitui.rendercommand.runui.close
API 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
Draws
AbovePromptPane
Can see
every tool callsubagent spawnscompactionevery prompt
Reach
level 2 of 3 writes filesdrives Claudereads filesreads env varsreads the transcriptpersists statedraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/AlmogBaku/ContextSaver
Path in repo
repository root
Author
Almog Baku @AlmogBaku
License
MIT
First published
Last pushed
First listed here

Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.