360 Secure SkillHub
360 安全技能中心

Openclaw Skill Self Improvement

面向 OpenClaw 技能库的自检与回归系统:Node 脚本扫描工作区与系统技能,识别重复、长期未使用和过期技能,按既定用例运行关键词路由评测统计通过率,并以每日心跳对比历史结果,输出 JSON 报告与文本摘要及建议动作。

x-rayluan
x-rayluan
热度 37.95
最近更新 2026-05-18 11:48:36
分类:开发依赖:代码执行 / 读写文件应用场景:自动化脚本 / 工作流 / 报告撰写 / 数据处理

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add openclaw-skill-self-improvement
Metadata
name
openclaw-skill-self-improvement
description
Health, eval, and regression system for continuously improving OpenClaw skills. Use when creating, auditing, or maintaining AgentSkills to ensure quality, detect duplicates, prevent routing regressions, and keep the skill registry clean. Triggers on: "audit skills", "skill health check", "routing eval", "duplicate skill", "dark skill", "skill regression", "improve skill system".
version
1.0.0

OpenClaw Skill Self Improvement

A health, eval, and regression system for continuously improving OpenClaw skills.

Goal

Turn skill quality from an occasional cleanup task into a repeatable health loop.

What it does

1. Skill Health Check

Scans all workspace and system skills to detect:

  • Duplicate skills: skills with highly similar names/descriptions
  • Dark skills: skills with no recent usage signals
  • Stale skills: skills unused for extended periods

2. Routing Eval

Runs evaluation cases against a keyword-weighted router to verify:

  • Correct skills trigger for given inputs
  • Wrong skills don't accidentally trigger
  • Pass rate tracking over time

3. Daily Heartbeat

Automated daily run that:

  • Executes health check + eval
  • Compares against previous run
  • Generates human-readable summary
  • Surfaces changes and recommended actions

Usage

Run health check

node scripts/skill-health-check.mjs /path/to/workspace

Run routing eval

node scripts/routing-eval-runner.mjs /path/to/workspace

Run daily heartbeat

node scripts/daily-health-heartbeat.mjs /path/to/workspace

Output files

  • .learnings/skill-health-report.json
  • .learnings/routing-eval-report.json
  • .learnings/daily-skill-health-summary.txt
  • .learnings/skill-health-history.json

Current status

  • Total skills scanned: 122 (workspace + system)
  • Duplicate pairs: 1 (false positive)
  • Dark skills: 0
  • Eval pass rate: 100% (8/8)

Files

  • scripts/skill-health-check.mjs — duplicate and dark skill detection
  • scripts/routing-eval-runner.mjs — routing evaluation runner
  • scripts/daily-health-heartbeat.mjs — daily automation
  • references/routing-evals.json — evaluation case definitions

License

MIT