← Back to Skills Marketplace
kosei-echo

Openclaw Iflow Doctor

by kosei-echo · GitHub ↗ · v1.1.0
cross-platform ⚠ suspicious
578
Downloads
0
Stars
1
Active Installs
3
Versions
Install in OpenClaw
/install openclaw-iflow-doctor
Description
AI-powered auto-repair system for OpenClaw with iflow integration. Automatically diagnose and fix crashes, config errors, model issues. Falls back to iflow-h...
Usage Guidance
Key things to check before installing or enabling auto-heal: 1) Review high-risk source files locally (openclaw_memory.py, watchdog.py, install-systemd.sh, install.py, and any code that composes/executes shell commands). Search for network calls (requests, urllib, sockets), hard-coded endpoints (iflow.cn or other URLs), and any use of subprocess/exec that constructs shell strings from user data. 2) Confirm what is sent externally: find functions that call iflow or POST logs/reports. Ensure uploads are to legitimate endpoints and inspect exactly what fields are transmitted (do not send API keys or full config files unless necessary). 3) Audit BAT/script generation: generated .bat/.sh files are executable payloads. Inspect the templates to ensure they contain only the repair steps you expect and do not exfiltrate data or run arbitrary remote code. Prefer manual review before executing generated repair scripts. 4) Avoid installing as root until reviewed: systemd/task-scheduler installation requires elevated privileges; run the skill first in a safe, non-production environment or inside a VM/container to observe behavior. 5) Protect credentials: if you enable iflow integration, use a dedicated least-privilege IFLOW_API_KEY and avoid reusing high-privilege keys. Prefer temporary/limited keys and do not store long-lived secrets in global shell profiles unless you understand the implications. 6) Test auto-heal in conservative mode: disable fully automatic destructive actions (set auto_heal=false) and run diagnosic/check commands manually to confirm suggested fixes before allowing the skill to autonomously run pkill, reinstall, chown, or other high-impact operations. 7) If you lack the ability to audit the omitted large files thoroughly (openclaw_memory.py, watchdog.py), treat this package as higher risk. Consider requesting the author publish the repository for review or provide a minimal-scope variant that only performs read-only diagnostics. If you want, I can help by listing specific grep patterns to search for (e.g., "requests.post", "subprocess.run", "open\(", "IFLOW_API_KEY", "http://", "https://", "pkill", "chown", "chmod", "cp ") and explain what to look for in each hit.
Capability Analysis
Type: OpenClaw Skill Name: openclaw-iflow-doctor Version: 1.1.0 The skill is classified as suspicious due to a critical prompt injection vulnerability identified in `SKILL.md` and `integration_plan.md`. The `on_error` trigger explicitly passes `context: "{{error_description}}"` to the `iflow-helper` skill, allowing an attacker to inject arbitrary instructions or commands if they can control the `error_description` input. Additionally, the `openclaw_memory.py` script generates executable `.bat` or `.sh` files with powerful system commands (e.g., `taskkill`, `chmod`, `npm install`) on the user's desktop, and the `watchdog.py` runs as a persistent daemon with high privileges, calling `openclaw_memory.py` with user-controlled `error_msg` and `error_logs` as arguments. While these capabilities are intended for system repair, the prompt injection vulnerability and the broad system access without clear input sanitization create significant risk for arbitrary code execution or unauthorized system modifications, even if no direct malicious intent (like data exfiltration to an attacker-controlled domain) is explicitly observed.
Capability Assessment
Purpose & Capability
Name/description align with the provided code and docs: the package contains a repair engine, case library, diagnostics and watchdog components and explicitly integrates with an iflow helper. Required binaries (python3, openclaw) and optional dependency on iflow-helper are coherent with the stated goal. Note: the skill expects to operate on OpenClaw configuration, memory and logs (under ~/.openclaw and ~/.iflow), which is consistent with an auto-repair tool but expands its access to many user files.
Instruction Scope
Runtime instructions and included scripts direct the agent to read and modify local OpenClaw configuration and memory files, run system commands (pkill, openclaw gateway restart, cp, chmod/chown), generate executable BAT files, create diagnostic reports, and trigger iflow CLI flows. The SKILL.md and code indicate automatic triggering on errors and an 'auto_heal' mode that will take corrective actions without manual approval. These actions go beyond passive diagnostics and involve modifying system state and possibly restarting services — appropriate for a repair tool but high-impact. The instructions also recommend generating BAT files and 'double-clicking' them, which could execute arbitrary commands with the user's privileges. There is no explicit, fine-grained consent model in the instructions for potentially destructive operations (reinstall, chown, pkill).
Install Mechanism
There is no formal install spec in the skill manifest (instruction-only), but the SKILL.md and docs instruct users to clone from a GitHub repo and run local install scripts (install-systemd.sh / install.py). The repo-based install is common and the URLs shown are ordinary GitHub links. The install scripts (systemd installer) will require sudo to place service files and enable services; they will run code on the host. This is expected for a daemon-style tool but increases the blast radius if the scripts are malicious or buggy. No arbitrary third-party binary download URLs or URL shorteners were observed in the provided texts.
Credentials
The skill manifest declares no required environment variables, but the included docs (iflow-auth-guide.md and other docs/README) instruct users to set IFLOW_API_KEY, IFLOW_BASE_URL and similar env vars to enable iflow CLI integration. The skill integrates with an external service (iflow.cn) and may use user API keys. That is plausible for 'iflow-helper' functionality, but the SKILL.md/meta did not declare these env var requirements explicitly. The code and cases include commands that could include Authorization headers (curl examples) — if those commands are composed and executed programmatically they might leak keys if not handled carefully. Overall the number and sensitivity of resources the skill touches (local configs, logs, memory, optional external API keys) are high relative to a simple helper and should be explicitly documented and scoped.
Persistence & Privilege
The skill does not set always:true and is user-invocable (normal). However, it includes an install-systemd.sh and instructions to register a systemd service (or use Windows Task Scheduler / macOS launchd), which if installed will persist across reboots and likely run with elevated permissions (the Linux instructions call sudo). That persistence is coherent with a watchdog/auto-heal service but materially increases risk because the skill will run continuously and can take actions autonomously. There is no evidence it attempts to modify other skills' configs, but installation as a system service should only be done after code review.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install openclaw-iflow-doctor
  3. After installation, invoke the skill by name or use /openclaw-iflow-doctor
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.1.0
Bug fixes: daemon thread, systemd service, path expansion, Desktop directory. Added: cross-platform support, install scripts, documentation.
v1.0.1
Initial release - AI-powered self-healing system
v1.0.0
AI-powered auto-repair system for OpenClaw with iflow integration
Metadata
Slug openclaw-iflow-doctor
Version 1.1.0
License
All-time Installs 1
Active Installs 1
Total Versions 3
Frequently Asked Questions

What is Openclaw Iflow Doctor?

AI-powered auto-repair system for OpenClaw with iflow integration. Automatically diagnose and fix crashes, config errors, model issues. Falls back to iflow-h... It is an AI Agent Skill for Claude Code / OpenClaw, with 578 downloads so far.

How do I install Openclaw Iflow Doctor?

Run "/install openclaw-iflow-doctor" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Openclaw Iflow Doctor free?

Yes, Openclaw Iflow Doctor is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Openclaw Iflow Doctor support?

Openclaw Iflow Doctor is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Openclaw Iflow Doctor?

It is built and maintained by kosei-echo (@kosei-echo); the current version is v1.1.0.

💬 Comments