← Back to Skills Marketplace
theshadowrose

Self-Repair System — Autonomous AI Automation

by Shadow Rose · GitHub ↗ · v1.3.0 · MIT-0
cross-platform ⚠ suspicious
447
Downloads
0
Stars
0
Active Installs
5
Versions
Install in OpenClaw
/install self-repair-system
Description
Automated self-diagnostics: restarts crashed Ollama, repairs broken configs, verifies workspace integrity, recovers from common failures.
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install self-repair-system
  3. After installation, invoke the skill by name or use /self-repair-system
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug self-repair-system
Version 1.3.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 5
Frequently Asked Questions

What is Self-Repair System — Autonomous AI Automation?

Automated self-diagnostics: restarts crashed Ollama, repairs broken configs, verifies workspace integrity, recovers from common failures. It is an AI Agent Skill for Claude Code / OpenClaw, with 447 downloads so far.

How do I install Self-Repair System — Autonomous AI Automation?

Run "/install self-repair-system" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Self-Repair System — Autonomous AI Automation free?

Yes, Self-Repair System — Autonomous AI Automation is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Self-Repair System — Autonomous AI Automation support?

Self-Repair System — Autonomous AI Automation is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Self-Repair System — Autonomous AI Automation?

It is built and maintained by Shadow Rose (@theshadowrose); the current version is v1.3.0.

💬 Comments