context-keeper is a Claude Code usage mod by mishgoldenberg.
Opens a pane of what fills the context window with tips to trim it, and saves a handoff note of the goal, decisions, files, and TODOs to .claude/checkpoints/.
It runs inside the Claude Code process. The side panel is only what the author's README names. Read the repo before you install, or run claude plugin validate on the plugin folder.
Version
0.1.2
License
MIT
Repo stars
11
Last change
2026-10-05
What it can reach
Draws in the session
Reads usage or context figures
Needs Claude Code 2.1.286 or newer. Restart Claude Code after installing. The README's main install adds mod-manager and picks mods from its /mods pane; this line is from its loop that installs every mod without the manager. Panels dock beside the chat in the desktop app or a terminal 144 columns wide or more, and open inline in narrower ones. Options appear in /config. Function hooks are early access, and a Claude Code update can break a mod. /ctx opens the pane, /checkpoint saves a handoff note now, and /resume-checkpoint loads the latest one into the prompt box after /clear. It toasts a tip when context passes 70%, set by warnAt, and writes a handoff note on its own at 85%, set by checkpointAt, 0 for off. The handoff note asks the model for a summary over the already-cached conversation, through your own session, so it is mostly cache reads. It also archives the raw transcript to .claude/checkpoints/ before every compaction, for zero tokens.
The marketplace name is claude-mods. The marketplace also holds mod-manager, which installs the others from a pane, and ten more mods. This one installs on its own. The README's loop installs every mod with claude plugin install "$m@claude-mods"; this page puts this mod's name in place of $m. What fills the context, and keeping the thread across /clear and /compact, is why this page files it under usage. context-lens pins how full the context window is and opens the breakdown by category. catnap has Claude write a handoff and compact at a clean break. This one saves the handoff note to a file you load back with /resume-checkpoint, and keeps the raw transcript before each compaction. In the source, the handoff note is a $.model.fork call.
Demo
From the author's repo.
What it hooks into
session.startWhen a session starts
command.runWhen you run its slash command/ctx/checkpoint/resume-checkpoint
turn.completeWhen a turn ends
session.compactWhen the context is compacted
ui.renderDraws into the sessionPane
Read from the on() calls in its hook modules. Open its source under Files to check what each one does.
Slash commands 3
/ctxOpen the context-keeper panel
/checkpointSave a handoff note of this session to .claude/checkpoints
/resume-checkpointLoad the latest checkpoint into the prompt box (use after /clear)
Files
The author's source, 3 files. They load when you open them.