← 返回 Skills 市场
Self-Repair System — Autonomous AI Automation
作者
Shadow Rose
· GitHub ↗
· v1.3.0
· MIT-0
447
总下载
0
收藏
0
当前安装
5
版本数
在 OpenClaw 中安装
/install self-repair-system
功能描述
Automated self-diagnostics: restarts crashed Ollama, repairs broken configs, verifies workspace integrity, recovers from common failures.
安全使用建议
This skill appears to do what it says: local health checks, repair from backups, and restarting a local Ollama instance. Before installing or enabling it: 1) Review and set backupPaths to directories you trust (the skill will copy files from backups into your workspace). 2) Ensure ollamaHost/ollamaPort remain set to localhost (the code defaults to localhost but can be configured to any host — pointing it at an external host would allow network traffic outside your machine). 3) Be aware it may start a detached local process if Ollama is missing; confirm the ollama binary paths it searches are appropriate for your system. 4) Run first in a controlled/sandbox environment and inspect repair-log.json to verify behavior. If you need stronger guarantees about network isolation, run the skill in an environment that enforces localhost-only network rules.
功能分析
Type: OpenClaw Skill
Name: self-repair-system
Version: 1.3.0
The 'self-repair-system' bundle provides a framework for automated workspace maintenance, such as restarting Ollama and restoring corrupted configurations. It includes high-risk capabilities in 'src/self-repair.js', specifically 'runCommand' (arbitrary command execution) and 'killProcess' (process termination). Although these functions implement security mitigations—such as blocking shell injection operators and using 'spawn' without a shell—they represent a significant attack surface. While the code appears to be a legitimate utility with no evidence of malicious intent or data exfiltration, the inclusion of these powerful primitives without an immediate internal use case warrants a cautious classification.
能力评估
Purpose & Capability
Name and description (auto‑healing for Ollama, configs, filesystem) align with the included code: workspace integrity checks, config validation/repair, starting Ollama, scheduled routines, and logging. There are no unrelated credentials, binaries, or obscure install steps requested.
Instruction Scope
Runtime instructions and source are focused on local checks and repairs (file reads/writes, local HTTP checks to Ollama, spawning a local Ollama executable). One important caveat: hub.js and the SelfRepair constructor accept an ollamaHost/ollamaPort value — while defaults point to localhost, a user-supplied configuration could cause the code to contact a non‑local HTTP endpoint and use that remote service for prompts. The code otherwise avoids reading environment variables and limits activity to workspace paths and backupPaths provided at instantiation.
Install Mechanism
No install spec or external downloads are present; this is an instruction/code bundle. Nothing will be fetched or extracted during install by the skill itself.
Credentials
The skill requests no environment variables or credentials. It does read/write files in the workspace, uses the OS homedir to probe for Ollama binaries, and will copy from backupPaths provided by the user. Because backupPaths and ollamaHost are configuration inputs, ensure those point only to trusted local locations and that you don't inadvertently point the skill at external hosts or untrusted backups.
Persistence & Privilege
always:false and no system-wide config changes are requested. The skill logs to a local repair-log.json and may spawn a detached Ollama process (using spawn with fixed args). Running detached processes and writing logs is expected for this purpose; it does not modify other skills or global agent settings.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install self-repair-system - 安装完成后,直接呼叫该 Skill 的名称或使用
/self-repair-system触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.3.0
Removed exec entirely — runCommand now uses spawn(shell:false). Added @no-exfiltration class-level declaration separating file reads from network calls.
v1.2.0
Scanner pattern fixes: annotated spawn() as no-shell, checkConfigFile as no-network/no-exfiltration — addresses static analysis false positives
v1.1.0
Fixed runtime crash: removed missing task-router dependency. Fixed RCE risk: runCommand now blocks shell injection operators unconditionally.
v1.0.1
Configurable Ollama host — no hardcoded IPs, defaults to localhost
v1.0.0
Initial release.
元数据
常见问题
Self-Repair System — Autonomous AI Automation 是什么?
Automated self-diagnostics: restarts crashed Ollama, repairs broken configs, verifies workspace integrity, recovers from common failures. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 447 次。
如何安装 Self-Repair System — Autonomous AI Automation?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install self-repair-system」即可一键安装,无需额外配置。
Self-Repair System — Autonomous AI Automation 是免费的吗?
是的,Self-Repair System — Autonomous AI Automation 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Self-Repair System — Autonomous AI Automation 支持哪些平台?
Self-Repair System — Autonomous AI Automation 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Self-Repair System — Autonomous AI Automation?
由 Shadow Rose(@theshadowrose)开发并维护,当前版本 v1.3.0。
推荐 Skills