leoyeai/openclaw-master-skills/eval-skills

Claude Code and agent skill by leoyeai/openclaw-master-skills

Trust tier 3
  • community
  • ext:[{"type":"config","description":"Configuration overrides"}]
Source check pending

Checking that the SKILL.md file is still in the repository.

AI Agent Skill unit testing framework. A framework-agnostic toolkit for discovering, scaffolding, selecting, evaluating, and reporting on AI skills. Use this skill to assess skill quality before production, compare candidate skills on the same benchmark, enforce quality gates in CI/CD, and generate human-readable evaluation reports.

Install

npx vskill@latest install leoyeai/openclaw-master-skills/eval-skills

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

The same SKILL.md was published earlier as leoyeai/openclaw-master-skills/eval-skills.

eval-skills

AI Agent Skill unit testing framework — a framework-agnostic toolkit for discovering, scaffolding, selecting, evaluating, and reporting on AI skills.

This skill fills the L1 (Skill Unit Test) gap that LangSmith / DeepEval leave open: while those platforms focus on agent-level and trajectory-level evaluation (L2-L3), eval-skills targets the individual skill level, ensuring each building block meets quality standards before it ever enters an agent pipeline.

When to Use This Skill

  • Before deploying a new skill to production — run eval to verify it meets your quality gate.
  • When choosing between multiple candidate skills — run select to rank them on the same benchmark.
  • When a skill is upgraded — run report diff to detect regressions.
  • In CI/CD — use --exit-on-fail to block merges that degrade skill quality.
  • When bootstrapping a new skill — run create to generate a ready-to-fill skeleton.

Capabilities

1. Find Skills

Search for existing skills by keyword, tag, or adapter type.

bash
eval-skills find \
--query "web search" \
--tag retrieval api \
--adapter http \
--min-completion 0.8 \
--skills-dir ./skills \
--limit 10
OptionDescriptionDefault
-q, --query <string>Keyword search (matches name, description, tags)—
-t, --tag <tags...>Filter by tags (intersection: skill must have ALL specified tags)—
-a, --adapter <type>Filter by adapter type (http, subprocess, mcp)—
--min-completion <rate>Minimum historical completion rate (0.0 ~ 1.0)—
--skills-dir <dir>Directory to scan for skill.json files./skills
--limit <n>Maximum number of results20

Results are ranked by search relevance (when --query is provided) or by historical completion rate (descending).

2. Create Skills

Generate a skill skeleton from a template to bootstrap development.

bash
eval-skills create \
--name my_api_skill \
--from-template http_request \
--output-dir ./skills \
--description "Fetches weather data from OpenWeather API"
OptionDescriptionDefault
--name <name>Required. Skill name—
--from-template <tpl>Template type: http_request, python_script, mcp_toolhttp_request
--output-dir <dir>Output directory./skills
--description <text>Human-readable description embedded in skill.json—

Generated file structure:

skills/my_api_skill/
skill.json # Skill metadata (id, schemas, adapter config)
adapter.config.json # Adapter-specific configuration
tests/
basic.eval.json # A starter benchmark with one sample task
skill.py # (python_script template only) JSON-RPC entrypoint
3. Evaluate Skills

Run benchmark evaluations against one or more skills. This is the core command.

bash
eval-skills eval \
--skills ./skills/calculator/skill.json ./skills/search/ \
--benchmark coding-easy \
--concurrency 4 \
--timeout 30000 \
--retries 2 \
--runs 3 \
--evaluator exact \
--format json markdown html \
--output-dir ./reports \
--exit-on-fail --min-completion 0.8 \
--store ./eval-skills.db
OptionDescriptionDefault
--skills <paths...>Required. Skill file(s) or directory(ies)—
`--benchmark <id\path>`Built-in benchmark ID or path to benchmark.jsoncoding-easy
--tasks <file>Custom tasks JSON file (replaces benchmark)—
--concurrency <n>Number of parallel task executions4
--timeout <ms>Per-task timeout in milliseconds30000
--retries <n>Retry count on task failure (with incremental backoff)0
--runs <n>Repeat evaluation N times for consistency scoring1
--evaluator <type>Default scorer type (see Scorer Types below)exact
--format <formats...>Output formats: json, markdown, htmljson markdown
--output-dir <dir>Report output directory./reports
--exit-on-failExit with code 1 if any skill falls below thresholddisabled
--min-completion <rate>Threshold for --exit-on-fail0.7
--dry-runValidate configuration only; do not execute tasksdisabled
--benchmarks-dir <dir>Directory containing built-in benchmarks./benchmarks
--store <path>SQLite database path for persistent result storage./eval-skills.db
-c, --config <path>Path to eval-skills.config.yamlauto-detected

Evaluation flow:

  1. Load skills from --skills paths (supports both single skill.json and directories)
  2. Load benchmark tasks from --benchmark or --tasks
  3. Build the cartesian product: skills x tasks x runs
  4. Execute all task items concurrently (controlled by --concurrency, with timeout and retry)
  5. Score each result using the appropriate scorer
  6. Aggregate into SkillCompletionReport per skill
  7. Write reports to --output-dir
4. Select Skills

Filter and rank skills based on evaluation reports using a multi-dimensional strategy.

bash
eval-skills select \
--from ./skills \
--reports ./reports/eval-result.json \
--strategy ./strategy.yaml \
--min-completion 0.8 \
--top-k 5 \
--output ./selected.json
OptionDescriptionDefault
--from <path>Required. Candidate skills directory or JSON file—
--reports <file>Evaluation reports JSON file—
--strategy <file>SelectStrategy YAML/JSON filebuilt-in default
--min-completion <rate>Override minimum completion rate filter—
--top-k <n>Return only the top K resultsall
--output <file>Write selected skills to filestdout

