SKILL.md, you can immediately evaluate its quality using comet eval.
Even if you have not written any test cases yet, Eval automatically generates 2 to 4 matching evaluation test cases based on your Skill’s content and executes them. This guide follows the actual developer workflow: start with a zero-config static pre-check, run a low-cost smoke test, interpret report findings, and configure advanced settings as needed.
Quickstart Workflow
Step 1: Zero-Config Static Pre-check (No API Keys Required)
Before making any real model calls, run--collect to verify Skill directory structures, manifests, and task discovery:
- Requires no Docker, no API keys, and incurs zero token cost;
- Runs static syntax checks and task scans locally;
- Once the command recognizes your Skill name and planned tasks, proceed to the next step.
Step 2: Run a Low-Cost Smoke Evaluation
Before running a real evaluation, make sure your machine has:- Python 3.11+ and
uv - Docker installed and running
- Your chosen Agent CLI (defaults to
claude-codeorcodex) and corresponding model API keys
--quickruns the built-ingeneric-skill-smoketask, verifying that the Skill can be properly loaded into the agent, invoked by the model, and produce expected output files;--htmltells the runner to generate an interactive HTML report upon completion and print the report path to your terminal.
Step 3: Interpret Evaluation Reports and Root-Cause Failures
Open the generatedsummary.html in your browser (or view summary.md in the same directory):
- Pass Rates: Check
pass@1,pass@k, orpass^kmetrics to measure Skill capability and consistency across repeated runs; - Multi-Dimensional Rubric Scores: Inspect task completion, formatting compliance, and absence of unwanted side effects;
- Precise Failure Attribution: When a task fails, Comet automatically categorizes the root cause:
harness: Container, dependency, or runtime environment errors (e.g. Docker port conflicts or missing Python packages);workflow: Workflow guidance flaws, such as the agent getting stuck or timing out;task: The evaluation task definition or assertion criteria are incorrect or overly strict;model: Model output instability or formatting anomalies.
Step 4: Full Evaluation and Customizing Tasks
Once the smoke test succeeds, run a full evaluation:Target Passing Options
You can pass a directory, aSKILL.md file directly, or an eval.yaml manifest:
--project ./my-project to designate where run logs and reports should be saved.
Customizing Evaluation Tasks
To write domain-specific evaluation tasks, create acomet/eval.yaml file inside your Skill root:
task.toml), see Configuring Evaluations and Custom Tasks.
Step 5: Switch Evaluation Agents and Backends
Changing the Evaluated Agent
The default agent isclaude-code. You can specify a different primary Agent and an independent LLM-as-Judge model via CLI flags or eval.yaml:
eval.yaml (CLI flags take precedence):
Choosing an Evaluation Backend (Local / LangSmith / Langfuse)
Use--suite to specify where telemetry and test scores should sync:
Advanced Reference: User-Level .env Configuration
The first time you run any comet eval command, the CLI automatically generates a global configuration template in your user home directory (creating only missing files without overwriting existing ones):
- Windows:
%USERPROFILE%\.comet\eval\.env - macOS / Linux:
~/.comet/eval/.env
View Complete Environment Variable Reference
View Complete Environment Variable Reference
The auto-generated
.env template includes configuration options for the following parameter groups:All template parameters are commented out by default. Unconfigured items retain default behaviors. Store real API keys only in your local
.env or current shell session, and never commit secrets to public repositories.Further Reading
- Evaluation System Overview: In-depth look at evaluation tasks, profiles, scoring, and runners;
- Scoring Metrics and Dual-Agent Evaluation: Understand Rubrics,
pass@k/pass^k, and multi-turn interaction loops; - Evaluating SDK Applications: How to automate evaluations for composite workflow applications built with Comet Any;
- comet eval Command Reference: View all CLI options, parameters, and troubleshooting guides.

