context-saver

by naoanao · ★ 0 · updated 12 Oct 2026

BandsGuardswarnings

0

Keeps Claude Code sessions light: a line above the prompt with context and usage, a heads-up and an automatic compaction before the window fills, a stop on reading huge files whole, and long shell output cut to its head and tail.

install context-saver

Install

/plugin marketplace add naoanao/context-saver
/plugin install context-saver@context-saver

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.completeui.rendertool.call
API calls
$.fs.exists$.fs.read$.session.compact$.session.usage$.ui.invalidate$.ui.resolve$.ui.toast
Draws
AbovePrompt
Can see
Read callsBash|PowerShell calls
Reach
level 2 of 3 drives Claudereads filesdraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/naoanao/context-saver
Path in repo
repository root
Source commit
9baf028 the exact code the scan read
Author
@naoanao
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.