Restore files Hermes Agent deletes or overwrites with one command
What it does
The undo-effects plugin saves a copy of a file before a tool call deletes, overwrites, moves or edits it. When needed, /undo-effects restore brings the file back with one command. A file you have edited yourself since is left alone.
Why it's worth it
If Hermes Agent deletes or overwrites a file, one command puts it back. The undo-effects plugin saves a copy before a tool call deletes, overwrites, moves or edits a file.

Step by step
Paste it into Hermes Agent and swap the highlighted parts for your own details.
Before you start Have the undo-effects plugin from the Hermes plugin catalog installed in Hermes Agent.
Get Hermes Agent to:
- In my [folder path], locate [file name] and show me its current path before you change anything.
- List exactly which files you will delete or overwrite, including their current paths and file sizes, so I can review the plan.
- Confirm undo-effects saves a backup copy before you delete, overwrite, move or edit each file.
- Once I approve, delete [file name] and report that undo-effects saved a backup of it.
- Summarize which files were deleted or overwritten, where each was originally located, and that undo-effects saved backups, so I can run /undo-effects restore if needed.
Expected resultA deleted or overwritten file comes back with /undo-effects restore, and a file you edited yourself since is left alone.