# Undo Effects

Puts back files an agent deleted or overwrote: before write_file, patch and destructive terminal commands.

- Type: Plugin
- Version: 0.1.2
- Updated: 22 Nov 2026
- Publisher: Moodtuner997
- Category: Tools

[Contact us](https://www.ulpi.io/en/support#contact)

## What it does

Puts back files an agent deleted or overwrote: before write_file, patch and destructive terminal commands (rm, mv, cp, redirects, tee, sed -i, find -delete) it saves the affected files to a local store and lets the tool run unchanged; /undo-effects lists the effects and restores them, refusing to overwrite later edits unless forced and keeping a safety copy so a restore can be undone. Disclosure — no network; reads the contents of the files and directories a covered tool call is about to change; writes unencrypted copies of them under ULPI_HOME/plugin-data/undo-effects/ (files named like credentials, anything inside.ssh,.aws,.gnupg,.docker,.kube,.azure and.gcloud, files above 50 MB, node_modules,.venv and.git are skipped and reported); the same folder also keeps the paths and the first 100 characters of each terminal command, with secrets masked on a best-effort basis; runs no shell command and no background process; never blocks, rewrites or approves a tool call, and runs the tool even if a snapshot fails; covers the local terminal backend only; no telemetry.

## Review notes

What an owner reads and accepts before the install is approved.

- Ulpi has not reviewed this version: it is listed in the public plugin catalog, and the install still fetches it at its pinned commit, checks its shape and scans it before you approve

## More in Tools

- [Undo Send](https://www.ulpi.io/en/marketplace/plugins/undo-send): Undo Send for your agent: outward-facing actions.
- [unicode-ref](https://www.ulpi.io/en/marketplace/plugins/unicode-ref): @unicode: context references that spell text out character by character for the model.
- [Unified Inbox](https://www.ulpi.io/en/marketplace/plugins/unified-inbox): One inbox for the user's WhatsApp, Instagram and LinkedIn messages.

[All listings →](https://www.ulpi.io/en/marketplace) · [Publisher's guide →](https://www.ulpi.io/en/docs) · [Report a problem →](https://www.ulpi.io/en/security#report)
