Token导航 LogoToken导航TokenDH.com
研究检索执行命令clawhub未标认证来源可访问clear审计提醒

openclaw-iflow-doctorOpenClaw iflow doctor 搜索

Agent Skill

openclaw-iflow-doctor 用于记录任务执行中的错误、用户纠正、经验和能力缺口,适合在 OpenClaw 中希望让 Agent 持续沉淀问题、修正和最佳实践时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

17,913

周安装

739

GitHub Stars

公开资料未说明

下载量

5,853
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:openclaw-iflow-doctor(OpenClaw iflow doctor 搜索)
来源仓库:https://github.com/kosei-echo/openclaw-iflow-doctor
安装命令:
openclaw skills install openclaw-iflow-doctor
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install openclaw-iflow-doctor

简介

OpenClaw iflow doctor 是 AI 驱动的自动修复系统,集成 iflow 诊断能力。

  • 适用于崩溃分析、配置错误修正及模型问题回溯场景。
  • 通过 clawhub 安装后连接 iflow 环境执行自检与修复流程。
  • 需确认 iflow 服务可用性并授予必要的调试权限。
  • 建议保留原始日志以便在自动修复失败时人工介入。

SKILL.md

id
openclaw-iflow-doctor
name
OpenClaw iFlow Doctor
version
1.1.0
description
AI-powered auto-repair system for OpenClaw with iflow integration. Automatically diagnose and fix crashes, config errors, model issues. Falls back to iflow-helper when needed.
changelog
|
metadata

OpenClaw Self-Healing V2 - 智能自我修复系统

自动诊断和修复 OpenClaw 崩溃、配置错误、模型问题。当自动修复失败时,无缝调用 iflow-helper 协助。

核心能力

✅ 自动修复能力

  1. 智能问题分类 - 自动识别 8 种问题类型
  2. 案例库匹配 - 10+ 预置常见问题和解决方案
  3. 历史记录复用 - 自动应用成功的历史修复方案
  4. 配置自动检查 - 启动前自动验证配置有效性
  5. 进程监控 - 崩溃后自动重启并修复

🔗 与 iflow-helper 集成

自动调用链:

OpenClaw 错误 → Self-Healing 尝试修复
    ├─ 成功 → 记录并恢复
    └─ 失败 → 自动调用 iflow-helper → iflow CLI 协助

触发方式:

  • 自动: 错误发生时自动触发
  • 手动: openclaw heal "错误描述"
  • 检查: openclaw skills run openclaw-iflow-doctor --check

问题类型覆盖

类型自动修复需 iflow 协助
memory (记忆损坏)✓ 重置索引复杂数据恢复
gateway (网关崩溃)✓ 重启服务配置损坏修复
config (配置错误)✓ 自动修正手动配置指导
network (网络问题)✓ 检查连接代理设置指导
api (API 额度/密钥)✗ 额度检查充值/更新密钥
agent (Agent 冲突)✓ 重新加载复杂配置调整
permission (权限错误)✓ 修复权限系统权限指导
install (安装损坏)✗ 备份重装完整重装指导

安装

前提条件

  • Python: 3.8+
  • OpenClaw: 已安装并配置
  • 可选: iflow-helper (用于复杂修复)

安装步骤

# 方式 1: 从 GitHub 安装
openclaw skills install https://github.com/kosei-echo/openclaw-iflow-doctor

# 方式 2: 本地安装
cd ~/.openclaw/skills/
git clone https://github.com/kosei-echo/openclaw-iflow-doctor.git
openclaw skills enable openclaw-iflow-doctor

启用自动修复

# 启用自动模式(推荐)
openclaw skills config openclaw-iflow-doctor --set auto_heal=true

# 启用监控模式
openclaw skills run openclaw-iflow-doctor --watchdog

使用方法

1. 全自动模式(推荐)

启用后无需干预,自动处理所有错误:

# 启用自动修复
openclaw skills enable openclaw-iflow-doctor --auto

# 后续所有错误自动处理
# 简单问题自动修复
# 复杂问题生成 BAT 文件并提示调用 iflow

2. 手动诊断

# 诊断特定问题
openclaw heal "Gateway service crashed"

