time-machine
by DiegoMarty · ★ 206 · updated 2 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/after-for-claude-code/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/after-for-claude-code
- Path in repo
plugins/time-machine- Source commit
9306204the 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/after-for-claude-code
context-meter
midudev/after-for-claude-code
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.
narrator
midudev/after-for-claude-code
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.