Install
openclaw skills install @daniel-refahi-ikara/dr-agent-backupopenclaw skills install @daniel-refahi-ikara/dr-agent-backupUse when setting up, auditing, repairing, or restoring backup continuity for a Daniel-owned agent.
Goal: agent memory and workspace state should survive VM loss or migration. Restore should be boring: clone/pull the repo, restore secrets separately, verify the agent starts, and reindex memory if needed.
Default include list:
AGENTS.mdSOUL.mdUSER.mdTOOLS.mdMEMORY.mdHEARTBEAT.md when presentmemory/**/*.mdmemory/**/*.json only when it is intentional durable statecontext_pipeline/**automation/** excluding runtime outputs and secretsskills/** for workspace-local skillsdoc_reviews/** when used as active review stateDefault exclude list:
.env, *.env, gateway.systemd.env, and backups of env filesnode_modules/, package caches, build outputs.gitignore that blocks secrets and runtime state.Commit after meaningful changes to:
Do not commit after every tiny transient log line if it adds noise. Batch related memory edits when they happen in one task.
Recommended commit message style:
memory: capture gateway restore and embedding fix
agent: update baseline behavior notes
backup: add Azure DevOps restore procedure
skill: revise agent baseline proposal
Run these checks before committing:
git status --short.gitignore, confirm it covers known OpenClaw secrets and runtime state.If a secret appears staged, stop and unstage it. Do not rely on later cleanup.
openclaw memory status --index
openclaw memory index --force
Agents should run safe git checks and commits themselves when they have access.
Ask Daniel before:
For an existing agent, audit backup health by checking:
.gitignore strong enough?Report the result as:
Keep it short unless Daniel asks for full detail.
This skill does not replace VM snapshots or system-level backups. It protects the agent's durable working memory and configuration source, not every runtime artifact.
This skill does not store secrets in git.