time-machine

by xzwache · ★ 0 · updated 2 days ago

PanesBandsStatus lineGuardsCommandsPromptvalidates

0

Every Claude turn becomes a snapshot: review what changed step by step, undo it, or travel back. Local, zero tokens.

install time-machine

Install

/plugin marketplace add xzwache/claude-time-machine
/plugin install time-machine@claude-time-machine

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

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.startprompt.submitturn.startturn.completetool.callcommand.runui.render
API calls
$.command.register$.env.get$.fs.exists$.fs.write$.process.run$.session.id$.session.root$.session.version$.state.get$.state.set$.store.delete$.store.get$.store.set$.ui.copy$.ui.log$.ui.open$.ui.resolve$.ui.status$.ui.toast
Draws
AbovePromptPane
Can see
every promptWrite callsEdit callsNotebookEdit callsBash calls
Reach
level 2 of 3 other: $.state.getother: $.state.setruns processeswrites filesreads filesreads env varspersists 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/xzwache/claude-time-machine
Path in repo
repository root
Author
@xzwache
License
MIT
First published
Last pushed
First listed here
On X
Mentioned in 1 post on X

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.

Posts about this repo

Andrew@yahorre

@bcherny Really nice feature. I made the time-machine because /rewind doesn't support bash and per-file reverts https://github.com/xzwache/claude-time-machine