Claude Code mod
context-saver
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
/plugin marketplace add naoanao/context-saver
/plugin install context-saver@context-saverMods install like plugins. Run /reload-plugins or start a new session to load it.
What it can access
- Reach
- L2Writes or runs: drives Claude, reads files, draws
- Sees
- Read calls, Bash|PowerShell calls
- Draws in
AbovePrompt- Hooks
session.startturn.completeui.rendertool.call
From a static scan of the mod's code by awesome-claude-code-mods. It shows what the code asks for, not a security review.
How Claude Code mods work
- A mod is a plugin with a JavaScript or TypeScript module that runs inside Claude Code (version 2.1.287 or later). It can draw panes beside the transcript, a band above the prompt, buttons and toasts, restyle the spinner and tool rows, and watch or rewrite tool calls and prompts.
- It installs like any plugin: add its marketplace with /plugin marketplace add owner/repo, then /plugin install name@marketplace.
- Check what a mod can reach before installing: it runs with your permissions. Reach goes from drawing only, to reading files, to writing files or running processes, to the network. Run claude plugin validate on a clone to list its hooks and calls without running it.
- Turn one off from the Installed tab in /plugin, or start Claude Code with --safe-mode to skip every customization for a session.
Details
- Repository
- naoanao/context-saver
- Folder
.- Marketplace
context-saver- Author
- naoanao
- License
- MIT
- Last updated
- 12 October 2026
- Listed in
- awesome-claude-code-mods
FAQ
What is context-saver?
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. It is a mod for Claude Code, from naoanao/context-saver on GitHub.
What can the context-saver mod access?
Its widest reach is "writes or runs" (drives Claude, reads files, draws). It sees Read calls, Bash|PowerShell calls. It draws in AbovePrompt. Like any mod, it runs with your permissions.
How do I install context-saver?
Inside Claude Code (v2.1.287 or later), run /plugin marketplace add naoanao/context-saver and then /plugin install context-saver@context-saver.
More context & usage mods
context-relay
retrocodes12/context-relay
Hands the work to a fresh session before a long context degrades the model, and carries on there.
context-status
filip-git-git/claude-context-status
Band above the prompt with the current model, effort, context window usage and the 5-hour and weekly limits
context-meter
tjanuki/claude-mod-context-meter
Shows the context window's fill after every turn and, past a threshold, says it is time to write a hand-off document and start a new session.
context-statusline
petritol/context-statusline
Colorized context-window and usage-limit band: model | project | ctx % [bar] used/total | session % | week %
context-meter
sp1e/context-meter
Context-window meter for every running Claude Code session, with Compact now, auto-compact and options
context-tokens
0xBADC0FFEE/claude-code-mods
Shows the context tokens in use beside the prompt footer of the desktop app, green under 100k, yellow to 150k, red beyond. Needs function hooks (early access).
Browse the most popular Claude Code mods, all context & usage mods, or the skills and MCP server directories.