time-machine
by DiegoMarty · ★ 284 · updated 6 days ago
Every turn that changes files is a git snapshot off your history: /timeline shows them and puts the working tree back as it was before any turn, Bash changes included. Undoable.
Install
/plugin marketplace add midudev/better-claude/plugin install time-machine@better-claudeThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
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.startsession.endprompt.submitturn.starttool.callturn.completecommand.runui.focusui.closeui.render- API calls
$.clock.after$.clock.every$.clock.now$.command.register$.fs.exists$.fs.list$.process.run$.session.cwd$.session.id$.state.get$.state.set$.store.delete$.store.get$.store.keys$.store.set$.ui.open$.ui.resolve$.ui.toast- Draws
Pane- Can see
every promptevery tool call- Reach
- level 2 of 3 runs processesreads filesreads mod statepersists statedraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/midudev/better-claude
- Path in repo
plugins/time-machine- Source commit
5386e15the exact code the scan read- Author
- DiegoMarty @midudev
- 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.
More from midudev/better-claude
after
midudev/better-claude
A real prompt queue for Claude Code: /after runs it after the current task, without steering. See, reorder and remove queued tasks from a band and a live pane, in plain language.
context-meter
midudev/better-claude
The session's context window fill, right above the prompt: gray while there is room, yellow when it is time to /compact, red when a new session is better.
image-preview
midudev/better-claude
Hover a pasted [Image #N] to see the picture: above the prompt while you write, and on the prompts you sent.
narrator
midudev/better-claude
Click ⏸︎ narrator off in the footer, or /narrator, and after each turn Claude tells you out loud what it did, in your language, with the best free voice your system has: Siri's on macOS, Narrator's on Windows, speech-dispatcher's on Linux.
quick-peek
midudev/better-claude
The paths in Claude's replies become links: hover one to preview it, click it to show it in Finder.
sub-meter
midudev/better-claude
Your subscription usage at the bottom right of Claude Code: the 5-hour and weekly windows, taking turns, side by side or fixed on one of them.
think-hard
midudev/better-claude
Start a prompt with + and that turn thinks at max effort. Other prompts keep the session's effort.
token-meter
midudev/better-claude
Each turn's tokens and the session's running total, in color at the end of the hint line under the prompt.
use-haiku
midudev/better-claude
Start a prompt with _ and that turn runs on Haiku, shown as you type, while it runs and under the answer.