# 或完整命令
openclaw skills run openclaw-iflow-doctor --diagnose "错误描述"

3. 配置检查

# 启动前检查配置
openclaw skills run openclaw-iflow-doctor --check-config

# 输出示例:
# ✓ Config file exists
# ✓ JSON syntax valid
# ✓ Required fields present
# ✓ Model connectivity OK

4. 查看统计

openclaw skills run openclaw-iflow-doctor --stats

# 输出:
# Total cases: 10
# Total records: 25
# Auto-fixed: 18
# Iflow-assisted: 7
# Success rate: 92%

修复流程

流程 1: 自动修复成功

[系统] OpenClaw gateway crashed
[系统] Self-Healing triggered
[系统] Analyzing: Gateway crash detected
[系统] Searching case library... Match found: CASE-002
[系统] Applying solution: Restart gateway service
[系统] ✓ Gateway restarted successfully
[系统] Report: openclaw修复报告_20240227.txt
[系统] Record saved to memory

用户操作: 查看报告,无需干预

流程 2: 自动修复失败 → 调用 iflow

[系统] OpenClaw config error
[系统] Self-Healing triggered
[系统] Analyzing: Complex config corruption
[系统] Searching case library... No match
[系统] Searching records... No previous fix
[系统] ✗ Cannot auto-fix
[系统] Generated: openclaw诊断书_20240227.txt
[系统] Generated: 重新安装openclaw.bat
[系统] Generated: 打开iFlow寻求帮助.bat
[系统] 
[系统] 💡 Suggestion: Double-click BAT files on desktop
[系统]    Or run: openclaw skills run iflow-helper

用户操作:

  1. 双击"打开iFlow寻求帮助.bat"
  2. 在 iflow 中描述问题
  3. iflow 协助完成修复
  4. 修复记录自动同步

流程 3: 启动配置检查

openclaw gateway start
[系统] Config check running...
[系统] ⚠ Missing field: models.default
[系统] Attempting auto-fix...
[系统] ✓ Fixed: Set default model to deepseek-chat
[系统] Starting gateway...
[系统] ✓ Gateway started

配置文件

技能配置

位置: ~/.openclaw/skills/openclaw-iflow-doctor/config.json

{
  "version": "2.0.0",
  "auto_heal": true,
  "enable_bat_generation": true,
  "enable_iflow_integration": true,
  "similarity_threshold": 0.7,
  "max_bat_files": 2,
  "iflow_helper_skill": "iflow-helper",
  "language": "auto"
}

配置项说明

配置项默认值说明
auto_healtrue是否自动尝试修复
enable_bat_generationtrue无法修复时是否生成 BAT
enable_iflow_integrationtrue是否启用 iflow-helper 调用
similarity_threshold0.7案例匹配相似度阈值
max_bat_files2最多生成 BAT 文件数
languageauto报告语言(auto/zh/en)

案例库

预置案例 (10个)

  1. CASE-001: Memory Search Function Broken

- 症状: 记忆搜索失败,身份识别损坏 - 自动修复: ✓ 重置记忆索引

  1. CASE-002: Gateway Service Not Starting

- 症状: 网关无法启动或崩溃 - 自动修复: ✓ 重启服务

  1. CASE-003: API Rate Limit Exceeded

- 症状: API 额度超限,429 错误 - 自动修复: ✗ 需手动充值/iflow 协助

  1. CASE-004: Agent Spawn Failed

- 症状: Agent 调用失败 - 自动修复: ✓ 重新加载

  1. CASE-005: Channel Configuration Error

- 症状: Channel 配置错误 - 自动修复: ✓ 重置配置

  1. CASE-006: Model Provider Connection Failed

- 症状: 模型连接失败 - 自动修复: ✓ 切换到备用模型

  1. CASE-007: Configuration File Corrupted

- 症状: 配置文件损坏 - 自动修复: ✓ 从备份恢复

  1. CASE-008: Multiple Agents Conflict

- 症状: 多 Agent 冲突 - 自动修复: ✓ 重新加载配置

  1. CASE-009: Permission Denied Errors

- 症状: 权限拒绝错误 - 自动修复: ✓ 修复权限

  1. CASE-010: Log File Too Large

- 症状: 日志文件过大 - 自动修复: ✓ 清理日志

