time-machine

time-machine is a Claude Code mod by xzwache that every Claude turn becomes a snapshot: review what changed step by step, undo it, or travel back. Local, zero tokens.

Updated 2026-10-06

What is time-machine?

time-machine is a Claude Code mod by xzwache that every Claude turn becomes a snapshot: review what changed step by step, undo it, or travel back. Local, zero tokens. It is listed under Cost & usage and has 1 GitHub stars.

TypeClaude code mod
Authorxzwache
Repositoryxzwache/claude-time-machine
Popularity1 GitHub stars
CategoryCost & usage
SecurityHigh risk (52/100)
Rank#2,400 of 5,272 Claude Code mods; #405 in Cost & usage
LicenseMIT
Last commit2026-10-06
Stars this week+1
Hooks7 events
SeesBash calls, Edit calls, NotebookEdit calls, Write calls, every prompt
Draws onAbovePrompt, Pane

Is time-machine safe to install?

time-machine scores 52/100 on the MCPMods security check: High risk. Things to review: starts processes outside the sandbox; writes files or config; reads environment variables; watches every prompt or event. It passed 4 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.

CheckResult
No network accessPass
Starts processes outside the sandboxReview
Writes files or configReview
Reads environment variablesReview
Watches every prompt or eventReview
Doesn't drive ClaudePass
Passes claude plugin validatePass
Has an open-source licensePass

API calls in its code

CallWhat it means
$.command.register
$.env.getreads env vars
$.fs.existsreads files
$.fs.writewrites files
$.process.runruns processes
$.session.id
$.session.root
$.session.version
$.state.get
$.state.set
$.store.deletekeeps its own state
$.store.getkeeps its own state
$.store.setkeeps its own state
$.ui.copydraws interface
$.ui.logdraws interface
$.ui.opendraws interface
$.ui.resolvedraws interface
$.ui.statusdraws interface
$.ui.toastdraws interface

How do I install time-machine?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/xzwache/claude-time-machine
    claude plugin validate ./claude-time-machine/.
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add xzwache/claude-time-machine && claude plugin install time-machine@claude-time-machine

Or ask Claude to set it up

Paste this into Claude Code and it installs time-machine for you:

Install the "time-machine" Claude Code mod from https://github.com/xzwache/claude-time-machine. Run claude plugin validate on it first and show me what it can access before you enable it.