Agentclash eval runner

From agentclash/agentclash · View interactive version

Agentclash eval runner is an AI agent skill from the GitHub repository agentclash/agentclash. Use when starting, following, inspecting, or reporting AgentClash eval runs with the CLI, especially eval start, run create, deployment selection, input set selection, suite-only scopes, repetitions, events, rankings, failures, and scorecards.

How to use this skill

Skill file

AgentClash Eval Runner

Purpose

Create an AgentClash eval run or eval session against a published challenge pack, follow it when useful, inspect evidence after it runs, and report stable commands a reviewer can repeat.

Use When

Do Not Use When

Inputs Needed

Environment

Use hosted production by default unless the user intentionally targets local or self-hosted infrastructure:

export AGENTCLASH_API_URL="https://api.agentclash.dev"

Before creating a run, verify auth and workspace context:

agentclash auth status
agentclash workspace use <WORKSPACE_ID>
agentclash challenge-pack list --json
agentclash deployment list --json

Workspace resolution follows the CLI setup rules: --workspace, AGENTCLASH_WORKSPACE, saved config, or .agentclash.yaml. eval start, run create, run list, run failures, and eval scorecard require a workspace.

Prefer `eval start` for Humans and Agents

agentclash eval start wraps agentclash run create but resolves selectors through workspace reads. Use it when names, slugs, input-set keys, or guided selection are useful.

agentclash eval start \
  --pack <PACK_ID_OR_SLUG_OR_EXACT_NAME> \
  --pack-version <VERSION_ID_OR_VERSION_NUMBER> \
  --input-set <INPUT_SET_ID_OR_KEY_OR_EXACT_NAME> \
  --deployment <DEPLOYMENT_ID_OR_EXACT_NAME> \
  --name "Smoke eval" \
  --follow

Exact eval start flags:

Selector behavior:

Use `run create` for ID-First Automation

agentclash run create posts directly to /v1/runs. Use it when a script already has IDs.

agentclash run create \
  --challenge-pack-version <CHALLENGE_PACK_VERSION_ID> \
  --input-set <CHALLENGE_INPUT_SET_ID> \
  --deployments <AGENT_DEPLOYMENT_ID> \
  --name "Smoke eval" \
  --follow

Exact run create notes:

The run create request body sent by the CLI contains:

{
  "workspace_id": "<WORKSPACE_ID>",
  "challenge_pack_version_id": "<CHALLENGE_PACK_VERSION_ID>",
  "challenge_input_set_id": "<CHALLENGE_INPUT_SET_ID>",
  "agent_deployment_ids": ["<AGENT_DEPLOYMENT_ID>"],
  "official_pack_mode": "full",
  "name": "Smoke eval",
  "regression_suite_ids": ["<REGRESSION_SUITE_ID>"],
  "regression_case_ids": ["<REGRESSION_CASE_ID>"],
  "race_context": true,
  "race_context_min_step_gap": 3
}

Optional fields are omitted when not set. The create-run API requires JSON, caps the body at 1 MiB, rejects unknown JSON fields, and returns:

{
  "id": "<RUN_ID>",
  "workspace_id": "<WORKSPACE_ID>",
  "challenge_pack_version_id": "<CHALLENGE_PACK_VERSION_ID>",
  "challenge_input_set_id": "<CHALLENGE_INPUT_SET_ID>",
  "official_pack_mode": "full",
  "status": "queued",
  "execution_mode": "single_agent",
  "created_at": "<timestamp>",
  "queued_at": "<timestamp>",
  "race_context": false,
  "links": {
    "self": "/v1/runs/<RUN_ID>",
    "agents": "/v1/runs/<RUN_ID>/agents"
  }
}

Suite-Only Runs

Use suite-only scope when you want to run only selected regression suites or cases.

With eval start, suites can be IDs or exact names:

