leoyeai/openclaw-master-skills/eval-skills
Claude Code and agent skill by leoyeai/openclaw-master-skills
- community
- ext:[{"type":"config","description":"Configuration overrides"}]
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-skillsSemi-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
evalto verify it meets your quality gate. - When choosing between multiple candidate skills — run
selectto rank them on the same benchmark. - When a skill is upgraded — run
report diffto detect regressions. - In CI/CD — use
--exit-on-failto block merges that degrade skill quality. - When bootstrapping a new skill — run
createto generate a ready-to-fill skeleton.
Capabilities
1. Find Skills
Search for existing skills by keyword, tag, or adapter type.
| Option | Description | Default | |
|---|---|---|---|
-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 results | 20 |
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.
| Option | Description | Default | |
|---|---|---|---|
--name <name> | Required. Skill name | — | |
--from-template <tpl> | Template type: http_request, python_script, mcp_tool | http_request | |
--output-dir <dir> | Output directory | ./skills | |
--description <text> | Human-readable description embedded in skill.json | — |
Generated file structure:
3. Evaluate Skills
Run benchmark evaluations against one or more skills. This is the core command.
| Option | Description | Default | ||
|---|---|---|---|---|
--skills <paths...> | Required. Skill file(s) or directory(ies) | — | ||
| `--benchmark <id\ | path>` | Built-in benchmark ID or path to benchmark.json | coding-easy | |
--tasks <file> | Custom tasks JSON file (replaces benchmark) | — | ||
--concurrency <n> | Number of parallel task executions | 4 | ||
--timeout <ms> | Per-task timeout in milliseconds | 30000 | ||
--retries <n> | Retry count on task failure (with incremental backoff) | 0 | ||
--runs <n> | Repeat evaluation N times for consistency scoring | 1 | ||
--evaluator <type> | Default scorer type (see Scorer Types below) | exact | ||
--format <formats...> | Output formats: json, markdown, html | json markdown | ||
--output-dir <dir> | Report output directory | ./reports | ||
--exit-on-fail | Exit with code 1 if any skill falls below threshold | disabled | ||
--min-completion <rate> | Threshold for --exit-on-fail | 0.7 | ||
--dry-run | Validate configuration only; do not execute tasks | disabled | ||
--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.yaml | auto-detected |
Evaluation flow:
- Load skills from
--skillspaths (supports both singleskill.jsonand directories) - Load benchmark tasks from
--benchmarkor--tasks - Build the cartesian product:
skills x tasks x runs - Execute all task items concurrently (controlled by
--concurrency, with timeout and retry) - Score each result using the appropriate scorer
- Aggregate into
SkillCompletionReportper skill - Write reports to
--output-dir
4. Select Skills
Filter and rank skills based on evaluation reports using a multi-dimensional strategy.
| Option | Description | Default | |
|---|---|---|---|
--from <path> | Required. Candidate skills directory or JSON file | — | |
--reports <file> | Evaluation reports JSON file | — | |
--strategy <file> | SelectStrategy YAML/JSON file | built-in default | |
--min-completion <rate> | Override minimum completion rate filter | — | |
--top-k <n> | Return only the top K results | all | |
--output <file> | Write selected skills to file | stdout |
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:
5. Run Pipeline
Execute the full end-to-end pipeline: Find -> Eval -> Select -> Report in a single command.
This command automates the entire process:
- Find — scans
--skills-dirand optionally filters by--query - Eval — evaluates all candidate skills against
--benchmark - Select — filters and ranks results using
--min-completion,--top-k, and optional--strategy - Report — generates output files in all requested
--formats
6. Generate & Compare Reports
Convert report format
Supported output formats: markdown, html.
Diff two reports (regression detection)
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
Creates the project scaffold:
eval-skills.config.yaml— global configurationskills/— directory for skill definitionsbenchmarks/— directory for benchmark filesreports/— directory for evaluation output
8. Manage Configuration
Configuration is resolved in priority order:
- CLI flags (highest priority)
eval-skills.config.yamlin current directory~/.eval-skills/config.yaml- 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.
| Type | Aliases | Description | Score Range | |
|---|---|---|---|---|
exact_match | exact | Strict 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_schema | schema | Validates 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:
| Metric | Description | Formula | |
|---|---|---|---|
| Completion Rate | Fraction of tasks that passed | pass_count / total_count | |
| Partial Score | Mean score across all tasks | mean(task_scores) | |
| Error Rate | Fraction of tasks that errored or timed out | (error_count + timeout_count) / total_count | |
| Consistency Score | Stability across multiple runs (requires --runs >= 2) | 1 - stddev(per_run_completion_rates) | |
| P50 / P95 / P99 Latency | Response time percentiles | Sorted percentile of latencyMs | |
| Composite Score | Weighted overall quality score | 0.5 * CR + 0.2 * (1 - latP95_norm) + 0.3 * (1 - ER) |
Built-in Benchmarks
| ID | Domain | Tasks | Scoring | Description | |
|---|---|---|---|---|---|
coding-easy | coding | 20 | mean / exact_match | Math expressions, string reversal, palindrome detection | |
skill-quality | tool-use | 5 | mean / contains | Metadata completeness, description quality, structure checks | |
web-search-basic | web | 8 | mean / contains + schema | Factual queries, keyword verification, structured output validation | |
gaia-v1 | general | — | mean | Placeholder for GAIA benchmark Level 1 tasks | |
toolbench-lite | tool-use | — | mean | Placeholder for ToolBench single-tool scenarios |
Custom Benchmark
Create a benchmark.json file:
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
- SKILL.md in the repositoryCheckingskills/eval-skills/SKILL.md
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
[](https://verified-skill.com/skills/leoyeai/openclaw-master-skills/eval-skills)