📦 Self-Repair System — 自动修复系统

v1.3.0

自主诊断与修复:自动重启崩溃的 Ollama,修复损坏配置,校验工作区完整性,从常见故障中自愈恢复,保障 AI 流程持续运行。

0· 393·0 当前·0 累计
theshadowrose 头像by @theshadowrose (Shadow Rose)
下载技能包
最后更新
2026/4/19
0
安全扫描
VirusTotal
可疑
查看报告
OpenClaw
安全
high confidence
NULL
评估建议
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 st...
详细分析 ▾
用途与能力
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.
指令范围
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.
安装机制
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.
凭证需求
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.
持久化与权限
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.
src/self-repair.js:9
Shell command execution detected (child_process).
src/self-repair.js:229
File read combined with network send (possible exfiltration).
安全有层次,运行前请审查代码。

运行时依赖

无特殊依赖

版本

latestv1.3.02026/3/12

NULL

可疑

安装命令

点击复制
官方npx clawhub@latest install self-repair-system
镜像加速npx clawhub@latest install self-repair-system --registry https://cn.longxiaskill.com
数据来源ClawHub ↗ · 中文优化:龙虾技能库