Skip to main content
As long as you have a local directory containing 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.
Want to run standardized public benchmark tasks? In Dashboard, select Built-in datasets under New Evaluation to download WorkBuddy Code or SkillsBench. See Built-in benchmark datasets.

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-code or codex) and corresponding model API keys
Run the fixed, low-cost smoke test to validate the full execution pipeline:
  • --quick runs the built-in generic-skill-smoke task, verifying that the Skill can be properly loaded into the agent, invoked by the model, and produce expected output files;
  • --html tells 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 generated summary.html in your browser (or view summary.md in the same directory):
  1. Pass Rates: Check pass@1, pass@k, or pass^k metrics to measure Skill capability and consistency across repeated runs;
  2. Multi-Dimensional Rubric Scores: Inspect task completion, formatting compliance, and absence of unwanted side effects;
  3. 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:
If no task is manually configured, the runner automatically generates 2 to 4 test cases tailored to your Skill, freezes and caches them, and executes the suite.

Target Passing Options

You can pass a directory, a SKILL.md file directly, or an eval.yaml manifest:
If your Skill lives outside the current project, pass --project ./my-project to designate where run logs and reports should be saved.

Customizing Evaluation Tasks

To write domain-specific evaluation tasks, create a comet/eval.yaml file inside your Skill root:
For advanced task bundles containing custom Dockerfiles and test scripts (task.toml), see Configuring Evaluations and Custom Tasks.

Step 5: Switch Evaluation Agents and Backends

Changing the Evaluated Agent

The default agent is claude-code. You can specify a different primary Agent and an independent LLM-as-Judge model via CLI flags or eval.yaml:
Or configure defaults in 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
You can maintain API keys and base URLs for frequently used models in this file without re-entering them in your terminal.
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

Last modified on November 19, 2026