与 iflow-helper 协同

调用关系

# openclaw-iflow-doctor 触发配置
triggers:
  on_error:
    steps:
      - step: 1
        name: "Self heal attempt"
        action: "auto_repair"
        timeout: 30s
        
      - step: 2
        name: "Call iflow-helper"
        condition: "step_1.failed"
        skill: "iflow-helper"
        args:
          task: "diagnose_and_repair"
          context: "{{error_description}}"
          use_multimodal: true

数据流

┌─────────────────────────────────────────────────────────┐
│  OpenClaw Error                                          │
└────────┬────────────────────────────────────────────────┘
         │
         ▼
┌─────────────────────────────────────────────────────────┐
│  Self-Healing Analysis                                   │
│  - Search cases.json (10 built-in cases)                │
│  - Search records.json (historical fixes)               │
└────────┬────────────────────────────────────────────────┘
         │
    ┌────┴────┐
    │         │
    ▼         ▼
┌──────┐  ┌──────────────────────────────────────────┐
│ Auto │  │ Generate Report + BAT                     │
│ Fix  │  │ - 重新安装openclaw.bat                   │
│      │  │ - 打开iFlow寻求帮助.bat                   │
└──┬───┘  └──────────────┬───────────────────────────┘
   │                     │
   ▼                     ▼
┌──────┐  ┌──────────────────────────────────────────┐
│Record│  │ Call iflow-helper                         │
│Success│  │ - Activate iflow CLI                      │
└──────┘  │ - User describes problem                  │
          │ - iflow diagnoses                         │
          │ - iflow fixes                             │
          └──────────────┬───────────────────────────┘
                         │
                         ▼
          ┌──────────────────────────────────────────┐
          │ Sync to Memory                            │
          │ - Save to records.json                    │
          │ - Optional: sync to iflow memory          │
          │ - Update cases.json if reusable           │
          └──────────────────────────────────────────┘

故障排除

技能无法加载

# 检查 Python 版本
python3 --version  # 需要 3.8+

# 检查文件权限
ls -la ~/.openclaw/skills/openclaw-iflow-doctor/

# 重新安装
openclaw skills reinstall openclaw-iflow-doctor

自动修复不触发

# 检查配置
openclaw skills config openclaw-iflow-doctor --get auto_heal

# 手动触发测试
openclaw skills run openclaw-iflow-doctor --test-trigger

iflow-helper 调用失败

# 检查 iflow-helper 是否安装
openclaw skills list | grep iflow-helper

# 手动安装
openclaw skills install iflow-helper

# 禁用 iflow 集成(纯本地模式)
openclaw skills config openclaw-iflow-doctor --set enable_iflow_integration=false

最佳实践

1. 启用自动修复

首次安装后启用自动模式:

openclaw skills config openclaw-iflow-doctor --set auto_heal=true

2. 定期查看统计

每周查看修复统计,了解系统稳定性:

openclaw skills run openclaw-iflow-doctor --stats

3. 积累案例

遇到新问题并成功修复后,添加到案例库:

openclaw skills run openclaw-iflow-doctor --add-case

4. 配合 iflow 使用

复杂问题不要硬抗,及时调用 iflow:

  • 双击生成的 BAT 文件
  • 或在终端运行 openclaw skills run iflow-helper

相关链接

  • iflow-helper: ~/.openclaw/workspace/skills/iflow-helper/
  • 案例库: ~/.openclaw/skills/openclaw-iflow-doctor/cases.json
  • 配置: ~/.openclaw/skills/openclaw-iflow-doctor/config.json

总结

OpenClaw Self-Healing V2 提供:

自动修复 - 80% 常见问题自动解决 ✅ 智能降级 - 复杂问题无缝转交 iflow ✅ 记忆积累 - 修复经验自动沉淀 ✅ 零配置 - 安装即用,开箱即用 ✅ 双向集成 - 与 iflow-helper 完美配合

建议: 与 iflow-helper 一起安装,获得最佳体验!

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

84.99%
按下载量换算4,974

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

未展示

权限和风险

执行命令

安装流程涉及命令执行,可能通过 openclaw skills install https://github.com/kosei-echo/openclaw-iflow-doctor 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills