keep-or-undo

by Ivan Sozza · ★ 0 · updated 22 days ago

PanesBandsGuardsCommandsvalidates

0

Per-session log of Claude's file changes, with Keep and Undo per file.

install keep-or-undo

Install

/plugin marketplace add ivan-szz/keep-or-undo
/plugin install keep-or-undo@keep-or-undo

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
tool.callsession.startsession.endturn.startturn.completecommand.runui.render
API calls
$.agent.list$.clock.now$.command.register$.env.get$.fs.exists$.fs.list$.fs.read$.fs.stat$.fs.write$.process.run$.session.append$.session.id$.session.root$.session.turns$.state.get$.state.set$.store.delete$.store.get$.store.keys$.store.set$.tool.list$.ui.log$.ui.open$.ui.resolve$.ui.toast
Draws
AbovePromptPane
Can see
Edit callsWrite callsNotebookEdit calls
Reach
level 2 of 3 runs processeswrites filesdrives Claudereads filesreads env varsreads 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/ivan-szz/keep-or-undo
Path in repo
repository root
Source commit
4665ed1 the exact code the scan read
Author
Ivan Sozza @ivan-szz
License
Apache-2.0
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.