{
  "schemaVersion": "1.0",
  "item": {
    "slug": "openclaw-iflow-doctor",
    "name": "Openclaw Iflow Doctor",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/kosei-echo/openclaw-iflow-doctor",
    "canonicalUrl": "https://clawhub.ai/kosei-echo/openclaw-iflow-doctor",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/openclaw-iflow-doctor",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=openclaw-iflow-doctor",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "BUGFIX_STATUS.md",
      "DOCTOR_QUICK_START.md",
      "INSTALL_GUIDE.md",
      "PUBLISH_SUMMARY.md",
      "README.md",
      "RELEASE.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/openclaw-iflow-doctor"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/openclaw-iflow-doctor",
    "agentPageUrl": "https://openagent3.xyz/skills/openclaw-iflow-doctor/agent",
    "manifestUrl": "https://openagent3.xyz/skills/openclaw-iflow-doctor/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/openclaw-iflow-doctor/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "OpenClaw Self-Healing V2 - 智能自我修复系统",
        "body": "自动诊断和修复 OpenClaw 崩溃、配置错误、模型问题。当自动修复失败时，无缝调用 iflow-helper 协助。"
      },
      {
        "title": "✅ 自动修复能力",
        "body": "智能问题分类 - 自动识别 8 种问题类型\n案例库匹配 - 10+ 预置常见问题和解决方案\n历史记录复用 - 自动应用成功的历史修复方案\n配置自动检查 - 启动前自动验证配置有效性\n进程监控 - 崩溃后自动重启并修复"
      },
      {
        "title": "🔗 与 iflow-helper 集成",
        "body": "自动调用链:\n\nOpenClaw 错误 → Self-Healing 尝试修复\n    ├─ 成功 → 记录并恢复\n    └─ 失败 → 自动调用 iflow-helper → iflow CLI 协助\n\n触发方式:\n\n自动: 错误发生时自动触发\n手动: openclaw heal \"错误描述\"\n检查: openclaw skills run openclaw-iflow-doctor --check"
      },
      {
        "title": "问题类型覆盖",
        "body": "类型自动修复需 iflow 协助memory (记忆损坏)✓ 重置索引复杂数据恢复gateway (网关崩溃)✓ 重启服务配置损坏修复config (配置错误)✓ 自动修正手动配置指导network (网络问题)✓ 检查连接代理设置指导api (API 额度/密钥)✗ 额度检查充值/更新密钥agent (Agent 冲突)✓ 重新加载复杂配置调整permission (权限错误)✓ 修复权限系统权限指导install (安装损坏)✗ 备份重装完整重装指导"
      },
      {
        "title": "前提条件",
        "body": "Python: 3.8+\nOpenClaw: 已安装并配置\n可选: iflow-helper (用于复杂修复)"
      },
      {
        "title": "安装步骤",
        "body": "# 方式 1: 从 GitHub 安装\nopenclaw skills install https://github.com/kosei-echo/openclaw-iflow-doctor\n\n# 方式 2: 本地安装\ncd ~/.openclaw/skills/\ngit clone https://github.com/kosei-echo/openclaw-iflow-doctor.git\nopenclaw skills enable openclaw-iflow-doctor"
      },
      {
        "title": "启用自动修复",
        "body": "# 启用自动模式（推荐）\nopenclaw skills config openclaw-iflow-doctor --set auto_heal=true\n\n# 启用监控模式\nopenclaw skills run openclaw-iflow-doctor --watchdog"
      },
      {
        "title": "1. 全自动模式（推荐）",
        "body": "启用后无需干预，自动处理所有错误：\n\n# 启用自动修复\nopenclaw skills enable openclaw-iflow-doctor --auto\n\n# 后续所有错误自动处理\n# 简单问题自动修复\n# 复杂问题生成 BAT 文件并提示调用 iflow"
      },
      {
        "title": "2. 手动诊断",
        "body": "# 诊断特定问题\nopenclaw heal \"Gateway service crashed\"\n\n# 或完整命令\nopenclaw skills run openclaw-iflow-doctor --diagnose \"错误描述\""
      },
      {
        "title": "3. 配置检查",
        "body": "# 启动前检查配置\nopenclaw skills run openclaw-iflow-doctor --check-config\n\n# 输出示例:\n# ✓ Config file exists\n# ✓ JSON syntax valid\n# ✓ Required fields present\n# ✓ Model connectivity OK"
      },
      {
        "title": "4. 查看统计",
        "body": "openclaw skills run openclaw-iflow-doctor --stats\n\n# 输出:\n# Total cases: 10\n# Total records: 25\n# Auto-fixed: 18\n# Iflow-assisted: 7\n# Success rate: 92%"
      },
      {
        "title": "流程 1: 自动修复成功",
        "body": "[系统] OpenClaw gateway crashed\n[系统] Self-Healing triggered\n[系统] Analyzing: Gateway crash detected\n[系统] Searching case library... Match found: CASE-002\n[系统] Applying solution: Restart gateway service\n[系统] ✓ Gateway restarted successfully\n[系统] Report: openclaw修复报告_20240227.txt\n[系统] Record saved to memory\n\n用户操作: 查看报告，无需干预"
      },
      {
        "title": "流程 2: 自动修复失败 → 调用 iflow",
        "body": "[系统] OpenClaw config error\n[系统] Self-Healing triggered\n[系统] Analyzing: Complex config corruption\n[系统] Searching case library... No match\n[系统] Searching records... No previous fix\n[系统] ✗ Cannot auto-fix\n[系统] Generated: openclaw诊断书_20240227.txt\n[系统] Generated: 重新安装openclaw.bat\n[系统] Generated: 打开iFlow寻求帮助.bat\n[系统] \n[系统] 💡 Suggestion: Double-click BAT files on desktop\n[系统]    Or run: openclaw skills run iflow-helper\n\n用户操作:\n\n双击\"打开iFlow寻求帮助.bat\"\n在 iflow 中描述问题\niflow 协助完成修复\n修复记录自动同步"
      },
      {
        "title": "流程 3: 启动配置检查",
        "body": "openclaw gateway start\n[系统] Config check running...\n[系统] ⚠ Missing field: models.default\n[系统] Attempting auto-fix...\n[系统] ✓ Fixed: Set default model to deepseek-chat\n[系统] Starting gateway...\n[系统] ✓ Gateway started"
      },
      {
        "title": "技能配置",
        "body": "位置: ~/.openclaw/skills/openclaw-iflow-doctor/config.json\n\n{\n  \"version\": \"2.0.0\",\n  \"auto_heal\": true,\n  \"enable_bat_generation\": true,\n  \"enable_iflow_integration\": true,\n  \"similarity_threshold\": 0.7,\n  \"max_bat_files\": 2,\n  \"iflow_helper_skill\": \"iflow-helper\",\n  \"language\": \"auto\"\n}"
      },
      {
        "title": "配置项说明",
        "body": "配置项默认值说明auto_healtrue是否自动尝试修复enable_bat_generationtrue无法修复时是否生成 BATenable_iflow_integrationtrue是否启用 iflow-helper 调用similarity_threshold0.7案例匹配相似度阈值max_bat_files2最多生成 BAT 文件数languageauto报告语言（auto/zh/en）"
      },
      {
        "title": "预置案例 (10个)",
        "body": "CASE-001: Memory Search Function Broken\n\n症状: 记忆搜索失败，身份识别损坏\n自动修复: ✓ 重置记忆索引\n\n\n\nCASE-002: Gateway Service Not Starting\n\n症状: 网关无法启动或崩溃\n自动修复: ✓ 重启服务\n\n\n\nCASE-003: API Rate Limit Exceeded\n\n症状: API 额度超限，429 错误\n自动修复: ✗ 需手动充值/iflow 协助\n\n\n\nCASE-004: Agent Spawn Failed\n\n症状: Agent 调用失败\n自动修复: ✓ 重新加载\n\n\n\nCASE-005: Channel Configuration Error\n\n症状: Channel 配置错误\n自动修复: ✓ 重置配置\n\n\n\nCASE-006: Model Provider Connection Failed\n\n症状: 模型连接失败\n自动修复: ✓ 切换到备用模型\n\n\n\nCASE-007: Configuration File Corrupted\n\n症状: 配置文件损坏\n自动修复: ✓ 从备份恢复\n\n\n\nCASE-008: Multiple Agents Conflict\n\n症状: 多 Agent 冲突\n自动修复: ✓ 重新加载配置\n\n\n\nCASE-009: Permission Denied Errors\n\n症状: 权限拒绝错误\n自动修复: ✓ 修复权限\n\n\n\nCASE-010: Log File Too Large\n\n症状: 日志文件过大\n自动修复: ✓ 清理日志"
      },
      {
        "title": "调用关系",
        "body": "# openclaw-iflow-doctor 触发配置\ntriggers:\n  on_error:\n    steps:\n      - step: 1\n        name: \"Self heal attempt\"\n        action: \"auto_repair\"\n        timeout: 30s\n        \n      - step: 2\n        name: \"Call iflow-helper\"\n        condition: \"step_1.failed\"\n        skill: \"iflow-helper\"\n        args:\n          task: \"diagnose_and_repair\"\n          context: \"{{error_description}}\"\n          use_multimodal: true"
      },
      {
        "title": "数据流",
        "body": "┌─────────────────────────────────────────────────────────┐\n│  OpenClaw Error                                          │\n└────────┬────────────────────────────────────────────────┘\n         │\n         ▼\n┌─────────────────────────────────────────────────────────┐\n│  Self-Healing Analysis                                   │\n│  - Search cases.json (10 built-in cases)                │\n│  - Search records.json (historical fixes)               │\n└────────┬────────────────────────────────────────────────┘\n         │\n    ┌────┴────┐\n    │         │\n    ▼         ▼\n┌──────┐  ┌──────────────────────────────────────────┐\n│ Auto │  │ Generate Report + BAT                     │\n│ Fix  │  │ - 重新安装openclaw.bat                   │\n│      │  │ - 打开iFlow寻求帮助.bat                   │\n└──┬───┘  └──────────────┬───────────────────────────┘\n   │                     │\n   ▼                     ▼\n┌──────┐  ┌──────────────────────────────────────────┐\n│Record│  │ Call iflow-helper                         │\n│Success│  │ - Activate iflow CLI                      │\n└──────┘  │ - User describes problem                  │\n          │ - iflow diagnoses                         │\n          │ - iflow fixes                             │\n          └──────────────┬───────────────────────────┘\n                         │\n                         ▼\n          ┌──────────────────────────────────────────┐\n          │ Sync to Memory                            │\n          │ - Save to records.json                    │\n          │ - Optional: sync to iflow memory          │\n          │ - Update cases.json if reusable           │\n          └──────────────────────────────────────────┘"
      },
      {
        "title": "技能无法加载",
        "body": "# 检查 Python 版本\npython3 --version  # 需要 3.8+\n\n# 检查文件权限\nls -la ~/.openclaw/skills/openclaw-iflow-doctor/\n\n# 重新安装\nopenclaw skills reinstall openclaw-iflow-doctor"
      },
      {
        "title": "自动修复不触发",
        "body": "# 检查配置\nopenclaw skills config openclaw-iflow-doctor --get auto_heal\n\n# 手动触发测试\nopenclaw skills run openclaw-iflow-doctor --test-trigger"
      },
      {
        "title": "iflow-helper 调用失败",
        "body": "# 检查 iflow-helper 是否安装\nopenclaw skills list | grep iflow-helper\n\n# 手动安装\nopenclaw skills install iflow-helper\n\n# 禁用 iflow 集成（纯本地模式）\nopenclaw skills config openclaw-iflow-doctor --set enable_iflow_integration=false"
      },
      {
        "title": "1. 启用自动修复",
        "body": "首次安装后启用自动模式：\n\nopenclaw skills config openclaw-iflow-doctor --set auto_heal=true"
      },
      {
        "title": "2. 定期查看统计",
        "body": "每周查看修复统计，了解系统稳定性：\n\nopenclaw skills run openclaw-iflow-doctor --stats"
      },
      {
        "title": "3. 积累案例",
        "body": "遇到新问题并成功修复后，添加到案例库：\n\nopenclaw skills run openclaw-iflow-doctor --add-case"
      },
      {
        "title": "4. 配合 iflow 使用",
        "body": "复杂问题不要硬抗，及时调用 iflow：\n\n双击生成的 BAT 文件\n或在终端运行 openclaw skills run iflow-helper"
      },
      {
        "title": "相关链接",
        "body": "iflow-helper: ~/.openclaw/workspace/skills/iflow-helper/\n案例库: ~/.openclaw/skills/openclaw-iflow-doctor/cases.json\n配置: ~/.openclaw/skills/openclaw-iflow-doctor/config.json"
      },
      {
        "title": "总结",
        "body": "OpenClaw Self-Healing V2 提供：\n\n✅ 自动修复 - 80% 常见问题自动解决\n✅ 智能降级 - 复杂问题无缝转交 iflow\n✅ 记忆积累 - 修复经验自动沉淀\n✅ 零配置 - 安装即用，开箱即用\n✅ 双向集成 - 与 iflow-helper 完美配合\n\n建议: 与 iflow-helper 一起安装，获得最佳体验！"
      }
    ],
    "body": "OpenClaw Self-Healing V2 - 智能自我修复系统\n\n自动诊断和修复 OpenClaw 崩溃、配置错误、模型问题。当自动修复失败时，无缝调用 iflow-helper 协助。\n\n核心能力\n✅ 自动修复能力\n智能问题分类 - 自动识别 8 种问题类型\n案例库匹配 - 10+ 预置常见问题和解决方案\n历史记录复用 - 自动应用成功的历史修复方案\n配置自动检查 - 启动前自动验证配置有效性\n进程监控 - 崩溃后自动重启并修复\n🔗 与 iflow-helper 集成\n\n自动调用链:\n\nOpenClaw 错误 → Self-Healing 尝试修复\n    ├─ 成功 → 记录并恢复\n    └─ 失败 → 自动调用 iflow-helper → iflow CLI 协助\n\n\n触发方式:\n\n自动: 错误发生时自动触发\n手动: openclaw heal \"错误描述\"\n检查: openclaw skills run openclaw-iflow-doctor --check\n问题类型覆盖\n类型\t自动修复\t需 iflow 协助\nmemory (记忆损坏)\t✓ 重置索引\t复杂数据恢复\ngateway (网关崩溃)\t✓ 重启服务\t配置损坏修复\nconfig (配置错误)\t✓ 自动修正\t手动配置指导\nnetwork (网络问题)\t✓ 检查连接\t代理设置指导\napi (API 额度/密钥)\t✗ 额度检查\t充值/更新密钥\nagent (Agent 冲突)\t✓ 重新加载\t复杂配置调整\npermission (权限错误)\t✓ 修复权限\t系统权限指导\ninstall (安装损坏)\t✗ 备份重装\t完整重装指导\n安装\n前提条件\nPython: 3.8+\nOpenClaw: 已安装并配置\n可选: iflow-helper (用于复杂修复)\n安装步骤\n# 方式 1: 从 GitHub 安装\nopenclaw skills install https://github.com/kosei-echo/openclaw-iflow-doctor\n\n# 方式 2: 本地安装\ncd ~/.openclaw/skills/\ngit clone https://github.com/kosei-echo/openclaw-iflow-doctor.git\nopenclaw skills enable openclaw-iflow-doctor\n\n启用自动修复\n# 启用自动模式（推荐）\nopenclaw skills config openclaw-iflow-doctor --set auto_heal=true\n\n# 启用监控模式\nopenclaw skills run openclaw-iflow-doctor --watchdog\n\n使用方法\n1. 全自动模式（推荐）\n\n启用后无需干预，自动处理所有错误：\n\n# 启用自动修复\nopenclaw skills enable openclaw-iflow-doctor --auto\n\n# 后续所有错误自动处理\n# 简单问题自动修复\n# 复杂问题生成 BAT 文件并提示调用 iflow\n\n2. 手动诊断\n# 诊断特定问题\nopenclaw heal \"Gateway service crashed\"\n\n# 或完整命令\nopenclaw skills run openclaw-iflow-doctor --diagnose \"错误描述\"\n\n3. 配置检查\n# 启动前检查配置\nopenclaw skills run openclaw-iflow-doctor --check-config\n\n# 输出示例:\n# ✓ Config file exists\n# ✓ JSON syntax valid\n# ✓ Required fields present\n# ✓ Model connectivity OK\n\n4. 查看统计\nopenclaw skills run openclaw-iflow-doctor --stats\n\n# 输出:\n# Total cases: 10\n# Total records: 25\n# Auto-fixed: 18\n# Iflow-assisted: 7\n# Success rate: 92%\n\n修复流程\n流程 1: 自动修复成功\n[系统] OpenClaw gateway crashed\n[系统] Self-Healing triggered\n[系统] Analyzing: Gateway crash detected\n[系统] Searching case library... Match found: CASE-002\n[系统] Applying solution: Restart gateway service\n[系统] ✓ Gateway restarted successfully\n[系统] Report: openclaw修复报告_20240227.txt\n[系统] Record saved to memory\n\n\n用户操作: 查看报告，无需干预\n\n流程 2: 自动修复失败 → 调用 iflow\n[系统] OpenClaw config error\n[系统] Self-Healing triggered\n[系统] Analyzing: Complex config corruption\n[系统] Searching case library... No match\n[系统] Searching records... No previous fix\n[系统] ✗ Cannot auto-fix\n[系统] Generated: openclaw诊断书_20240227.txt\n[系统] Generated: 重新安装openclaw.bat\n[系统] Generated: 打开iFlow寻求帮助.bat\n[系统] \n[系统] 💡 Suggestion: Double-click BAT files on desktop\n[系统]    Or run: openclaw skills run iflow-helper\n\n\n用户操作:\n\n双击\"打开iFlow寻求帮助.bat\"\n在 iflow 中描述问题\niflow 协助完成修复\n修复记录自动同步\n流程 3: 启动配置检查\nopenclaw gateway start\n[系统] Config check running...\n[系统] ⚠ Missing field: models.default\n[系统] Attempting auto-fix...\n[系统] ✓ Fixed: Set default model to deepseek-chat\n[系统] Starting gateway...\n[系统] ✓ Gateway started\n\n配置文件\n技能配置\n\n位置: ~/.openclaw/skills/openclaw-iflow-doctor/config.json\n\n{\n  \"version\": \"2.0.0\",\n  \"auto_heal\": true,\n  \"enable_bat_generation\": true,\n  \"enable_iflow_integration\": true,\n  \"similarity_threshold\": 0.7,\n  \"max_bat_files\": 2,\n  \"iflow_helper_skill\": \"iflow-helper\",\n  \"language\": \"auto\"\n}\n\n配置项说明\n配置项\t默认值\t说明\nauto_heal\ttrue\t是否自动尝试修复\nenable_bat_generation\ttrue\t无法修复时是否生成 BAT\nenable_iflow_integration\ttrue\t是否启用 iflow-helper 调用\nsimilarity_threshold\t0.7\t案例匹配相似度阈值\nmax_bat_files\t2\t最多生成 BAT 文件数\nlanguage\tauto\t报告语言（auto/zh/en）\n案例库\n预置案例 (10个)\n\nCASE-001: Memory Search Function Broken\n\n症状: 记忆搜索失败，身份识别损坏\n自动修复: ✓ 重置记忆索引\n\nCASE-002: Gateway Service Not Starting\n\n症状: 网关无法启动或崩溃\n自动修复: ✓ 重启服务\n\nCASE-003: API Rate Limit Exceeded\n\n症状: API 额度超限，429 错误\n自动修复: ✗ 需手动充值/iflow 协助\n\nCASE-004: Agent Spawn Failed\n\n症状: Agent 调用失败\n自动修复: ✓ 重新加载\n\nCASE-005: Channel Configuration Error\n\n症状: Channel 配置错误\n自动修复: ✓ 重置配置\n\nCASE-006: Model Provider Connection Failed\n\n症状: 模型连接失败\n自动修复: ✓ 切换到备用模型\n\nCASE-007: Configuration File Corrupted\n\n症状: 配置文件损坏\n自动修复: ✓ 从备份恢复\n\nCASE-008: Multiple Agents Conflict\n\n症状: 多 Agent 冲突\n自动修复: ✓ 重新加载配置\n\nCASE-009: Permission Denied Errors\n\n症状: 权限拒绝错误\n自动修复: ✓ 修复权限\n\nCASE-010: Log File Too Large\n\n症状: 日志文件过大\n自动修复: ✓ 清理日志\n与 iflow-helper 协同\n调用关系\n# openclaw-iflow-doctor 触发配置\ntriggers:\n  on_error:\n    steps:\n      - step: 1\n        name: \"Self heal attempt\"\n        action: \"auto_repair\"\n        timeout: 30s\n        \n      - step: 2\n        name: \"Call iflow-helper\"\n        condition: \"step_1.failed\"\n        skill: \"iflow-helper\"\n        args:\n          task: \"diagnose_and_repair\"\n          context: \"{{error_description}}\"\n          use_multimodal: true\n\n数据流\n┌─────────────────────────────────────────────────────────┐\n│  OpenClaw Error                                          │\n└────────┬────────────────────────────────────────────────┘\n         │\n         ▼\n┌─────────────────────────────────────────────────────────┐\n│  Self-Healing Analysis                                   │\n│  - Search cases.json (10 built-in cases)                │\n│  - Search records.json (historical fixes)               │\n└────────┬────────────────────────────────────────────────┘\n         │\n    ┌────┴────┐\n    │         │\n    ▼         ▼\n┌──────┐  ┌──────────────────────────────────────────┐\n│ Auto │  │ Generate Report + BAT                     │\n│ Fix  │  │ - 重新安装openclaw.bat                   │\n│      │  │ - 打开iFlow寻求帮助.bat                   │\n└──┬───┘  └──────────────┬───────────────────────────┘\n   │                     │\n   ▼                     ▼\n┌──────┐  ┌──────────────────────────────────────────┐\n│Record│  │ Call iflow-helper                         │\n│Success│  │ - Activate iflow CLI                      │\n└──────┘  │ - User describes problem                  │\n          │ - iflow diagnoses                         │\n          │ - iflow fixes                             │\n          └──────────────┬───────────────────────────┘\n                         │\n                         ▼\n          ┌──────────────────────────────────────────┐\n          │ Sync to Memory                            │\n          │ - Save to records.json                    │\n          │ - Optional: sync to iflow memory          │\n          │ - Update cases.json if reusable           │\n          └──────────────────────────────────────────┘\n\n故障排除\n技能无法加载\n# 检查 Python 版本\npython3 --version  # 需要 3.8+\n\n# 检查文件权限\nls -la ~/.openclaw/skills/openclaw-iflow-doctor/\n\n# 重新安装\nopenclaw skills reinstall openclaw-iflow-doctor\n\n自动修复不触发\n# 检查配置\nopenclaw skills config openclaw-iflow-doctor --get auto_heal\n\n# 手动触发测试\nopenclaw skills run openclaw-iflow-doctor --test-trigger\n\niflow-helper 调用失败\n# 检查 iflow-helper 是否安装\nopenclaw skills list | grep iflow-helper\n\n# 手动安装\nopenclaw skills install iflow-helper\n\n# 禁用 iflow 集成（纯本地模式）\nopenclaw skills config openclaw-iflow-doctor --set enable_iflow_integration=false\n\n最佳实践\n1. 启用自动修复\n\n首次安装后启用自动模式：\n\nopenclaw skills config openclaw-iflow-doctor --set auto_heal=true\n\n2. 定期查看统计\n\n每周查看修复统计，了解系统稳定性：\n\nopenclaw skills run openclaw-iflow-doctor --stats\n\n3. 积累案例\n\n遇到新问题并成功修复后，添加到案例库：\n\nopenclaw skills run openclaw-iflow-doctor --add-case\n\n4. 配合 iflow 使用\n\n复杂问题不要硬抗，及时调用 iflow：\n\n双击生成的 BAT 文件\n或在终端运行 openclaw skills run iflow-helper\n相关链接\niflow-helper: ~/.openclaw/workspace/skills/iflow-helper/\n案例库: ~/.openclaw/skills/openclaw-iflow-doctor/cases.json\n配置: ~/.openclaw/skills/openclaw-iflow-doctor/config.json\n总结\n\nOpenClaw Self-Healing V2 提供：\n\n✅ 自动修复 - 80% 常见问题自动解决 ✅ 智能降级 - 复杂问题无缝转交 iflow ✅ 记忆积累 - 修复经验自动沉淀 ✅ 零配置 - 安装即用，开箱即用 ✅ 双向集成 - 与 iflow-helper 完美配合\n\n建议: 与 iflow-helper 一起安装，获得最佳体验！"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/kosei-echo/openclaw-iflow-doctor",
    "publisherUrl": "https://clawhub.ai/kosei-echo/openclaw-iflow-doctor",
    "owner": "kosei-echo",
    "version": "1.1.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/openclaw-iflow-doctor",
    "downloadUrl": "https://openagent3.xyz/downloads/openclaw-iflow-doctor",
    "agentUrl": "https://openagent3.xyz/skills/openclaw-iflow-doctor/agent",
    "manifestUrl": "https://openagent3.xyz/skills/openclaw-iflow-doctor/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/openclaw-iflow-doctor/agent.md"
  }
}