context-keeper Claude Code mod
Shows context usage and helps prepare handoff checkpoints.
- session.start
- command.run
- turn.complete
- session.compact
- ui.render
Install commands
Enter these two lines in the Claude Code prompt, in order.
/plugin marketplace add mishgoldenberg/claude-mods
/plugin install context-keeper@claude-modsReview the source before installing. Installation guide →
Source & updates
- Last updated
- 2026-10-06
- License
- MIT
- Plugin version
- 0.1.2
- Claude Code
- 2.1.287+
- Source
0954c97- Repository stars
- 5 · Repository contains 12 mods in this directory
A usage estimate is not a billing statement.
Source files
Source inventory
Declared events: session.start | command.run{command=ctx} | command.run{command=checkpoint} | command.run{command=resume-checkpoint} | turn.complete | session.compact | ui.render{component=Pane | requestId=context-keeper}
Declared API calls: $.clock.now (via archive | refresh | writeHandoff) | $.command.register | $.command.run | $.fs.write (via archive | $.model.fork (via writeHandoff) | $.prompt.fill | $.prompt.suggest | $.session.id (via writeHandoff) | $.session.root | $.session.turns (via writeHandoff) | $.session.usage (via refresh) | $.state.get | $.state.set | $.store.get | $.store.set (via remember) | $.ui.log | $.ui.open | $.ui.resolve | $.ui.status | $.ui.toast
Can write files evidence
await $.fs.write(path, header + result.text)await $.fs.write(path, `# Transcript archived before compaction\n\n${lines.join('\n')}`)Can access the network evidence
const result = await $.model.fork({ prompt: HANDOFF_PROMPT })Can change prompts evidence
await $.prompt.fill({ text: `Read ${latest.path} and continue the work from where it left off. Confirm the next step before acting.` })onPress={() => void $.prompt.fill({ text: `Read ${cp.path} and continue the work from where it left off. Confirm the next step before acting.` })}Review methodology · Source and updates · Runtime limits · Function hooks guide