claudemods

All Claude Code modsrathialok901/claudemods

undo-last

A Claude Code mod in rathialok901/claudemods

Saves files before Claude edits them so /undo-last can put back the last turn's changes

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

Install hint

/plugin install undo-last --marketplace rathialok901/claudemods

From the repository's own marketplace. Confirm the plugin name in the repository's README before installing. Mods need Claude Code 2.1.287 or later.

Access

L2 Writes or runsruns processes, writes files, reads files, reads env vars, reads mod state

Validation

Passed with warnings

View the source on GitHub Back to the list

What the scan recorded

Observed events
every prompt, Edit calls, Write calls
Hooks
session.start, prompt.submit, tool.call {tool=Edit}, tool.call {tool=Write}, command.run {command=undo-last}, command.run {command=checkpoints}
API calls
$.clock.now, $.command.register, $.env.get, $.fs.exists, $.fs.read, $.fs.stat, $.fs.write, $.process.run, $.state.get, $.state.set
Validation
Passed with warnings
Scanned revision
5c821bd77148
Marketplace warnings
claudemods

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 rathialok901/claudemods

Badge for your README

Reach badge for undo-last Validation badge for undo-last

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/rathialok901--claudemods--undo-last-reach.svg)](https://mods.aidojo.si/mods/rathialok901--claudemods--undo-last/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/rathialok901--claudemods--undo-last-validates.svg)](https://mods.aidojo.si/mods/rathialok901--claudemods--undo-last/)