Token导航 LogoToken导航TokenDH.com
开发敏感数据clawhub未标认证来源可访问clear审计提醒

local-self-healing-machine-learning本地自愈机器学习

Agent Skill

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

总安装

10,649

周安装

435

GitHub Stars

公开资料未说明

下载量

3,445
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:local-self-healing-machine-learning(本地自愈机器学习)
来源仓库:https://github.com/josephtandle/local-self-healing-machine-learning
安装命令:
openclaw skills install local-self-healing-machine-learning
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

ClawHubOpenClaw
openclaw skills install local-self-healing-machine-learning

简介

本地机器学习引擎持续学习代理行为模式,减少人为干预次数。

  • 记录错误、用户修正与成功经验,构建个性化优化策略库。
  • 无需上传数据至云端,全程在设备端完成模型训练与更新。
  • 初期效果有限,需多次交互积累样本后方可体现智能提升。
  • local-self-healing-machine-learning 属于开发类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

name
local-self-healing-machine-learning
description
A fully local machine learning engine that makes your OpenClaw agent smart over time — without ever calling home, revealing your machine ID, or exposing any security holes.
tags
[machine-learning, self-healing, ai, core, local, embeddings]
author
Joe Che (https://mastermindshq.business)

Local Self-Healing Machine Learning

"Your agent learns from its own mistakes — without ever calling home, revealing your machine ID, or exposing any security holes."

A fully local machine learning engine that makes your OpenClaw agent smart over time. It watches your agent's runtime history, detects recurring failures, clusters similar errors using semantic embeddings, and autonomously evolves fix strategies — all running 100% on your machine with zero network calls.

The engine uses a feedback loop that tracks whether each fix actually works: after 3 clean cycles a fix is marked "proven", and if the error comes back within 5 cycles it's marked "failed". A k-NN predictor learns from these outcomes and gets better at picking the right fix over time. Lessons compound in a persistent knowledge base that never decays — the longer it runs, the smarter it gets.

Every evolution is auditable through the GEP (Genetic Evolution Protocol), which produces structured, content-hashed assets: genes (reusable fix strategies), capsules (successful evolution records), and an append-only event log. You can inspect exactly what changed, why it changed, and whether it worked.

No telemetry. No fingerprinting. No cloud dependencies. No data leaves your device.

ML Capabilities

  • Feedback Loop: Tracks whether fixes actually work. After 3 clean cycles, a fix is "proven". If the error recurs within 5 cycles, the fix is marked "failed".
  • Embedding-Based Error Clustering: Uses Ollama + llama3.2:3b to generate semantic embeddings for error messages. Similar errors are clustered together instead of matched by regex.
  • Success Predictor: k-NN classifier trained on feedback data. Predicts which gene will fix a given error cluster. Gets better over time.
  • Persistent Knowledge Base: Lessons compound forever. No decay. Confidence scores adjust with each outcome.

Dashboard

View your ML engine's status, training progress, and knowledge base in a local web dashboard:

node index.js --dashboard

Opens at http://localhost:8420. Shows feedback loop stats, predictor training progress, error clusters, knowledge base health, and recent evolution events. No external dependencies — runs entirely in your browser.

Optional: Ollama Integration

For semantic error matching (recommended but not required):

# Install Ollama
curl -fsSL https://ollama.com/install.sh | sh

# Pull the embedding model
ollama pull llama3.2:3b

Without Ollama, the engine falls back to regex-based heuristics. Everything still works — you just get smarter matching with it.

Usage

Standard Run (Automated)

node index.js

Review Mode (Human-in-the-Loop)

node index.js --review

Continuous Loop

node index.js --loop

Configuration

Environment VariableDefaultDescription
EVOLVE_ALLOW_SELF_MODIFYfalseAllow evolution to modify its own source code. Not recommended.
EVOLVE_LOAD_MAX2.0Maximum 1-minute load average before backing off.
EVOLVE_STRATEGYbalancedStrategy: balanced, innovate, harden, repair-only, early-stabilize, steady-state, or auto.
OLLAMA_URLhttp://localhost:11434Ollama API endpoint for embeddings.
OLLAMA_EMBED_MODELllama3.2:3bModel to use for embeddings.
LSHML_DASHBOARD_PORT8420Port for the standalone dashboard server.

How It Works

  1. Signal Extraction: Scans logs for errors, feature requests, performance issues (19 signal types, 4 languages)
  2. ML Clustering: Groups similar errors using embedding vectors (or regex fallback)
  3. Gene Selection: Picks the best fix strategy using knowledge base + k-NN predictor
  4. Evolution: Applies the fix with blast radius protection, validation, and rollback
  5. Feedback: Monitors subsequent cycles to verify the fix holds
  6. Learning: Records outcomes to knowledge base — proven fixes get higher confidence

Data Files

All data stays local in memory/:

FilePurpose
feedback.jsonlFix outcome tracking (append-only)
embeddings-cache.jsonCached embedding vectors
knowledge.jsonPersistent lessons (no decay)
predictor.jsonTrained model weights
cluster-registry.jsonSemantic error cluster map

GEP Protocol (Auditable Evolution)

Every evolution produces structured, auditable assets:

  • assets/gep/genes.json: Reusable fix strategies
  • assets/gep/capsules.json: Successful evolution records
  • assets/gep/events.jsonl: Append-only audit trail

Safety

  • Blast radius limits (max files/lines changed per cycle)
  • Critical path protection (cannot modify itself or core configs)
  • Validation commands run before committing
  • Canary check (index.js must still load)
  • Ethics committee (blocks dangerous patterns)
  • Full rollback on any failure

Author

Built by Joe Che

License

MIT

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

OpenClaw

79.4%
按下载量换算2,735

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

可疑

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

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

来源信息

继续浏览同类 Skills