360 Secure SkillHub
360 安全技能中心

Openclaw Skill Self Improvement

这是OpenClaw技能的健康评估与回归系统,核心功能包括:扫描技能检测重复、冷门/长期未用技能;验证路由触发正确性并跟踪通过率;每日自动执行检查与评估,生成对比报告。适用于AgentSkills创建、审计、维护场景,确保技能质量,避免路由退化。输入为技能路径,输出含健康报告、路由评估报告等多类文件。

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

安装技能

复制下面的话术发给你的 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