Token导航 LogoToken导航TokenDH.com
研究检索执行命令clawhub未标认证来源可访问clear审计提醒

openclaw-skill-evalOpenClaw 技能 eval

Agent Skill

openclaw-skill-eval 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

7,064

周安装

283

GitHub Stars

公开资料未说明

下载量

2,287
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:openclaw-skill-eval(OpenClaw 技能 eval)
来源仓库:https://github.com/xiaoxing9/openclaw-skill-eval
安装命令:
openclaw skills install openclaw-skill-eval
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

ClawHubOpenClaw
openclaw skills install openclaw-skill-eval

简介

提供技能触发率与效果对比评估框架支持。openclaw-skill-eval 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

  • 适用于测试不同模型或有无技能时的质量差异分析。
  • 通过 session_spawn 与 session_his 组合运行实验。
  • 需确保测试环境隔离以避免干扰主业务流程。
  • 结果解读应结合具体任务上下文综合判断。

SKILL.md

name
skill-eval
description
Skill evaluation framework. Use when: testing trigger rate, quality compare (with/without skill), or model comparison. Runs via sessions_spawn + sessions_history. Trigger words: evaluate skill, benchmark, trigger rate, A/B compare. NOT for: debugging conversations, general testing unrelated to skill evaluation.
metadata
{ "openclaw": { "emoji": "🔬" } }

openclaw-eval-skill

Evaluation framework for any OpenClaw skill. No claude CLI dependency — all agent execution runs through sessions_spawn + sessions_history.

Scope: Works with CLI tool skills, conversational skills, and API integration skills.


Runtime Actions Disclosure

This skill performs the following actions during evaluation:

ActionPurposeWhen
Read ~/.openclaw/openclaw.jsonFind skill directories (extraDirs)Path resolution
Write to eval-workspace/Store evaluation resultsEvery eval run
Call sessions_spawnRun test queries in isolated sessionsTrigger & quality tests
Call sessions_historyCollect conversation data for analysisAfter each spawn
Persist cleanup="keep" sessionsRequired for trigger detectionTrigger rate tests

NOT performed automatically: Gateway restart, config modification, skill installation. These require manual user action (see "Bundled Test Skill" section).


Quick Eval

Just say:

evaluate weather

The agent will:

  1. Run scripts/resolve_paths.py weather to find all paths
  2. Execute trigger rate + quality compare with detected evals
  3. Output results to eval-workspace/weather/iter-N/

Options:

  • evaluate weather trigger — trigger rate only
  • evaluate weather quality — quality compare only
  • evaluate github --mode all — explicit mode

What gets auto-detected:

  • Skill path: from OpenClaw built-in skills or registered extraDirs
  • Evals: from evals/{skill-name}/ or fallback to evals/example-*.json
  • Output: next available iter-N directory

First step for agent: Run the resolver to get paths:

python scripts/resolve_paths.py {skill-name} --mode {trigger|quality|all}

Use the JSON output to fill in paths for the workflows below.


Bundled Test Skill: fake-tool

A test skill (test-skills/fake-tool/) is included for validating trigger rate detection. It simulates a fictional "Zephyr API" that models cannot know from training.

Manual setup required: The agent will NOT automatically install fake-tool or restart your gateway. If you want to test with fake-tool:

  1. Copy fake-tool to your skills directory:
   cp -r test-skills/fake-tool ~/.openclaw/workspace/skills/
  1. Restart OpenClaw gateway (from terminal):
   openclaw gateway restart
  1. Verify registration:
   python scripts/resolve_paths.py fake-tool

If step 3 returns a valid path, fake-tool is ready. If "not found", check that your ~/.openclaw/openclaw.json includes the skills directory in skills.load.extraDirs.


Evaluation Scenarios

Tier 1: Core (Always Run)

ScenarioWhat It TestsOutput
Trigger RateDoes description trigger SKILL.md reads at the right times? Includes positive (should trigger) AND negative (should NOT trigger) cases.recall, specificity, precision, F1
Quality CompareDoes skill improve output vs no-skill baseline?quality_score, assertion pass rate
Description DiagnosisWhy did triggers fail? Analyzes both false negatives AND false positives.gap analysis, recommendations

Tier 2: Optional (Run When Needed)

ScenarioWhat It TestsWhen to Use
Model ComparisonQuality + speed across haiku/sonnet/opusBefore deployment: which model is enough?
Efficiency ProfileResponse time + retry patternsWhen skill feels slow: is agent walking wrong paths?

Tier 3: Future (Roadmap)

ScenarioWhat It TestsStatus
Cross-skill ConflictTwo skills with overlapping descriptionsPlanned
Error RecoveryDoes agent recover when CLI fails?Planned

