claudemods

All Claude Code modsvincentlauriat/ModsTools

edit-undo

A Claude Code mod in vincentlauriat/ModsTools

Snapshots each file before Claude's Edit/Write/NotebookEdit and lets you undo the last change per file from a pane or /undo <path>, with a two-step confirm

edit-undo reaches L2 (writes or runs) and passed claude plugin validate with warnings.

To install it, open the repository and follow the author’s setup instructions. Mods need Claude Code 2.1.287 or later.

Access

L2 Writes or runsruns processes, writes files, reads files, reads mod state, draws

Validation

Passed with warnings

View the source on GitHub Back to the list

What the scan recorded

Observed events
Edit calls, Write calls, NotebookEdit calls
Hooks
session.start, tool.call {tool=Edit}, tool.call {tool=Write}, tool.call {tool=NotebookEdit}, command.run {command=undo}, ui.render {component=Pane, requestId=edit-undo}
API calls
$.clock.after, $.clock.now, $.clock.sleep, $.command.register, $.fs.exists, $.fs.read, $.fs.stat, $.fs.write, $.process.run, $.session.cwd, $.state.get, $.state.set, $.ui.close, $.ui.open, $.ui.resolve, $.ui.toast
Validation
Passed with warnings
Scanned revision
8c2da67a7b98

These are the hooks and API calls reported by claude plugin validate. Access levels describe the widest reach of those calls and are not safety ratings. Validation is a static check, not a runtime test, and a passing result does not prove that a mod works or is safe. What a mod can access and how the scan works.

More from vincentlauriat/ModsTools

See all 56 mods from vincentlauriat/ModsTools

Badge for your README

Reach badge for edit-undo Validation badge for edit-undo

Authors can show the latest scan result in their README. Each badge links to this page.

[![reach](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/vincentlauriat--ModsTools--edit-undo-reach.svg)](https://mods.aidojo.si/mods/vincentlauriat--ModsTools--edit-undo/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/vincentlauriat--ModsTools--edit-undo-validates.svg)](https://mods.aidojo.si/mods/vincentlauriat--ModsTools--edit-undo/)