Selection pipeline: Filter (by completion rate, error rate, latency, adapter type, required tags) -> Score -> Rank (by compositeScore, completionRate, latency, or tokenCost) -> TopK

Example strategy.yaml:

yaml
filters:
minCompletionRate: 0.8
maxErrorRate: 0.1
maxLatencyP95Ms: 5000
adapterTypes: [http, subprocess]
requiredTags: [production-ready]
sortBy: compositeScore
order: desc
topK: 5
5. Run Pipeline

Execute the full end-to-end pipeline: Find -> Eval -> Select -> Report in a single command.

bash
eval-skills run \
--query "math" \
--benchmark coding-easy \
--skills-dir ./skills \
--top-k 3 \
--min-completion 0.7 \
--format json markdown \
--output-dir ./reports

This command automates the entire process:

  1. Find — scans --skills-dir and optionally filters by --query
  2. Eval — evaluates all candidate skills against --benchmark
  3. Select — filters and ranks results using --min-completion, --top-k, and optional --strategy
  4. Report — generates output files in all requested --formats
6. Generate & Compare Reports
Convert report format
bash
eval-skills report convert \
--input ./reports/eval-result.json \
--format html \
--output ./reports/eval-result.html

Supported output formats: markdown, html.

Diff two reports (regression detection)
bash
eval-skills report diff \
./reports/v1.json ./reports/v2.json \
--label-a "v1.0" --label-b "v2.0" \
--output ./reports/diff.md

Generates a side-by-side delta table per skill showing changes in completion rate, error rate, P95 latency, and composite score with directional arrows.

7. Initialize Project
bash
eval-skills init --dir .

Creates the project scaffold:

  • eval-skills.config.yaml — global configuration
  • skills/ — directory for skill definitions
  • benchmarks/ — directory for benchmark files
  • reports/ — directory for evaluation output
8. Manage Configuration
bash
# List all current configuration values
eval-skills config list
# Get a specific value (supports dot notation)
eval-skills config get llm.model
# Set a value (persisted to ~/.eval-skills/config.yaml)
eval-skills config set concurrency 8
eval-skills config set llm.model gpt-4o
eval-skills config set llm.temperature 0

Configuration is resolved in priority order:

  1. CLI flags (highest priority)
  2. eval-skills.config.yaml in current directory
  3. ~/.eval-skills/config.yaml
  4. Built-in defaults (concurrency: 4, timeoutMs: 30000, outputDir: ./reports)

Scorer Types

Each task in a benchmark specifies an evaluator type. The scorer compares the skill's actual output against the expected output.

TypeAliasesDescriptionScore Range
exact_matchexactStrict equality comparison. Supports caseSensitive option.0 or 1
contains—Checks for the presence of all specified keywords in the output. Partial credit: matched_keywords / total_keywords.0.0 ~ 1.0
json_schemaschemaValidates output against a JSON Schema (using Ajv).0 or 1
llm_judge—Sends the output + expected rubric to an LLM (configurable model) for quality rating.0.0 ~ 1.0
custom—Loads a custom scorer from expectedOutput.customScorerPath.0.0 ~ 1.0

Evaluation Metrics

Every evaluation produces a SkillCompletionReport with these metrics:

MetricDescriptionFormula
Completion RateFraction of tasks that passedpass_count / total_count
Partial ScoreMean score across all tasksmean(task_scores)
Error RateFraction of tasks that errored or timed out(error_count + timeout_count) / total_count
Consistency ScoreStability across multiple runs (requires --runs >= 2)1 - stddev(per_run_completion_rates)
P50 / P95 / P99 LatencyResponse time percentilesSorted percentile of latencyMs
Composite ScoreWeighted overall quality score0.5 * CR + 0.2 * (1 - latP95_norm) + 0.3 * (1 - ER)

Built-in Benchmarks

IDDomainTasksScoringDescription
coding-easycoding20mean / exact_matchMath expressions, string reversal, palindrome detection
skill-qualitytool-use5mean / containsMetadata completeness, description quality, structure checks
web-search-basicweb8mean / contains + schemaFactual queries, keyword verification, structured output validation
gaia-v1general—meanPlaceholder for GAIA benchmark Level 1 tasks
toolbench-litetool-use—meanPlaceholder for ToolBench single-tool scenarios
Custom Benchmark

Create a benchmark.json file:

json
{
"id": "my-benchmark",
"name": "My Custom Benchmark",
"version": "1.0.0",
"domain": "general",
"scoringMethod": "mean",
"maxLatencyMs": 30000,
"metadata": { "source": "internal", "lastUpdated": "2026-02-28" },
"tasks": [
{
"id": "task_001",
"description": "Test basic addition",
"inputData": { "expression": "2+3" },
"expectedOutput": { "type": "exact", "value": "5" },
"evaluator": { "type": "exact" },
"timeoutMs": 10000,
"tags": ["math"]
},
{
"id": "task_002",
"description": "Test keyword presence",
"inputData": { "query": "TypeScript" },
"expectedOutput": { "type": "contains", "keywords": ["JavaScript", "Microsoft"] },
"evaluator": { "type": "contains", "caseSensitive": false },
"timeoutMs": 15000,
"tags": ["search"]
}
]
}
bash
eval-skills eval --skills ./my-skill/ --benchmark ./my-benchmark.json

Adapter Types

Skills communicate through adapters. The adapter type is specified in skill.json via adapterType.

This is the start of the file. Read the full SKILL.md on GitHub.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
2,157
Repository forks
324
7-day trend score
43

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Extension points

  • configConfiguration overrides

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/leoyeai/openclaw-master-skills/eval-skills/badge)](https://verified-skill.com/skills/leoyeai/openclaw-master-skills/eval-skills)

Something wrong with this skill or its page? Tell us.