How This Skill Works

Two-layer architecture:

Layer 1: Agent (main OpenClaw session) — YOU ARE HERE
  → Reads evals.json
  → Calls sessions_spawn to run subagents
  → Calls sessions_history to collect results
  → Writes raw data to workspace/

Layer 2: Python analysis scripts (run via exec)
  → Read the raw data from workspace/
  → Compute statistics
  → Generate reports

Python scripts (analyze_*.py) are data processors — they cannot call sessions_spawn. The agent drives the workflow.


Usage

Follow USAGE.md for all workflows.

Quick reference:

WorkflowWhat It TestsUSAGE.md Section
Trigger RateDoes description trigger SKILL.md reads at the right times?Workflow 1
Quality CompareDoes skill improve output vs no-skill baseline?Workflow 2
Model ComparisonQuality + Speed across haiku/sonnet/opusWorkflow 3
Latency ProfileResponse time p50/p90Workflow 4

Each workflow follows the same pattern:

  1. Agent spawns subagents using sessions_spawn
  2. Agent collects histories using sessions_history
  3. Agent writes raw data to workspace/{skill}/iter-{n}/raw/
  4. Agent runs analysis script via exec

Core Principles

  1. Never modify the evaluated skill — observe only, give recommendations
  2. Keep eval records in workspace — output goes to eval-workspace/<skill-name>/iteration-N/
  3. Keep full records — save full_history.json (including tool_use + tool_result)

agents/ Reference

FilePurposeWhen to Use
grader.mdCheck assertions, record behavior anomalies, give priority recommendationsRequired for every Quality Compare eval
comparator.mdBlind A/B comparison without assertionsWhen unbiased comparison is needed
analyzer.mdAnalyze cross-eval patterns after all evals completePost-analysis

Directory Structure

eval-workspace/<skill-name>/
├── evals.json                    ← Eval definition (shared across iterations)
└── iteration-1/
    ├── raw/
    │   ├── histories/            ← Trigger test session histories
    │   └── transcripts/          ← Quality compare transcripts
    ├── trigger_results.json      ← analyze_triggers output
    ├── quality_results.json      ← analyze_quality output
    └── diagnostics/
        └── RECOMMENDATIONS.md

evals.json Format

Quality Compare (prompt + assertions):

{
  "skill_name": "my-skill",
  "evals": [
    {
      "id": 1,
      "name": "onboarding-fresh",
      "prompt": "Check the weather in Tokyo",
      "context": "Clean machine, no prior setup. For grader only.",
      "expected_output": "Install → configure → verify profile",
      "assertions": [
        {
          "id": "a1-1",
          "description": "Install command executed",
          "type": "output_contains",
          "value": "pip install"
        },
        {
          "id": "a1-2",
          "description": "Profile verified after setup",
          "type": "output_contains",
          "value": "profile current",
          "priority": true
        }
      ]
    }
  ]
}

Trigger Rate (query + expected):

{
  "id": 1,
  "name": "direct-weather",
  "query": "What's the weather in Singapore?",
  "expected": true,
  "category": "positive"
}

Assertion Types

TypeDetection
output_containsValue appears in conversation or tool output
output_not_containsValue does not appear
output_count_maxOccurrences ≤ max
tool_calledSpecific tool called at least once
tool_not_calledSpecific tool not called
conversation_containsValue appears anywhere in conversation
conversation_contains_anyAt least one value appears

Priority assertions ("priority": true): any failure → overall=FAIL. Gap assertions ("note": "Best practice..."): failure = skill design gap.


Issue Priority (grader output)

🔴 P0 Critical  — Core functionality broken
🟠 P1 High      — Significantly impacts usability
🟡 P2 Medium    — Room for improvement
🟢 P3 Low       — Minor polish

Behavior Anomaly Tracking

Grader records these signals beyond assertions:

FieldTrigger
path_correctionsWrong path then self-corrected
retry_countSame command executed multiple times
missing_file_readsAttempted to read non-existent files
skipped_stepsSteps required by skill were not executed
hallucinationsFabricated non-existent commands/APIs

Key Constraints

  • sandbox="inherit" — subagents inherit skill registration environment
  • cleanup="keep" — history must be retained for trigger detection
  • Skill must be in a real directory under skills.load.extraDirs (symlinks rejected)

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

OpenClaw

77.77%
按下载量换算1,779

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

可疑

权限和风险

执行命令

安装流程涉及命令执行,可能通过 openclaw skills install openclaw-skill-eval 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

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

来源信息

继续浏览同类 Skills