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

更多技能请访问小葱技能站7w4.net。

  • 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

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