{"id":"f8d23e09-31ef-4a43-a762-fa08aae6462d","entityType":"agent","slug":"clawhub-paudyyin-backup","name":"Backup","canonicalUrl":"https://www.xpersona.co/agent/clawhub-paudyyin-backup","canonicalPath":"/agent/clawhub-paudyyin-backup","generatedAt":"2026-10-11T17:41:52.826Z","source":"CLAWHUB","claimStatus":"UNCLAIMED","verificationTier":"NONE","summary":{"evidence":{"source":"editorial-content","verified":true,"confidence":"high","updatedAt":"2026-10-11T14:45:26.154Z","emptyReason":null},"description":"Backup and restore OpenClaw data. Use when user asks to create backups, set up automatic backup schedules, restore from backup, or manage backup rotation. Ha... Skill: Backup Owner: paudyyin Summary: Backup and restore OpenClaw data. Use when user asks to create backups, set up automatic backup schedules, restore from backup, or manage backup rotation. Ha... Tags: latest:1.1.0 Version history: v1.1.0 | 2026-06-19T02:16:08.620Z | auto - Removed the file skill-card.md. - No other functional or documentation changes in this release. v1.0.0 | 2026-06-19T01:15:53.144Z | auto Init","descriptionLabel":"Technical summary","evidenceSummary":"Capability contract not published. No trust telemetry is available yet. 1K downloads reported by the source. Last updated 10/11/2026.","installCommand":"clawhub skill install s172x1s50dh0bgmm3yc9516nr586kk4b:backup","sourceUrl":"https://clawhub.ai/paudyyin/backup","homepage":"https://clawhub.ai/paudyyin/skills/backup","primaryLinks":[{"label":"View on ClawHub","url":"https://clawhub.ai/paudyyin/backup","kind":"source"},{"label":"Homepage","url":"https://clawhub.ai/paudyyin/skills/backup","kind":"homepage"}],"safetyScore":84,"overallRank":62,"popularityScore":60,"trustScore":null,"claimedByName":null,"isOwner":false,"seoDescription":"Backup and restore OpenClaw data. Use when user asks to create backups, set up automatic backup schedules, restore from backup, or manage backup rotation. Ha..."},"coverage":{"evidence":{"source":"public-profile","verified":false,"confidence":"medium","updatedAt":"2026-10-11T14:45:26.154Z","emptyReason":null},"protocols":[{"protocol":"OPENCLEW","label":"OpenClaw","status":"self-declared","notes":"Declared in the public agent profile."}],"capabilities":[],"verifiedCount":0,"selfDeclaredCount":1,"capabilityMatrix":{"rows":[{"key":"OPENCLEW","type":"protocol","support":"unknown","confidenceSource":"profile","notes":"Listed on profile"}],"flattenedTokens":"protocol:OPENCLEW|unknown|profile"}},"adoption":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-11T14:45:26.154Z","emptyReason":null},"stars":null,"forks":null,"downloads":1047,"packageName":null,"latestVersion":"1.1.0","tractionLabel":"1K downloads"},"release":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-11T14:45:26.085Z","emptyReason":null},"lastUpdatedAt":"2026-10-11T14:45:26.154Z","lastCrawledAt":"2026-10-11T14:45:26.085Z","lastIndexedAt":null,"nextCrawlAt":"2026-10-12T14:45:26.085Z","lastVerifiedAt":null,"highlights":[{"version":"1.1.0","createdAt":"2026-06-19T02:16:08.620Z","changelog":"- Removed the file skill-card.md. - No other functional or documentation changes in this release.","fileCount":6,"zipByteSize":3745},{"version":"1.0.0","createdAt":"2026-06-19T01:15:53.144Z","changelog":"Initial release of OpenClaw backup skill. - Enables creating and restoring backups of OpenClaw configuration, credentials, and workspace. - Archives the `~/.openclaw` directory while excluding cache and log files. - Supports scheduling daily automated backups using OpenClaw cron. - Keeps the last 7 backups for automatic rotation. - Provides quick restore instructions and reference documentation for detailed recovery.","fileCount":6,"zipByteSize":3767}]},"execution":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No published capability contract is available yet."},"installCommand":"clawhub skill install s172x1s50dh0bgmm3yc9516nr586kk4b:backup","setupComplexity":"low","setupSteps":["Node.js workspace detected. Install dependencies securely: run `npm ci --ignore-scripts` to prevent post-install lifecycle triggers from running arbitrary code, then selectively audit the dependency tree.","Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.","Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data."],"contract":{"contractStatus":"missing","authModes":[],"requires":[],"forbidden":[],"supportsMcp":false,"supportsA2a":false,"supportsStreaming":false,"inputSchemaRef":null,"outputSchemaRef":null,"dataRegion":null,"contractUpdatedAt":null,"sourceUpdatedAt":null,"freshnessSeconds":null},"invocationGuide":{"preferredApi":{"snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-paudyyin-backup/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-paudyyin-backup/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-paudyyin-backup/trust"},"curlExamples":["curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-paudyyin-backup/snapshot\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-paudyyin-backup/contract\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-paudyyin-backup/trust\""],"jsonRequestTemplate":{"query":"summarize this repo","constraints":{"maxLatencyMs":2000,"protocolPreference":["OPENCLEW"]}},"jsonResponseTemplate":{"ok":true,"result":{"summary":"...","confidence":0.9},"meta":{"source":"CLAWHUB","generatedAt":"2026-10-11T17:41:52.826Z"}},"retryPolicy":{"maxAttempts":3,"backoffMs":[500,1500,3500],"retryableConditions":["HTTP_429","HTTP_503","NETWORK_TIMEOUT"]}},"endpoints":{"dossierUrl":"https://www.xpersona.co/api/v1/agents/clawhub-paudyyin-backup/dossier","snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-paudyyin-backup/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-paudyyin-backup/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-paudyyin-backup/trust"}},"reliability":{"evidence":{"source":"runtime-metrics","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No trust, reliability, or runtime telemetry is available."},"trust":{"status":"unavailable","handshakeStatus":"UNKNOWN","verificationFreshnessHours":null,"reputationScore":null,"p95LatencyMs":null,"successRate30d":null,"fallbackRate":null,"attempts30d":null,"trustUpdatedAt":null,"trustConfidence":"unknown","sourceUpdatedAt":null,"freshnessSeconds":null},"decisionGuardrails":{"doNotUseIf":["Contract metadata is missing or unavailable for deterministic execution."],"safeUseWhen":[],"riskFlags":["missing_or_unavailable_contract","trust_data_unavailable","schema_references_missing"],"operationalConfidence":"low"},"executionMetrics":{"observedLatencyMsP50":null,"observedLatencyMsP95":null,"estimatedCostUsd":null,"uptime30d":null,"rateLimitRpm":null,"rateLimitBurst":null,"lastVerifiedAt":null,"verificationSource":null},"runtimeMetrics":{"successRate":null,"avgLatencyMs":null,"avgCostUsd":null,"hallucinationRate":null,"retryRate":null,"disputeRate":null,"p50Latency":null,"p95Latency":null,"lastUpdated":null}},"benchmarks":{"evidence":{"source":"no-benchmark-data","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No benchmark suites or observed failure patterns are available."},"suites":[],"failurePatterns":[]},"artifacts":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"high","updatedAt":"2026-10-11T14:45:26.154Z","emptyReason":null},"readme":"Skill: Backup\n\nOwner: paudyyin\n\nSummary: Backup and restore OpenClaw data. Use when user asks to create backups, set up automatic backup schedules, restore from backup, or manage backup rotation. Ha...\n\nTags: latest:1.1.0\n\nVersion history:\n\nv1.1.0 | 2026-06-19T02:16:08.620Z | auto\n\n- Removed the file skill-card.md. \n- No other functional or documentation changes in this release.\n\nv1.0.0 | 2026-06-19T01:15:53.144Z | auto\n\nInitial release of OpenClaw backup skill.\n\n- Enables creating and restoring backups of OpenClaw configuration, credentials, and workspace.\n- Archives the `~/.openclaw` directory while excluding cache and log files.\n- Supports scheduling daily automated backups using OpenClaw cron.\n- Keeps the last 7 backups for automatic rotation.\n- Provides quick restore instructions and reference documentation for detailed recovery.\n\nArchive index:\n\nArchive v1.1.0: 6 files, 3745 bytes\n\nFiles: _meta.json (125b), package.json (301b), references/restore.md (879b), scripts/backup.sh (804b), skill-card.md (2022b), SKILL.md (1578b)\n\nFile v1.1.0:SKILL.md\n\n---\nname: openclaw-backup\ndescription: Backup and restore OpenClaw data. Use when user asks to create backups, set up automatic backup schedules, restore from backup, or manage backup rotation. Handles ~/.openclaw directory archiving with proper exclusions.\n---\n\n# OpenClaw Backup\n\nBackup and restore OpenClaw configuration, credentials, and workspace.\n\n## Create Backup\n\nRun the backup script:\n\n```bash\n./scripts/backup.sh [backup_dir]\n```\n\nDefault backup location: `~/openclaw-backups/`\n\nOutput: `openclaw-YYYY-MM-DD_HHMM.tar.gz`\n\n## What Gets Backed Up\n\n- `openclaw.json` — main config\n- `credentials/` — API keys, tokens\n- `agents/` — agent configs, auth profiles\n- `workspace/` — memory, SOUL.md, user files\n- `telegram/` — session data\n- `cron/` — scheduled tasks\n\n## Excluded\n\n- `completions/` — cache, regenerated automatically\n- `*.log` — logs\n\n## Setup Daily Backup with Cron\n\nUse OpenClaw cron for daily backups with notification:\n\n```json\n{\n  \"name\": \"daily-backup\",\n  \"schedule\": {\"kind\": \"cron\", \"expr\": \"0 3 * * *\", \"tz\": \"UTC\"},\n  \"payload\": {\n    \"kind\": \"agentTurn\",\n    \"message\": \"Run ~/.openclaw/backup.sh and report result to user.\"\n  },\n  \"sessionTarget\": \"isolated\",\n  \"delivery\": {\"mode\": \"announce\"}\n}\n```\n\n## Restore\n\nSee [references/restore.md](references/restore.md) for step-by-step restore instructions.\n\nQuick restore:\n\n```bash\nopenclaw gateway stop\nmv ~/.openclaw ~/.openclaw-old\ntar -xzf ~/openclaw-backups/openclaw-YYYY-MM-DD_HHMM.tar.gz -C ~\nopenclaw gateway start\n```\n\n## Rotation\n\nScript keeps last 7 backups automatically.\n\nFile v1.1.0:_meta.json\n\n{\n  \"ownerId\": \"kn73z7zhz92tv6skpnmpy5pdfh86j68x\",\n  \"slug\": \"backup\",\n  \"version\": \"1.1.0\",\n  \"publishedAt\": 1781835368620\n}\n\nFile v1.1.0:references/restore.md\n\n# Restore OpenClaw from Backup\n\n## Quick Restore\n\n```bash\n# 1. Stop OpenClaw\nopenclaw gateway stop\n\n# 2. Backup current (safety)\nmv ~/.openclaw ~/.openclaw-old\n\n# 3. Extract backup\ncd ~\ntar -xzf ~/openclaw-backups/openclaw-YYYY-MM-DD_HHMM.tar.gz\n\n# 4. Start OpenClaw\nopenclaw gateway start\n\n# 5. Verify\nopenclaw status\n```\n\n## Rollback if Restore Fails\n\n```bash\nrm -rf ~/.openclaw\nmv ~/.openclaw-old ~/.openclaw\nopenclaw gateway start\n```\n\n## What's in a Backup\n\n```\n~/.openclaw/\n├── openclaw.json      # Main config\n├── credentials/       # API keys, tokens\n├── agents/            # Agent configs, auth\n├── workspace/         # Memory, SOUL.md, files\n├── telegram/          # Telegram session\n└── cron/              # Scheduled tasks\n```\n\n## Excluded from Backup\n\n- `completions/` — API response cache (regenerated)\n- `*.log` — Log files\n\nFile v1.1.0:skill-card.md\n\n## Description:\n\nBackup and restore OpenClaw data. Use when user asks to create backups, set up automatic backup schedules, restore from backup, or manage backup rotation. Handles ~/.openclaw directory archiving with proper exclusions.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[paudyyin](https://clawhub.ai/user/paudyyin)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nDevelopers and OpenClaw users use this skill to create, rotate, schedule, and restore archives of local OpenClaw configuration, credentials, sessions, workspace data, and scheduled tasks.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Backups may contain credentials, tokens, sessions, private workspace files, and scheduled tasks from ~/.openclaw.\n\nMitigation: Store backups in an owner-only directory, encrypt archives, and avoid shared or synced locations unless separately protected.\n\nRisk: Restore instructions replace the active ~/.openclaw directory and include destructive rollback commands.\n\nMitigation: Verify the selected archive before restoring, keep the temporary ~/.openclaw-old copy until validation succeeds, and review commands before execution.\n\n## Reference(s):\n\n- [Restore OpenClaw from Backup](references/restore.md)\n\n## Skill Output:\n\n**Output Type(s):** [text, markdown, code, shell commands, configuration, guidance]\n\n**Output Format:** [Markdown with inline shell commands and JSON configuration examples]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [May create compressed backup archives in a user-selected backup directory when the shell script is executed.]\n\n## Skill Version(s):\n\n1.1.0 (source: server release metadata; artifact package metadata reports 1.0.0)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.\n\nFile v1.1.0:package.json\n\n{\r\n    \"name\":  \"backup\",\r\n    \"version\":  \"1.0.0\",\r\n    \"description\":  \"Backup and restore OpenClaw data. Use when user asks to create backups, set up automatic backup schedules, restore from backup, or manage backup rotation. Handles ~/.openclaw directory archiving with proper exclusions.\"\r\n}\n\nArchive v1.0.0: 6 files, 3767 bytes\n\nFiles: _meta.json (125b), package.json (301b), references/restore.md (879b), scripts/backup.sh (804b), skill-card.md (2138b), SKILL.md (1578b)\n\nFile v1.0.0:SKILL.md\n\n---\nname: openclaw-backup\ndescription: Backup and restore OpenClaw data. Use when user asks to create backups, set up automatic backup schedules, restore from backup, or manage backup rotation. Handles ~/.openclaw directory archiving with proper exclusions.\n---\n\n# OpenClaw Backup\n\nBackup and restore OpenClaw configuration, credentials, and workspace.\n\n## Create Backup\n\nRun the backup script:\n\n```bash\n./scripts/backup.sh [backup_dir]\n```\n\nDefault backup location: `~/openclaw-backups/`\n\nOutput: `openclaw-YYYY-MM-DD_HHMM.tar.gz`\n\n## What Gets Backed Up\n\n- `openclaw.json` — main config\n- `credentials/` — API keys, tokens\n- `agents/` — agent configs, auth profiles\n- `workspace/` — memory, SOUL.md, user files\n- `telegram/` — session data\n- `cron/` — scheduled tasks\n\n## Excluded\n\n- `completions/` — cache, regenerated automatically\n- `*.log` — logs\n\n## Setup Daily Backup with Cron\n\nUse OpenClaw cron for daily backups with notification:\n\n```json\n{\n  \"name\": \"daily-backup\",\n  \"schedule\": {\"kind\": \"cron\", \"expr\": \"0 3 * * *\", \"tz\": \"UTC\"},\n  \"payload\": {\n    \"kind\": \"agentTurn\",\n    \"message\": \"Run ~/.openclaw/backup.sh and report result to user.\"\n  },\n  \"sessionTarget\": \"isolated\",\n  \"delivery\": {\"mode\": \"announce\"}\n}\n```\n\n## Restore\n\nSee [references/restore.md](references/restore.md) for step-by-step restore instructions.\n\nQuick restore:\n\n```bash\nopenclaw gateway stop\nmv ~/.openclaw ~/.openclaw-old\ntar -xzf ~/openclaw-backups/openclaw-YYYY-MM-DD_HHMM.tar.gz -C ~\nopenclaw gateway start\n```\n\n## Rotation\n\nScript keeps last 7 backups automatically.\n\nFile v1.0.0:_meta.json\n\n{\n  \"ownerId\": \"kn73z7zhz92tv6skpnmpy5pdfh86j68x\",\n  \"slug\": \"backup\",\n  \"version\": \"1.0.0\",\n  \"publishedAt\": 1781831753144\n}\n\nFile v1.0.0:references/restore.md\n\n# Restore OpenClaw from Backup\n\n## Quick Restore\n\n```bash\n# 1. Stop OpenClaw\nopenclaw gateway stop\n\n# 2. Backup current (safety)\nmv ~/.openclaw ~/.openclaw-old\n\n# 3. Extract backup\ncd ~\ntar -xzf ~/openclaw-backups/openclaw-YYYY-MM-DD_HHMM.tar.gz\n\n# 4. Start OpenClaw\nopenclaw gateway start\n\n# 5. Verify\nopenclaw status\n```\n\n## Rollback if Restore Fails\n\n```bash\nrm -rf ~/.openclaw\nmv ~/.openclaw-old ~/.openclaw\nopenclaw gateway start\n```\n\n## What's in a Backup\n\n```\n~/.openclaw/\n├── openclaw.json      # Main config\n├── credentials/       # API keys, tokens\n├── agents/            # Agent configs, auth\n├── workspace/         # Memory, SOUL.md, files\n├── telegram/          # Telegram session\n└── cron/              # Scheduled tasks\n```\n\n## Excluded from Backup\n\n- `completions/` — API response cache (regenerated)\n- `*.log` — Log files\n\nFile v1.0.0:skill-card.md\n\n## Description: <br>\nBackup creates, rotates, and restores local OpenClaw data archives for configuration, credentials, workspace files, sessions, and scheduled tasks. <br>\n\nThis skill is ready for commercial/non-commercial use. <br>\n\n## Publisher: <br>\n[paudyyin](https://clawhub.ai/user/paudyyin) <br>\n\n### License/Terms of Use: <br>\nMIT-0 <br>\n\n\n## Use Case: <br>\nOpenClaw users and operators use this skill to create local backups, schedule daily backup runs, rotate saved archives, and follow restore or rollback steps. <br>\n\n### Deployment Geography for Use: <br>\nGlobal <br>\n\n## Known Risks and Mitigations: <br>\nRisk: Backup archives may contain API keys, tokens, session data, user files, and scheduled tasks. <br>\nMitigation: Store generated archives in an encrypted or access-controlled location and handle them like secrets. <br>\nRisk: Restore and rollback commands can replace or delete the active ~/.openclaw directory. <br>\nMitigation: Review the target archive and commands before running them, preserve the old ~/.openclaw directory until verification succeeds, and confirm OpenClaw status after restore. <br>\nRisk: Automatic rotation keeps only the last seven backup archives. <br>\nMitigation: Copy retention-critical backups to separate storage or adjust the retention process before relying on long-term recovery. <br>\n\n\n## Reference(s): <br>\n- [Restore OpenClaw from Backup](references/restore.md) <br>\n\n\n## Skill Output: <br>\n**Output Type(s):** [Shell commands, Configuration, Guidance] <br>\n**Output Format:** [Markdown with inline bash and JSON code blocks] <br>\n**Output Parameters:** [1D] <br>\n**Other Properties Related to Output:** [Backup script output includes a compressed tar.gz archive path, archive size, and retained backup count.] <br>\n\n## Skill Version(s): <br>\n1.0.0 (source: server release metadata and package.json) <br>\n\n## Ethical Considerations: <br>\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment. <br>\n\nFile v1.0.0:package.json\n\n{\r\n    \"name\":  \"backup\",\r\n    \"version\":  \"1.0.0\",\r\n    \"description\":  \"Backup and restore OpenClaw data. Use when user asks to create backups, set up automatic backup schedules, restore from backup, or manage backup rotation. Handles ~/.openclaw directory archiving with proper exclusions.\"\r\n}","readmeExcerpt":"Skill: Backup Owner: paudyyin Summary: Backup and restore OpenClaw data. Use when user asks to create backups, set up automatic backup schedules, restore from backup, or manage backup rotation. Ha... Tags: latest:1.1.0 Version history: v1.1.0 | 2026-06-19T02:16:08.620Z | auto - Removed the file skill-card.md. - No other functional or documentation changes in this release. v1.0.0 | 2026-06-19T01:15:53.144Z | auto Init","codeSnippets":[],"executableExamples":[{"language":"bash","snippet":"./scripts/backup.sh [backup_dir]"},{"language":"json","snippet":"{\n  \"name\": \"daily-backup\",\n  \"schedule\": {\"kind\": \"cron\", \"expr\": \"0 3 * * *\", \"tz\": \"UTC\"},\n  \"payload\": {\n    \"kind\": \"agentTurn\",\n    \"message\": \"Run ~/.openclaw/backup.sh and report result to user.\"\n  },\n  \"sessionTarget\": \"isolated\",\n  \"delivery\": {\"mode\": \"announce\"}\n}"},{"language":"bash","snippet":"openclaw gateway stop\nmv ~/.openclaw ~/.openclaw-old\ntar -xzf ~/openclaw-backups/openclaw-YYYY-MM-DD_HHMM.tar.gz -C ~\nopenclaw gateway start"},{"language":"bash","snippet":"# 1. Stop OpenClaw\nopenclaw gateway stop\n\n# 2. Backup current (safety)\nmv ~/.openclaw ~/.openclaw-old\n\n# 3. Extract backup\ncd ~\ntar -xzf ~/openclaw-backups/openclaw-YYYY-MM-DD_HHMM.tar.gz\n\n# 4. Start OpenClaw\nopenclaw gateway start\n\n# 5. Verify\nopenclaw status"},{"language":"bash","snippet":"rm -rf ~/.openclaw\nmv ~/.openclaw-old ~/.openclaw\nopenclaw gateway start"},{"language":"text","snippet":"~/.openclaw/\n├── openclaw.json      # Main config\n├── credentials/       # API keys, tokens\n├── agents/            # Agent configs, auth\n├── workspace/         # Memory, SOUL.md, files\n├── telegram/          # Telegram session\n└── cron/              # Scheduled tasks"}],"parameters":null,"dependencies":[],"permissions":[],"extractedFiles":[{"path":"SKILL.md","content":"---\nname: openclaw-backup\ndescription: Backup and restore OpenClaw data. Use when user asks to create backups, set up automatic backup schedules, restore from backup, or manage backup rotation. Handles ~/.openclaw directory archiving with proper exclusions.\n---\n\n# OpenClaw Backup\n\nBackup and restore OpenClaw configuration, credentials, and workspace.\n\n## Create Backup\n\nRun the backup script:\n\n```bash\n./scripts/backup.sh [backup_dir]\n```\n\nDefault backup location: `~/openclaw-backups/`\n\nOutput: `openclaw-YYYY-MM-DD_HHMM.tar.gz`\n\n## What Gets Backed Up\n\n- `openclaw.json` — main config\n- `credentials/` — API keys, tokens\n- `agents/` — agent configs, auth profiles\n- `workspace/` — memory, SOUL.md, user files\n- `telegram/` — session data\n- `cron/` — scheduled tasks\n\n## Excluded\n\n- `completions/` — cache, regenerated automatically\n- `*.log` — logs\n\n## Setup Daily Backup with Cron\n\nUse OpenClaw cron for daily backups with notification:\n\n```json\n{\n  \"name\": \"daily-backup\",\n  \"schedule\": {\"kind\": \"cron\", \"expr\": \"0 3 * * *\", \"tz\": \"UTC\"},\n  \"payload\": {\n    \"kind\": \"agentTurn\",\n    \"message\": \"Run ~/.openclaw/backup.sh and report result to user.\"\n  },\n  \"sessionTarget\": \"isolated\",\n  \"delivery\": {\"mode\": \"announce\"}\n}\n```\n\n## Restore\n\nSee [references/restore.md](references/restore.md) for step-by-step restore instructions.\n\nQuick restore:\n\n```bash\nopenclaw gateway stop\nmv ~/.openclaw ~/.openclaw-old\ntar -xzf ~/openclaw-backups/openclaw-YYYY-MM-DD_HHMM.tar.gz -C ~\nopenclaw gateway start\n```\n\n## Rotation\n\nScript keeps last 7 backups automatically."},{"path":"_meta.json","content":"{\n  \"ownerId\": \"kn73z7zhz92tv6skpnmpy5pdfh86j68x\",\n  \"slug\": \"backup\",\n  \"version\": \"1.1.0\",\n  \"publishedAt\": 1781835368620\n}"},{"path":"references/restore.md","content":"# Restore OpenClaw from Backup\n\n## Quick Restore\n\n```bash\n# 1. Stop OpenClaw\nopenclaw gateway stop\n\n# 2. Backup current (safety)\nmv ~/.openclaw ~/.openclaw-old\n\n# 3. Extract backup\ncd ~\ntar -xzf ~/openclaw-backups/openclaw-YYYY-MM-DD_HHMM.tar.gz\n\n# 4. Start OpenClaw\nopenclaw gateway start\n\n# 5. Verify\nopenclaw status\n```\n\n## Rollback if Restore Fails\n\n```bash\nrm -rf ~/.openclaw\nmv ~/.openclaw-old ~/.openclaw\nopenclaw gateway start\n```\n\n## What's in a Backup\n\n```\n~/.openclaw/\n├── openclaw.json      # Main config\n├── credentials/       # API keys, tokens\n├── agents/            # Agent configs, auth\n├── workspace/         # Memory, SOUL.md, files\n├── telegram/          # Telegram session\n└── cron/              # Scheduled tasks\n```\n\n## Excluded from Backup\n\n- `completions/` — API response cache (regenerated)\n- `*.log` — Log files"},{"path":"skill-card.md","content":"## Description:\n\nBackup and restore OpenClaw data. Use when user asks to create backups, set up automatic backup schedules, restore from backup, or manage backup rotation. Handles ~/.openclaw directory archiving with proper exclusions.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[paudyyin](https://clawhub.ai/user/paudyyin)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nDevelopers and OpenClaw users use this skill to create, rotate, schedule, and restore archives of local OpenClaw configuration, credentials, sessions, workspace data, and scheduled tasks.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Backups may contain credentials, tokens, sessions, private workspace files, and scheduled tasks from ~/.openclaw.\n\nMitigation: Store backups in an owner-only directory, encrypt archives, and avoid shared or synced locations unless separately protected.\n\nRisk: Restore instructions replace the active ~/.openclaw directory and include destructive rollback commands.\n\nMitigation: Verify the selected archive before restoring, keep the temporary ~/.openclaw-old copy until validation succeeds, and review commands before execution.\n\n## Reference(s):\n\n- [Restore OpenClaw from Backup](references/restore.md)\n\n## Skill Output:\n\n**Output Type(s):** [text, markdown, code, shell commands, configuration, guidance]\n\n**Output Format:** [Markdown with inline shell commands and JSON configuration examples]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [May create compressed backup archives in a user-selected backup directory when the shell script is executed.]\n\n## Skill Version(s):\n\n1.1.0 (source: server release metadata; artifact package metadata reports 1.0.0)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment."},{"path":"package.json","content":"{\r\n    \"name\":  \"backup\",\r\n    \"version\":  \"1.0.0\",\r\n    \"description\":  \"Backup and restore OpenClaw data. Use when user asks to create backups, set up automatic backup schedules, restore from backup, or manage backup rotation. Handles ~/.openclaw directory archiving with proper exclusions.\"\r\n}"}],"languages":[],"docsSourceLabel":"CLAWHUB","editorialOverview":"Backup and restore OpenClaw data. Use when user asks to create backups, set up automatic backup schedules, restore from backup, or manage backup rotation. Ha... Skill: Backup Owner: paudyyin Summary: Backup and restore OpenClaw data. Use when user asks to create backups, set up automatic backup schedules, restore from backup, or manage backup rotation. Ha... Tags: latest:1.1.0 Version history: v1.1.0 | 2026-06-19T02:16:08.620Z | auto - Removed the file skill-card.md. - No other functional or documentation changes in this release. v1.0.0 | 2026-06-19T01:15:53.144Z | auto Init","editorialQuality":{"score":100,"threshold":65,"status":"ready","wordCount":924,"uniquenessScore":51,"reasons":[]}},"media":{"evidence":{"source":"no-media","verified":false,"confidence":"low","updatedAt":"2026-10-11T14:45:26.154Z","emptyReason":"No screenshots, media assets, or demo links are available."},"primaryImageUrl":null,"mediaAssetCount":0,"assets":[],"demoUrl":null},"ownerResources":{"evidence":{"source":"unclaimed","verified":false,"confidence":"low","updatedAt":"2026-10-11T14:45:26.154Z","emptyReason":"This page has not been claimed by the agent owner."},"hasCustomPage":false,"customPageUpdatedAt":null,"customLinks":[],"structuredLinks":{"docsUrl":null,"demoUrl":null,"supportUrl":null,"pricingUrl":null,"statusUrl":null},"customPage":null},"relatedAgents":{"evidence":{"source":"protocol-neighbors","verified":false,"confidence":"medium","updatedAt":"2026-10-11T17:41:52.826Z","emptyReason":null},"items":[{"id":"8ebccd8e-3863-4187-8355-c3f14e1f9edf","entityType":"agent","canonicalPath":"/agent/iofficeai-aionui","slug":"iofficeai-aionui","name":"AionUi","description":"Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!","url":"https://github.com/iOfficeAI/AionUi","homepage":"https://www.aionui.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-10-09T19:11:12.944Z","createdAt":"2026-02-25T03:38:16.584Z","downloads":null},{"id":"b917f68a-ebff-438e-84f8-3f4b2494c0bc","entityType":"agent","canonicalPath":"/agent/activepieces-activepieces","slug":"activepieces-activepieces","name":"activepieces","description":"AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents","url":"https://github.com/activepieces/activepieces","homepage":"https://www.activepieces.com","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-15T02:22:12.426Z","createdAt":"2026-02-25T03:38:12.412Z","downloads":null},{"id":"5cb26759-3a39-483f-94cf-276a98c13bb8","entityType":"agent","canonicalPath":"/agent/cherryhq-cherry-studio","slug":"cherryhq-cherry-studio","name":"cherry-studio","description":"AI productivity studio with smart chat, autonomous agents, and 300+ assistants. Unified access to frontier LLMs","url":"https://github.com/CherryHQ/cherry-studio","homepage":"https://cherry-ai.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-11T14:38:40.986Z","createdAt":"2026-02-25T03:38:19.379Z","downloads":null},{"id":"6f6582d0-5d76-4f0f-b81d-86520247950b","entityType":"agent","canonicalPath":"/agent/copilotkit-copilotkit","slug":"copilotkit-copilotkit","name":"CopilotKit","description":"The Frontend for Agents & Generative UI. React + Angular","url":"https://github.com/CopilotKit/CopilotKit","homepage":"https://docs.copilotkit.ai","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-03-25T09:50:57.846Z","createdAt":"2026-02-25T03:39:14.617Z","downloads":null}],"links":{"hub":"/agent","source":"/agent/source/clawhub","protocols":[{"label":"OpenClaw","href":"/agent/protocol/openclew"}]}}}