Plakar Restore Workflows

Teaches the agent how to list, inspect, diff, and restore Plakar snapshots. Invoke when the user says "undo", "rollback", "restore", or "revert".

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "Plakar Restore Workflows" with this command: npx skills add misterflop/plakar-backup

Plakar Restore Workflows

This 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.

When to offer restore

Offer to restore from a Plakar snapshot when the user says anything like:

  • "undo that", "roll back", "revert to before", "restore my files"
  • "something went wrong, can we go back"
  • "the last tool call broke things"

Prerequisites

  • plakar must be in $PATH
  • The store path is available in plugin config as plakar.store
  • Always pass -no-agent to avoid requiring a running plakar agent daemon

CLI syntax (v1.0.6+)

All commands use the form:

plakar -no-agent at <store> <command> [options]

List all snapshots

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.

Inspect a snapshot's contents

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.

Diff two snapshots

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 a snapshot

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.

Example agent interaction

User: "The last edit broke my config file, can you undo it?"

  1. Run plakar -no-agent at <store> ls and show the most recent snapshots
  2. Ask: "Should I restore from snapshot <id> taken at <timestamp>?"
  3. On confirmation: plakar -no-agent at <store> restore -to <original-path> <id>
  4. Confirm the restore completed and invite the user to verify the file

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Security

Claw Soul Backup

Store encrypted OpenClaw workspace backups and restore them via token-secured API using claw-vault.com with local encryption and credential management.

Registry SourceRecently Updated
4580Profile unavailable
Automation

Boot Resume

Zero-cooperation session recovery after gateway restart. No checkpoints, no hooks, no agent involvement — just reads the evidence and picks up where it left...

Registry SourceRecently Updated
1881Profile unavailable
Automation

Agent Life

Backup, sync, and restore agent memory and state to the cloud using the Agent Life Format (ALF). Use when asked to back up agent data, sync memory to the clo...

Registry SourceRecently Updated
2901Profile unavailable
Automation

Self-Repair System — Autonomous AI Automation

Automated self-diagnostics: restarts crashed Ollama, repairs broken configs, verifies workspace integrity, recovers from common failures.

Registry SourceRecently Updated
4500Profile unavailable