OpenClaw Recovery Drill

👤 x-rayluan 📦 v0.1.0 ⭐ 4.4 ⬇️ 816 下載
🔒 IT運維與安全 免費

📖 技能介紹


name: openclaw-recovery-drill description: This skill should be used when the user asks to test OpenClaw recovery readiness, rehearse backup/restore, run a disaster-recovery drill, validate operator recovery playbooks, check restore confidence before upgrades, or prove that backups are actually restorable instead of merely existing.


OpenClaw Recovery Drill

Use this skill to verify that an OpenClaw deployment can be recovered under pressure.

Goal

Shift the conversation from “we have backups” to “we can recover reliably within an acceptable time.”

Workflow

  1. Identify the target workspace and any known backup roots.
  2. Run the bundled drill script.
  3. Review the readiness score, gaps, and proposed drill plan.
  4. If the result is FAIL, treat it as an operator-readiness problem, not a documentation problem.
  5. If the user wants a live drill, execute the restore only in a safe test location first.

Command

node {baseDir}/scripts/recovery-drill.mjs \
  --workspace /absolute/path/to/workspace \
  --backup-root /absolute/path/to/backups

Both flags are optional. If omitted, the script checks common OpenClaw locations.

What the script checks

  • whether candidate backup roots exist
  • whether recent backup files or directories are present
  • whether the workspace contains the key operator files needed for recovery
  • whether restore/runbook signals exist
  • whether backups look recent enough for a realistic drill
  • whether the operator has clear next-step drill actions

Output format

The script returns JSON with: - score - verdict - summary - findings - recommendations - drillPlan - evidence

Verdicts

  • PASS — recovery posture looks usable for a lightweight drill
  • WARN — partial coverage; recoverability is uncertain
  • FAIL — backup or restore confidence is too weak to trust

    7w4.net小蔥技能站,你的AI助手技能庫。

Important limits

  • This is a readiness check, not proof of successful recovery by itself.
  • A real drill should restore into an isolated test path and verify startup.
  • Presence of backup files does not equal application-level recovery.

References

  • {baseDir}/references/drill-checklist.md

🤖 AI 評測

這個 Skill 質量不錯,核心優勢是真正解決了備份可靠性驗證的實際問題。文件清晰易懂,操作流程明確,給出的反饋結果很有價值。主要不足是一些小細節處理不夠完善,比如缺少一些配置檔案。對於需要驗證系統恢復能力的人來說,是一個實用且可靠的好工具。

📊 多維度評分

適應性4.4
規範性4.3
有效性4.6
可靠性4.3
可信度4.2

📁 包含檔案 (7 個)

📄 README.md 1.5 KB
📄 SKILL.md 2.1 KB
📄 _meta.json 142 B
📄 package.json 977 B
📄 references/drill-checklist.md 1.2 KB
📄 scripts/recovery-drill.mjs 5.7 KB
📄 tests/test.mjs 1.5 KB