What is better-rewind?
better-rewind is a Claude Code mod by hamTotk that rewind or summarize from any prompt, tool call or AskUserQuestion answer, with a reply preview and saved branches. It is listed under Context & memory and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | hamTotk |
| Repository | hamTotk/better-rewind |
| Popularity | no public popularity data yet |
| Category | Context & memory |
| Security | Review before installing (72/100) |
| Rank | #6,182 of 9,397 Claude Code mods; #547 in Context & memory |
| License | MIT |
| Last commit | 2026-10-11 |
| Hooks | 10 events |
| Sees | compaction, every tool call |
| Draws on | Pane |
Is better-rewind safe to install?
better-rewind scores 72/100 on the MCPMods security check: Review before installing. Things to review: starts processes outside the sandbox; writes files or config. It passed 5 of 8 checks.
Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts processes outside the sandbox | Review |
| Writes files or config | Review |
| Doesn't read environment variables | Pass |
| Only sees the events it hooks | Pass |
| Drives Claude (model calls, prompts) | Note |
| Passes claude plugin validate | Pass |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.command.register | |
$.command.run | drives Claude |
$.fs.exists | reads files |
$.fs.read | reads files |
$.fs.stat | reads files |
$.fs.write | writes files |
$.process.run | runs processes |
$.prompt.fill | writes the prompt box |
$.prompt.submit | drives Claude |
$.session.id | |
$.state.get | |
$.state.set | |
$.ui.close | draws interface |
$.ui.focus | draws interface |
$.ui.log | draws interface |
$.ui.open | draws interface |
$.ui.resolve | draws interface |
$.ui.status | draws interface |
$.ui.toast | draws interface |
How do I install better-rewind?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/hamTotk/better-rewind claude plugin validate ./better-rewind/.
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add hamTotk/better-rewind && claude plugin install better-rewind@better-rewind
Or ask Claude to set it up
Paste this into Claude Code and it installs better-rewind for you:
Install the "better-rewind" Claude Code mod from https://github.com/hamTotk/better-rewind. Run claude plugin validate on it first and show me what it can access before you enable it.