Install
openclaw skills install plakar-backupTeaches the agent how to list, inspect, diff, and restore Plakar snapshots. Invoke when the user says "undo", "rollback", "restore", or "revert".
openclaw skills install plakar-backupThis skill covers restore operations only. Triggering snapshots is handled
automatically by the openclaw-plugin-plakar plugin — you do not need to run
plakar backup manually.
Offer to restore from a Plakar snapshot when the user says anything like:
plakar must be in $PATHplakar.store-no-agent to avoid requiring a running plakar agent daemonAll commands use the form:
plakar -no-agent at <store> <command> [options]
plakar -no-agent at <store> ls
Output: snapshot ID, timestamp, size, path. Present the list to the user and ask which snapshot to restore from.
plakar -no-agent at <store> ls <snapshotID>
plakar -no-agent at <store> ls -recursive <snapshotID>:/path
Use this to confirm the snapshot contains the expected state before restoring.
plakar -no-agent at <store> diff <snapshotID1> <snapshotID2>
plakar -no-agent at <store> diff -highlight <snapshotID1>:/file <snapshotID2>:/file
Use this to show the user what changed between two points in time.
Restore all files to the original paths:
plakar -no-agent at <store> restore <snapshotID>
Restore to a specific directory:
plakar -no-agent at <store> restore -to /tmp/restore-here <snapshotID>
Restore a specific path within a snapshot:
plakar -no-agent at <store> restore -to /tmp/restore-here <snapshotID>:/path/to/file
Always confirm with the user before running a restore — it overwrites live files.
User: "The last edit broke my config file, can you undo it?"
plakar -no-agent at <store> ls and show the most recent snapshots<id> taken at <timestamp>?"plakar -no-agent at <store> restore -to <original-path> <id>