agentclash eval start \
  --pack <PACK_ID_OR_SLUG> \
  --pack-version <VERSION_ID_OR_NUMBER> \
  --deployment <DEPLOYMENT_ID_OR_NAME> \
  --scope suite_only \
  --suite <REGRESSION_SUITE_ID_OR_EXACT_NAME> \
  --follow

With run create, use IDs:

agentclash run create \
  --challenge-pack-version <CHALLENGE_PACK_VERSION_ID> \
  --deployments <AGENT_DEPLOYMENT_ID> \
  --scope suite_only \
  --suite <REGRESSION_SUITE_ID> \
  --follow

--scope suite_only requires at least one --suite or --case.

Repeated Eval Sessions

Use --repetitions on eval start for repeated runs of the same eval.

agentclash eval start \
  --pack <PACK_ID_OR_SLUG> \
  --pack-version <VERSION_ID_OR_NUMBER> \
  --input-set <INPUT_SET_ID_OR_KEY> \
  --deployment <DEPLOYMENT_ID_OR_NAME> \
  --repetitions 3 \
  --json

Exact repetition behavior:

In human output, the CLI prints eval session ID, status, repetitions, and child run IDs. In structured output, it prints the raw response envelope.

Eval Session Commands

When an eval session already exists (from --repetitions >= 2 or API), inspect and follow aggregation with:

agentclash eval session list
agentclash eval session list --limit 20 --offset 0
agentclash eval session get <EVAL_SESSION_ID>
agentclash eval session follow <EVAL_SESSION_ID>
agentclash eval session follow <EVAL_SESSION_ID> --poll-interval 5s --timeout 30m

Behavior:

Use eval session follow after creating a multi-repetition eval when you need aggregated results before reading scorecards or comparisons.

Run Series Commands

run series crosses deployment lineups with seeds for multi-run comparison series:

agentclash run series create \
  --challenge-pack-version <CHALLENGE_PACK_VERSION_ID> \
  --deployment-lineups <LINEUP_ID> \
  --seeds 3 \
  --name "Series smoke"

agentclash run series report <EVAL_SESSION_ID>

run series create flags:

run series create posts to /v1/eval-sessions and returns an eval session plus child run IDs (same family as eval start --repetitions).

run series report <eval-session-id> reads /v1/eval-sessions/<id> and prints aggregate score, correctness, and cost for the series.

Follow and Events

Use --follow for interactive runs when you want immediate event visibility.

agentclash eval start ... --follow
agentclash run create ... --follow
agentclash run events <RUN_ID>

run events streams /v1/runs/<runID>/events/stream via SSE.

Inspect After Creation

Use these read commands after a run is created:

agentclash run list --json
agentclash run get <RUN_ID> --json
agentclash run agents <RUN_ID> --json
agentclash run ranking <RUN_ID> --json
agentclash run ranking <RUN_ID> --sort-by composite
agentclash run failures <RUN_ID> --json
agentclash eval scorecard <RUN_ID> --agent <RUN_AGENT_ID_OR_LABEL> --json
agentclash run scorecard <RUN_AGENT_ID> --json

Read command notes:

Common Failure Modes

Safety Notes

Report Back Format

Workspace: <workspace-id>
Command used:
Run ID: <id or none>
Eval session ID: <id or none>
Child run IDs: <ids if repetitions >= 2>
Challenge pack version: <id>
Input set: <id/key/name or none>
Deployments:
- <id/name>
Scope: <full|suite_only>
Followed: <yes/no>
Status: <queued/running/completed/failed/etc>
Agents: <count and labels>
Ranking: <summary or unavailable>
Failures: <count/filter summary or unavailable>
Scorecard: <state/link/summary or unavailable>
Evidence commands:
- agentclash eval session get <EVAL_SESSION_ID> --json
- agentclash run series report <EVAL_SESSION_ID>
- agentclash run get <RUN_ID> --json
- agentclash run agents <RUN_ID> --json
- agentclash run ranking <RUN_ID> --json
- agentclash run failures <RUN_ID> --json
Next action: <recommendation>

Related Skills

Related Docs

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.