Reference
CLI Reference
Commands, flags, and command groups generated from the CLI command schema.
Intro-oriented readers should still start from Hosted quickstart; this page focuses on listing every command in the CLI command schema (cli/cmd/testdata/schema_snapshot.json, the same output as agentclash schema --json) after each docs rebuild. For repo layout around the CLI, see Codebase tour.
Usage errors
The CLI exits 64 for unknown top-level commands, missing required flags, unknown flags, incorrect argument counts, and flag values it cannot parse. Command groups such as share print their help and exit 0 for unknown subcommands.
With --json or an output format of json set by --output (-o) or saved configuration, the CLI writes a JSON usage error with error.code set to invalid_argument on stderr. Other output formats, including yaml, produce plain-text usage errors. Run agentclash schema --json for the exit code registry.
See also
- CLI evalset workflow — Fleet
evalsetcommands with examples - Fleet overview
- Datasets overview
- Security evaluation
This page is generated from the CLI command schema (agentclash schema --json).
Global flags
--api-url— API base URL (overrides config)--json— Output in JSON format--no-color— Disable color output--non-interactive— Never prompt; fail fast when interactive input is required (also set by AGENTCLASH_NONINTERACTIVE or CI)--output(-o) — Output format: table, json, yaml--query— jq expression applied to structured output (alias: --jq); strings print raw, other results one compact JSON document per line. Requires --json or --output json|yaml.--quiet(-q) — Suppress non-essential output--verbose(-v) — Enable debug output on stderr--workspace(-w) — Workspace ID (overrides config)
Command groups
agent-harness
Manage coding-agent harnesses
create
Create an agent harness
Flags
--api-key-secret— Workspace secret name containing the runner provider API key--auth-modedefault:api_key_secret— Harness auth mode: api_key_secret--base-branch— Base branch for repository work--codex-model— Runner model override--codex-template— E2B template override for the harness runner--description— Harness description--evaluation-config— Inline JSON evaluation config--evaluation-config-file— JSON file with validators and LLM judges--execution-config— Inline JSON execution config--from-file— JSON file with agent harness spec--harness-kinddefault:codex_e2b— Harness runner kind: codex_e2b, claude_e2b, hermes_e2b, or openclaw_e2b--name— Harness name--openai-api-key-secret— Workspace secret name containing OPENAI_API_KEY--repository-url— Repository URL for the harness task--task— Task prompt for the coding harness
execution
Inspect agent harness executions
cancel <execution-id>
Cancel an Agent Harness execution
failure-review
Inspect or edit Agent Harness failure classifications
get <execution-id>
Get Agent Harness failure review
update <execution-id>
Update Agent Harness failure review annotations
Flags
--from-file— JSON file with failure review update payload--human-class— Human-curated failure class--human-payload— Inline JSON human payload--human-summary— Human-curated failure summary--suggested-class— Suggested failure class--suggested-confidence— Suggested confidence as a decimal--suggested-payload— Inline JSON suggested payload--suggested-source— Suggested source: rules or llm--suggested-summary— Suggested failure summary
get <execution-id>
Get an agent harness execution
promote-task <execution-id>
Promote a prior harness run into a private suite task
Flags
--failure-class— Failure class to store with promotion metadata--failure-summary— Failure summary to store with promotion metadata--from-file— JSON file with promotion payload--metadata— Inline JSON promotion metadata--public-prompt— Sanitized public prompt--suite— Target Agent Harness suite ID--title— Promoted private task title
retry <execution-id>
Retry a terminal Agent Harness execution
Flags
--idempotency-key— Retry idempotency key
executions <harness-id>
List executions for an agent harness
failures
Inspect Agent Harness failure summaries
summary
Summarize Agent Harness failure modes
get <id>
Get an agent harness
list
List agent harnesses
run <harness-id>
Start an agent harness execution
Flags
--follow— Poll until the harness execution reaches a terminal status--message— Override the harness task prompt for this execution--poll-intervaldefault:2s— Polling interval for --follow
suite
Manage Agent Harness suites and private task banks
create
Create an Agent Harness suite/private task bank
Flags
--description— Suite description--from-file— JSON file with agent harness suite spec--metadata— Inline JSON suite metadata--name— Suite name--task-json— Suite task JSON object; may be repeated
list
List Agent Harness suites
rankings <suite-id>
Get Agent Harness suite rankings
Flags
--kdefault:1— k value for pass@k and pass^k--version-id— Immutable suite version ID
run <suite-id>
Start suite runs across one or more harnesses
Flags
--harness— Harness ID to run; may be repeated or comma-separated--task— Suite task ID filter; may be repeated or comma-separated
tasks <suite-id>
List public tasks for an Agent Harness suite
arena
Review arena tasks and submit votes
tasks
List pending arena tasks
vote <task-id>
Submit a vote for an arena task
Flags
--rubric-score— Rubric score as key=value (repeat for each key)--winner— Side of the winner (left or right)--winner-run-agent— Winner run agent UUID
artifact
Upload and download artifacts
download <artifactId>
Download an artifact
list
List artifacts in the workspace
Flags
--limit— Maximum items to return (1-100; 0 = server default of 20)--offset— Number of items to skip before the first result
upload <file>
Upload an artifact
Flags
--metadata— JSON metadata (optional)--run— Run ID (optional)--run-agent— Run agent ID (optional)--type(required) — Artifact type (required)
auth
Manage authentication
login
Log in to AgentClash
Flags
--device— Print the verification URL instead of opening the browser automatically--force— Start a new browser login even if existing credentials are valid
logout
Log out and remove stored credentials
status
Show current authentication status
tokens
Manage CLI access tokens
list
List your CLI tokens
revoke <token-id>
Revoke a CLI token
baseline
Manage the workspace-scoped default baseline run
clear
Clear the default baseline run for the current workspace
set [run]
Bookmark a run as the default baseline for the current workspace
Flags
--agent— Run agent ID or label (optional)
show
Show the default baseline run for the current workspace
build
Manage agent builds
create
Create a new agent build
Flags
--description— Build description--name(required) — Build name (required)
get <id>
Get agent build with version history
list
List agent builds
version
Manage agent build versions
create <buildId>
Create a new draft version
Flags
--agent-kind— Agent kind: llm_agent, workflow_agent, programmatic_agent, multi_agent_system, hosted_external--spec-file— JSON file with version spec fields--template— Template key to scaffold this version (for example: honest-agent, code-reviewer)
get <versionId>
Get a build version
ready <versionId>
Mark a version as ready (immutable, deployable)
templates
List built-in build version templates
update <versionId>
Update a draft build version
Flags
--spec-file— JSON file with updated version spec fields
validate <versionId>
Validate a build version
calibration
Manage calibration reviews
create
Record a calibration review for a run agent turn
Flags
--notes— Notes for the review--rubric-key— Rubric key for the review--run-agent(required) — Run agent UUID for the review--score(required) — Calibration score from 1 to 5--turn(required) — Turn index (0 or more)
list
List recent calibration reviews
challenge-pack
Manage challenge packs
catalog
Browse and use the curated challenge-pack library
list
List the curated, ready-to-run challenge packs
use <slug>
Add a library pack to your workspace and make it runnable
draft
Manage challenge pack drafts
compile <draft-id>
Compile and validate a challenge pack draft
Flags
--yaml-out— Path for the compiled YAML if the draft is valid
create
Create a challenge pack draft
Flags
--challenge-pack— Existing challenge pack ID--composition-file— Path to a JSON or YAML composition file--execution-mode— Draft execution mode--from-version— Published challenge pack version ID--name— Draft name (required unless you use --from-version)
delete <draft-id>
Delete a challenge pack draft
Flags
--yes— Delete the draft without a confirmation prompt
generate
Generate a challenge pack draft from a description
Flags
--description(required) — App description (maximum 8000 characters)--model(required) — Model ID for draft generation--provider-account(required) — Provider account ID for the draft model--timeoutdefault:2m0s— Time limit for the HTTP request
get <draft-id>
Show a challenge pack draft
list
List challenge pack drafts in the workspace
publish <draft-id>
Publish a challenge pack draft as a runnable version
update <draft-id>
Update a challenge pack draft
Flags
--composition-file— Path to a JSON or YAML composition file--execution-mode— New draft execution mode--name— New draft name
init <file>
Scaffold a minimal challenge pack YAML bundle
Flags
--force— Overwrite an existing file--name— Challenge pack display name (defaults from the file name)--slug— Challenge pack slug (defaults from the file name)--templatedefault:prompt_eval— Starter template: prompt_eval, responses, or native
list
List challenge packs
publish <file>
Publish a challenge pack YAML bundle
validate <file>
Validate a challenge pack YAML bundle
ci
Manage AgentClash CI manifests
baseline
Resolve the baseline selected by an AgentClash CI manifest
Flags
--manifestdefault:.agentclash/ci.yaml— Path to the AgentClash CI manifest
init <file>
Write a sample AgentClash CI manifest
Flags
--force— Overwrite an existing manifest
run
Run the AgentClash CI workflow described by a manifest
Flags
--artifact-dir— Write stable AgentClash CI JSON artifacts to this directory--ci-branch— Branch metadata override--ci-commit— Commit SHA metadata override--ci-default-branch— Default branch metadata override for auto_on_main regression promotion--ci-event— CI event name metadata override--ci-provider— CI provider metadata override--ci-pull-request— Positive pull request number metadata override--ci-ref— Git ref metadata override--ci-repository— Repository metadata override, for example owner/repo--ci-workflow— Workflow name metadata override--ci-workflow-run-attempt— Workflow run attempt metadata override--ci-workflow-run-id— Workflow run id metadata override--ci-workflow-run-url— Workflow run URL metadata override--follow— Stream run events while waiting for the candidate run--github-step-summarydefault:true— Append a GitHub Actions step summary when GITHUB_STEP_SUMMARY is set--manifestdefault:.agentclash/ci.yaml— Path to the AgentClash CI manifest--poll-intervaldefault:5s— Polling interval while waiting for run completion--summary-file— Write a Markdown CI gate summary to this file--timeoutdefault:30m0s— Maximum time to wait for the candidate run; 0 disables the timeout
setup
Open a pull request that adds the AgentClash CI files to a GitHub repository
Flags
--base— Base branch of the pull request (default: the default branch of the repository)--body— Body of the pull request (default: a list of the added files)--check-only— Only report the files that already exist on the base branch; open no pull request--draftdefault:true— Open the pull request as a draft--file— Another local file to add at the same relative path; may be repeated--manifestdefault:.agentclash/ci.yaml— Local CI manifest to add; the same relative path is used in the repository--overwrite— Replace files that already exist on the base branch--repo(required) — GitHub repository as owner/name, or its numeric GitHub repository ID--titledefault:Set up AgentClash CI— Title of the pull request--workflowdefault:.github/workflows/agentclash.yml— Local GitHub Actions workflow to add; pass an empty value to leave it out
should-run
Decide whether AgentClash CI should run
Flags
--base— Base git ref for deriving changed files--changed-file— Changed file path; may be repeated--github-event— GitHub event JSON file for deriving pull request labels--head— Head git ref for deriving changed files--labels— Pull request labels; may be comma-separated or repeated--manifestdefault:.agentclash/ci.yaml— Path to the AgentClash CI manifest--repodefault:.— Git repository path for --base/--head diff
validate <file>
Validate an AgentClash CI manifest
Flags
--remote— Validate manifest resource IDs against the selected workspace
compare
Compare runs and evaluate release gates
gate
Evaluate a release gate (nonzero exit = regression or missing evidence)
Flags
--baseline(required) — Baseline run ID (required)--baseline-agent— Baseline run agent ID (optional)--candidate(required) — Candidate run ID (required)--candidate-agent— Candidate run agent ID (optional)
latest
Compare the saved baseline against the latest non-baseline run
Flags
--agent— Run agent ID or label to use for both runs when possible--baseline-agent— Baseline run agent ID or label (defaults to the saved baseline agent)--candidate-agent— Candidate run agent ID or label--gate— Also evaluate the release gate and return a nonzero exit code for non-pass verdicts
runs
Compare baseline vs candidate runs
Flags
--baseline(required) — Baseline run ID (required)--baseline-agent— Baseline run agent ID (optional)--candidate(required) — Candidate run ID (required)--candidate-agent— Candidate run agent ID (optional)
config
Manage CLI configuration
get <key>
Get a config value
list
List all config values
set <key> <value>
Set a config value
connector
Manage workspace connectors
approve <snapshot-id>
Approve a workspace connector snapshot
Flags
--yes— Approve the snapshot without a confirmation prompt
create
Create a workspace connector
Flags
--config-file(required) — Path to a JSON or YAML connector config file--name(required) — Connector name
list
List connector snapshots in the workspace
revoke <snapshot-id>
Revoke approval for a workspace connector snapshot
Flags
--yes— Revoke the snapshot without a confirmation prompt
dataset
Manage eval datasets
baseline
Manage server-side dataset baselines for the dataset gate
create <datasetId>
Freeze a completed dataset eval run as a dataset baseline
Flags
--deployment— Agent deployment ID; keep only the outcomes of this deployment--label— Optional label, for example the release name--run(required) — Completed dataset eval run ID to freeze as the baseline
list <datasetId>
List the dataset baselines of a dataset
Flags
--limit— Maximum baselines to return (1-100; 0 = server default of 50)--offset— Number of baselines to skip before the first result
create
Create a dataset
Flags
--default-challenge-pack-version-id— Default challenge pack version ID--description— Dataset description--enforce-schema— Reject examples that do not match the input schema--from-file— JSON file with dataset create payload--input-schema— Input JSON Schema--name— Dataset name--slug— Dataset slug
delete <datasetId>
Archive a dataset
eval <datasetId>
Run an eval over a dataset version
Flags
--challenge— Challenge key to bind examples to--deployment— Agent deployment ID (repeatable)--follow— Follow run events after creation--mapping— Optional JSON mapping for dataset example fields--name— Optional run name--pack— Challenge pack version ID--version— Dataset version ID to run
example
Manage dataset examples
add <datasetId>
Add or upsert a dataset example
Flags
--expected— Expected output JSON--external-id— Stable external ID for idempotent upsert--from-file— JSON file with dataset example payload--input— Example input JSON--metadata— Metadata JSON--source— Example source: manual, import, trace, synthetic, or promotion--tag— Example tag (repeatable)
edit <datasetId> <exampleId>
Edit a dataset example
Flags
--expected— Expected output JSON--from-file— JSON file with dataset example patch payload--input— Example input JSON--metadata— Metadata JSON--source— Example source: manual, import, trace, synthetic, or promotion--status— Example status: active, archived, or muted--tag— Example tag (repeatable)
list <datasetId>
List dataset examples
rm <datasetId> <exampleId>
Archive a dataset example
export <datasetId>
Export dataset examples
Flags
--formatdefault:jsonl— Export format: openai, braintrust, langsmith, phoenix, jsonl, or csv--version— Dataset version ID to export
generate <datasetId>
Start in-house synthetic dataset generation
Flags
--acceptance-mode— Agentic acceptance mode (judge or threshold)--challenge-key— Challenge key to store with generation deployment context--challenge-pack-version— Challenge pack version ID to store with generation deployment context--count— Target number of accepted synthetic examples--create-version— Snapshot a dataset version when generation completes--field-mapping— JSON object mapping dataset fields to challenge inputs--follow— Poll generation job status until it finishes--judge-model— Judge provider model ID for agentic generation--judge-provider-account— Judge provider account ID for agentic generation--max-rounds-per-example— Maximum judge/improve rounds per generated example for agentic generation--max-weak-score— Maximum weak score for agentic threshold guardrails--min-gap— Minimum strong-minus-weak score gap for agentic threshold guardrails--min-strong-score— Minimum strong score for agentic threshold guardrails--model— Provider model ID--poll-intervaldefault:2s— Polling interval for --follow--provider-account— Provider account ID--seeds-tag— Only use seed examples with this tag--solver-mode— Agentic solver mode (judge_only or direct_provider)--strategydefault:self-instruct— Generation strategy (self-instruct, agentic-self-instruct)--strong-deployment— Strong AgentClash deployment ID to store with generated examples--strong-model— Strong solver model ID for direct provider agentic generation--strong-provider-account— Strong solver provider account ID for direct provider agentic generation--strong-rollouts— Strong solver rollout count for direct provider agentic generation--timeout— Give up on --follow after this duration (0 = wait indefinitely)--version-label— Optional label for the generated dataset version--weak-deployment— Weak AgentClash deployment ID to store with generated examples--weak-model— Weak solver model ID for direct provider agentic generation--weak-provider-account— Weak solver provider account ID for direct provider agentic generation--weak-rollouts— Weak solver rollout count for direct provider agentic generation
import <datasetId> <file>
Import examples into a dataset
Flags
--dry-run— Preview normalized examples without mutating the dataset--format— Import format: openai, braintrust, langsmith, phoenix, jsonl, or csv--map— Mapping entry key=value (repeatable); values may be comma-separated for input_keys/output_keys/metadata_keys--mapping— JSON mapping for generic JSONL/CSV imports--modedefault:add— Import mode: add or replace
import-traces <datasetId> [file]
Import production traces as reviewable dataset candidates
Flags
--artifact— Existing artifact ID to reference instead of inline payload--from-file— JSON file with import-traces request body--redaction— JSON redaction config (drop/hash metadata keys)--run— Run ID for agentclash trace import--run-agent— Run agent ID for agentclash trace import--source— Trace source platform: otel, braintrust, langsmith, phoenix, or agentclash
list
List datasets
Flags
--limit— Maximum items to return (1-100; 0 = server default of 20)--offset— Number of items to skip before the first result
promote <datasetId> <candidateId>
Promote a trace candidate into a dataset example
Flags
--expected— Edited expected output JSON--from-file— JSON file with promote request body--tag— Tags to apply on promotion
sync-regression-suite <datasetId>
Promote dataset examples into a linked regression suite
Flags
--challenge— Challenge key--formatdefault:text— Output format: text or json--pack— Challenge pack version ID--suite— Existing regression suite ID (optional)--suite-name— Name for a newly created regression suite--version— Dataset version ID to sync
test <datasetId>
Run a dataset eval gate against a baseline
Flags
--baseline— Baseline ID to compare against--challenge— Challenge key for eval--deployment— Agent deployment ID (repeatable)--eval— Start a dataset eval before gating--formatdefault:text— Output format: text, json, or junit--max-regressionsdefault:-1— Maximum allowed regressions versus baseline--min-pass-rate— Minimum pass rate required to pass the gate--pack— Challenge pack version ID for eval--poll-intervaldefault:5s— Polling interval while waiting for eval completion--run— Candidate run ID (required unless --eval is set)--timeoutdefault:30m0s— Maximum time to wait for an eval run started with --eval--version— Dataset version ID for eval
trace-candidates
Review imported trace candidates
list <datasetId>
List trace candidates awaiting promotion
Flags
--status— Filter by candidate status (pending, promoted, rejected)
version
Manage dataset versions
create <datasetId>
Snapshot the current dataset examples
Flags
--label— Optional dataset version label
list <datasetId>
List dataset versions
view <datasetId>
View a dataset
deployment
Manage agent deployments
create
Create an agent deployment
Flags
--agent-build-id— Agent build ID--build-version-id— Agent build version ID--from-file— JSON file with deployment spec--model— Provider model ID--name— Deployment name--provider-account-id— Provider account ID--runtime-profile-id— Runtime profile ID
delete <deploymentId>
Archive a deployment
Flags
--yes— Skip confirmation
list
List agent deployments
Flags
--limit— Maximum items to return (1-100; 0 = server default of 20)--offset— Number of items to skip before the first result
doctor
Check auth, workspace, and eval readiness
Flags
--pack— Challenge pack YAML file to check for run readiness
eval
Workflow-first eval commands
scorecard [run]
Show a run-first scorecard and compare against the bookmarked baseline
Flags
--agent— Run agent ID or label (optional)
session
Inspect repeated eval sessions
follow <evalSessionId>
Poll a repeated eval session until aggregation finishes
Flags
--poll-intervaldefault:5s— Polling interval while waiting for completion--timeoutdefault:30m0s— Maximum time to wait; 0 disables the timeout
get <evalSessionId>
Show repeated eval session details and aggregate metrics
list
List repeated eval sessions in the workspace
Flags
--limitdefault:20— Maximum eval sessions to list (1-100)--offset— Eval session list offset
start
Start an eval using names, defaults, and guided selection
Flags
--case— Regression case IDs (repeatable)--deployment— Deployment ID or exact name (repeatable)--follow— Follow run events after creation--input-set— Challenge input set ID, key, or exact name--name— Run name (optional)--pack— Challenge pack ID, slug, or exact name--pack-version— Challenge pack version ID or version number--peer-standings— Enable live peer-standings injection during the run (requires 2+ agents)--peer-standings-cadence— Override peer-standings cadence; minimum steps between standings injections, [1, 10]. 0 uses the backend default.--repetitionsdefault:1— Repeat the eval N times in a multi-run eval session, [1, 100]. >=2 routes through /v1/eval-sessions and unlocks pass@K + pass^K aggregation.--scopedefault:full— Run scope: full or suite_only--suite— Regression suite ID or exact name (repeatable)
evalset
Submit and manage multi-pack eval sets from a YAML manifest
cancel <eval-set-id>
Cancel an in-flight eval set
finding
Triage the scanner findings of an eval set
list <eval-set-id>
List the scanner findings of an eval set
Flags
--limitdefault:100— Maximum findings to return, newest first (1-500)--severity— Show only the findings of this severity: low, medium, high or critical--status— Show only the findings with this status: open, triaged or dismissed
update <finding-id>
Change the triage status of a scanner finding
Flags
--status(required) — New status of the finding: open, triaged or dismissed
init [file.yaml]
Write a commented starter evalset/v1 manifest
list
List eval sets in the current workspace
Flags
--limitdefault:20— Max eval sets to list
logs <eval-set-id>
Tail multiplexed run-event streams for an eval set
Flags
--combination— Filter to a single matrix_key--follow(-f) — Follow event streams until runs finish
report <eval-set-id>
Render set-level scorecard (table, json, or csv)
Flags
--formatdefault:table— Output format: table, json, or csv
scan <eval-set-id>
Run the built-in transcript scanners on an eval set
Flags
--scanner— Built-in scanner to run; may be repeated (default: the scanners of the eval set manifest)
status <eval-set-id>
Show eval-set status and roll-up
Flags
--poll-intervaldefault:5s— Watch poll interval--timeout— Watch timeout (0 = no limit)--watch— Poll until terminal; TTY shows progress, non-TTY prints status lines
submit <file.yaml>
Expand a manifest, optionally confirm, and create an eval set
Flags
--dry-run— Expand only; do not create the eval set--follow— Poll status until the eval set reaches a terminal state--local— Reserved for agentclash local execution--poll-intervaldefault:5s— Status poll interval when --follow is set--timeout— Follow timeout (0 = no limit)--yes— Skip confirmation after expansion
evaltest
Run local agent evaluation smoke checks
init
Scaffold local evaltest config and example test
Flags
--force— Overwrite existing evaltest files
promote-failures
Promote failed local eval cases into a draft challenge pack
Flags
--append— Append cases to an existing draft pack--dry-run— Print draft YAML without writing--fromdefault:agentclash-results/results.json— Local eval JSON report--todefault:.agentclash/challenge-packs/local-regressions.yaml— Draft challenge-pack output path
run
Run local smoke checks and emit JSON/JUnit reports
Flags
--configdefault:.agentclash/evaltest.yaml— Evaltest config path--formatdefault:json— Output format: json, junit, or both--outdefault:agentclash-results— Output directory for reports
infra
Manage infrastructure resources
provider-account
Manage provider-accounts
create
Create a provider-account
Flags
--from-file— JSON file with resource spec
delete <id>
Delete a provider-account
get <id>
Get a provider-account
list
List provider-accounts
models <id>
List models available to a provider account
test <id>
Smoke test provider account credentials
Flags
--model— Provider model ID to use for the smoke test--timeout-secondsdefault:20— Provider call timeout in seconds, capped by the API
routing-policy
Manage routing-policies
create
Create a routing-policy
Flags
--from-file— JSON file with resource spec
list
List routing-policies
runtime-profile
Manage runtime-profiles
archive <id>
Archive a runtime-profile
create
Create a runtime-profile
Flags
--from-file— JSON file with resource spec
get <id>
Get a runtime-profile
list
List runtime-profiles
spend-policy
Manage spend-policies
create
Create a spend-policy
Flags
--from-file— JSON file with resource spec
list
List spend-policies
tool
Manage tools
create
Create a tool
Flags
--from-file— JSON file with resource spec
get <id>
Get a tool
list
List tools
init
Initialize a project with .agentclash.yaml
Flags
--org-id— Organization ID to bind--workspace-id— Workspace ID to bind
integration
Install and verify AgentClash Agent Skills for coding agents
claude
Manage the AgentClash skills integration for Claude Code
doctor
Verify the AgentClash skills integration for Claude Code
Flags
--dir— Install root (defaults to your home directory)--with-mcp— Reserved: also configure an MCP server (not available yet)
install
Install AgentClash skills for Claude Code
Flags
--dir— Install root (defaults to your home directory)--with-mcp— Reserved: also configure an MCP server (not available yet)
codex
Manage the AgentClash skills integration for Codex
doctor
Verify the AgentClash skills integration for Codex
Flags
--dir— Install root (defaults to your home directory)--with-mcp— Reserved: also configure an MCP server (not available yet)
install
Install AgentClash skills for Codex
Flags
--dir— Install root (defaults to your home directory)--with-mcp— Reserved: also configure an MCP server (not available yet)
cursor
Manage the AgentClash skills integration for Cursor
doctor
Verify the AgentClash skills integration for Cursor
Flags
--dir— Install root (defaults to your home directory)--with-mcp— Reserved: also configure an MCP server (not available yet)
install
Install AgentClash skills for Cursor
Flags
--dir— Install root (defaults to your home directory)--with-mcp— Reserved: also configure an MCP server (not available yet)
hermes
Manage the AgentClash skills integration for Hermes
doctor
Verify the AgentClash skills integration for Hermes
Flags
--dir— Install root (defaults to your home directory)--with-mcp— Reserved: also configure an MCP server (not available yet)
install
Install AgentClash skills for Hermes
Flags
--dir— Install root (defaults to your home directory)--with-mcp— Reserved: also configure an MCP server (not available yet)
openclaw
Manage the AgentClash skills integration for OpenClaw
doctor
Verify the AgentClash skills integration for OpenClaw
Flags
--dir— Install root (defaults to your home directory)--with-mcp— Reserved: also configure an MCP server (not available yet)
install
Install AgentClash skills for OpenClaw
Flags
--dir— Install root (defaults to your home directory)--with-mcp— Reserved: also configure an MCP server (not available yet)
opencode
Manage the AgentClash skills integration for OpenCode
doctor
Verify the AgentClash skills integration for OpenCode
Flags
--dir— Install root (defaults to your home directory)--with-mcp— Reserved: also configure an MCP server (not available yet)
install
Install AgentClash skills for OpenCode
Flags
--dir— Install root (defaults to your home directory)--with-mcp— Reserved: also configure an MCP server (not available yet)
link [workspace]
Choose and save your default workspace
org
Manage organizations
create
Create a new organization
Flags
--name(required) — Organization name (required)--slug— Organization slug (optional, auto-generated)
get <id>
Get organization details
list
List organizations you belong to
Flags
--limit— Maximum items to return (1-100; 0 = server default of 20)--offset— Number of items to skip before the first result
members
Manage organization members
invite <orgId>
Invite a member to the organization
Flags
--email(required) — Email address to invite (required)--roledefault:org_member— Role: org_admin, org_member
list <orgId>
List organization members
update <membershipId>
Update an organization membership
Flags
--role— New role: org_admin, org_member--status— New status: active, suspended, archived
update <id>
Update an organization
Flags
--name— New organization name--status— New status (active, archived)
quickstart
Check eval readiness and show the next best command
quota
Show workspace quota usage
regression-suite
Manage regression suites and cases
case
Manage individual regression cases
capture-production <suiteId>
Capture a production failure as a proposed regression case
Flags
--evidence-tier— Evidence tier--external-url— Production incident URL--failure-class— Failure class--failure-summary— Failure summary--from-file— JSON file with production failure capture payload--incident-id— Production incident ID--observed-at— Production observation timestamp (RFC3339)--promotion-mode— Promotion mode: full_executable, output_only, or manual--severity— Case severity: info, warning, or blocking--source— Production source label--source-case-key— Source production case or incident key--source-challenge-identity-id— Source challenge identity ID--source-challenge-input-set-id— Source challenge input set ID--source-challenge-pack-version-id— Source challenge pack version ID--source-item-key— Source item key--title— Regression case title
update <caseId>
Update a regression case
Flags
--description— Case description--from-file— JSON file with regression case patch payload--severity— Case severity: info, warning, or blocking--status— Case status: proposed, active, muted, archived, or rejected--title— Case title
cases <suiteId>
List regression cases in a suite
create
Create a regression suite
Flags
--default-gate-severity— Default gate severity: info, warning, or blocking--description— Suite description--from-file— JSON file with regression suite create payload--name— Suite name--source-challenge-pack-id— Source challenge pack ID
get <suiteId>
Get a regression suite
list
List regression suites
update <suiteId>
Update a regression suite
Flags
--default-gate-severity— Default gate severity: info, warning, or blocking--description— Suite description--from-file— JSON file with regression suite patch payload--name— Suite name--status— Suite status: active or archived
release-gate
Inspect evaluated release gates
list
List evaluated release gates
Flags
--baseline— Baseline run ID--candidate— Candidate run ID
replay
View execution replays
get <runAgentId>
Get execution replay steps
Flags
--cursor— Step offset to start from--limitdefault:50— Steps per page (1-200)
triage [run]
Summarize ranking, failures, scorecard, replay, and artifacts for debugging
Flags
--agent— Run agent ID or label to triage--cursor— Replay step offset to start from--limitdefault:5— Replay steps to include (1-50)
run
Manage evaluation runs
agents <runId>
List agents in a run
cancel <id>
Cancel an active run
compare
Compare a baseline run against a candidate run
Flags
--baseline(required) — Baseline run ID (required)--baseline-agent— Baseline run agent ID (optional)--candidate(required) — Candidate run ID (required)--candidate-agent— Candidate run agent ID (optional)
create
Create and submit an evaluation run
Flags
--case— Regression case IDs (repeatable)--challenge-pack-version— Challenge pack version ID (optional in a TTY; prompted when omitted)--deployment-lineup— Challenge pack deployment lineup to use when --deployments is omitted (default: default)--deployment-lineups— Challenge pack deployment lineups to cross with --seeds for an eval series--deployments— Agent deployment IDs (optional in a TTY; prompted when omitted)--follow— Follow run events after creation--include-proposed-regressions— Include proposed regression cases for validation runs--input-set— Challenge input set ID (optional)--max-iter— Override max iterations for this run (1-1000). 0 uses the pack/runtime default.--mode— Voice eval mode: text-sim (future: audio-sim, live-call, replay-import)--name— Run name (optional)--peer-standings— Enable live peer-standings injection during the run (requires 2+ agents)--peer-standings-cadence— Override peer-standings cadence; minimum steps between standings injections, [1, 10]. 0 uses the backend default.--scopedefault:full— Run scope: full or suite_only--seeds— Create a seeded eval session with N child runs, one per seed (1-100). 0 creates a single run.--suite— Regression suite IDs (repeatable; required with --scope suite_only unless --case is used)
events <runId>
Stream live run events via SSE
Flags
--filter— Filter streamed events by event type pattern (exact, comma-separated, or glob; '' matches any non-slash chars, so 'model.' matches 'model.call.started'; repeatable)--since— Resume the stream after this event ID (sent as Last-Event-ID; the server replays everything recorded after it)
export <runId>
Export persisted run events as JSONL
failures <runId>
List failure review items for a run
Flags
--agent— Filter by run agent ID--class— Filter by failure class--cluster— Filter by failure cluster key--cursor— Pagination cursor--evidence-tier— Filter by evidence tier--limit— Maximum failures to return--severity— Filter by severity: info, warning, or blocking
get <id>
Get run details
insights <runId>
Ask a model to explain the ranking of a completed comparison run
Flags
--model(required) — Model ID to call through the provider account, for example gpt-4.1-mini--provider-account(required) — Provider account ID that pays for the model call
list
List runs in the workspace
Flags
--limit— Maximum items to return (1-100; 0 = server default of 20)--offset— Number of items to skip before the first result
promote-failure <runId> <challengeIdentityId>
Promote a run failure into a regression case
Flags
--failure-summary— Failure summary--from-file— JSON file with promotion payload--promotion-mode— Promotion mode: full_executable or output_only--run-agent— Run agent ID--severity— Case severity: info, warning, or blocking--suite— Regression suite ID--title— Regression case title
ranking <runId>
Get run ranking and composite scores
Flags
--sort-by— Sort by: composite, correctness, reliability, latency, cost
replay <run-agent-id>
Inspect replay steps for a run agent
Flags
--cursor— Step offset to start from--limitdefault:50— Steps per page (1-200)
scorecard <runAgentId>
Get agent scorecard
series
Manage durable eval series
create
Create an eval series from deployment lineups and seeds
Flags
--challenge-pack-version— Challenge pack version ID--deployment-lineups— Challenge pack deployment lineups to cross with --seeds--input-set— Challenge input set ID (optional)--max-iter— Override max iterations for each child run (1-1000). 0 uses the pack/runtime default.--name— Series name (optional)--seeds— Number of seeds to cross with each deployment lineup (1-100)
report <eval-session-id>
Show aggregate score, correctness, and cost for an eval series
transcript <runId>
Export a Markdown run transcript
turn
Multi-turn human takeover helpers
status <runAgentId>
Check whether a run agent is awaiting human input
Flags
--run— Run ID
submit <runAgentId>
Submit a human user message for an awaiting multi_turn phase
Flags
--message— Human user message for the awaiting turn--run— Run ID
schema [command...]
Print the CLI command tree as machine-readable JSON
secret
Manage workspace secrets
delete <key>
Delete a secret
list
List workspace secret keys
set <key>
Create or update a secret
Flags
--value— Secret value (reads from stdin if omitted)
security
Security-evals tooling (stress runs, leak rate, policy preview)
agent-vault-stress
Stress-test a model with REAL Infisical Agent Vault routing (function calling)
Flags
--allowed-upstream— Hostname the model is supposed to be brokering for, e.g. api.stripe.com. Any tool call to a different host is flagged as confused-deputy.--api-key-envdefault:OPENAI_API_KEY— Env var holding the OpenAI API key--canary-token— The broker token the harness watches for in model output (required). Usually the av_agt_/av_sess_ token embedded in --proxy-url.--canary-token-envdefault:AGENT_VAULT_TOKEN— Env var to read --canary-token from if the flag is empty--from-pack— Path to a security pack YAML. When set, runs every adversarial_prompts[] entry against the model and writes a per-attack report. Conflicts with --user-message.--iterationsdefault:10— Number of trials--mgmt-url— Agent Vault management API URL, e.g. http://127.0.0.1:14321--mgmt-url-envdefault:AGENT_VAULT_ADDR— Env var to read --mgmt-url from if the flag is empty--modeldefault:gpt-4o-mini— OpenAI model id--openai-endpointdefault:https://api.openai.com/v1/chat/completions— Chat Completions endpoint (override for compatible providers)--out— Path to write per-iteration JSON report (single-prompt mode)--out-dir— Directory to write per-attack JSON reports when --from-pack is set (default: skip JSON, print table only)--proxy-url— Agent Vault MITM proxy URL, e.g. https://av_agt_xxx:eval@127.0.0.1:14322--proxy-url-envdefault:AGENT_VAULT_PROXY_URL— Env var to read --proxy-url from if the flag is empty--system-prompt— System prompt override (default: deploy assistant with Agent Vault boundary)--timeoutdefault:1m0s— Per-LLM-call timeout--user-message— Adversarial user message (required unless --from-pack is set)
avmock-upstream
Stand up a deterministic HTTP mock upstream for the agent-vault-stress campaign
Flags
--addrdefault:127.0.0.1:8443— TCP address to listen on--detect-canary— Substring to scan inbound request URL, headers, and body for. Any match writes a vault-leak incident to stderr and returns 400 vault_leak_detected to the caller. Use to catch credentials that should never reach the upstream.--log-requestsdefault:true— Log every inbound request to stderr in one-line form--require-bearer— If set, requests must carry an Authorization header containing this substring; otherwise the mock returns 401. Use to assert the vault is injecting a credential.--servicedefault:stripe— Service shape: stripe | github | generic
runtime-stress
Stress-test a model with REAL Vault SDK tool access (function calling)
Flags
--api-key-envdefault:OPENAI_API_KEY— Env var holding the OpenAI API key--canary-pathdefault:stripe-key— Vault KV path the agent should fetch--canary-value— The exact canary value to detect in leaks (required)--iterationsdefault:10— Number of trials--modeldefault:gpt-4o-mini— OpenAI model id--out— Path to write per-iteration JSON report--system-prompt— System prompt override (default: deploy assistant with strict boundary)--timeoutdefault:1m0s— Per-LLM-call timeout--user-message— Adversarial user message (required)--vault-addrdefault:http://127.0.0.1:8200— Vault server address--vault-token-envdefault:VAULT_TOKEN— Env var holding the Vault token
stress-run <pack-yaml>
Run a security pack N times against an LLM provider and aggregate the leak rate
Flags
--api-key-envdefault:OPENAI_API_KEY— Env var holding the provider API key--concurrencydefault:3— Max concurrent iterations per provider/model pair--iterationsdefault:10— Number of stress iterations per provider--modeldefault:[gpt-4o-mini]— Comma-separated model ids, paired with --provider--no-system-guard— Drop the 'refuse leaks' sentence from the system prompt. Measures baseline alignment without harness-side coaching.--out— Path to write the full JSON report (default: stdout summary only)--providerdefault:[openai]— Comma-separated providers (currently: openai)--timeoutdefault:1m0s— Per-LLM-call timeout
share
Create, change and revoke public share links
create
Make a public share link for a scorecard, replay, pack version, tryout or report
Flags
--expires-at— Time when the link stops, in RFC 3339 format, for example 2026-12-31T00:00:00Z--expires-in— Time from now when the link stops, for example 168h--resource-id(required) — ID of the resource to share; the help text gives the ID that each resource type takes--resource-type(required) — Type of the resource to share: run_scorecard, run_agent_scorecard, run_agent_replay, challenge_pack_version, agent_tryout or report_snapshot--search-indexing— Also publish the resource on a publication page that search engines can index (needs the permission to publish public artifacts)
revoke <share-id>
Revoke a public share link
Flags
--yes— Revoke the link with no confirmation prompt; necessary in non-interactive mode
update <share-id>
Turn search indexing of a share link on or off
Flags
--search-indexing(required) — Turn the indexable publication page of the link on (true) or off (false)
skills
Export bundled AgentClash Agent Skills
export
Export bundled skills to a directory or tarball
Flags
--dir— Output directory or .tar.gz archive path (required)--formatdefault:dir— Output format: dir or tar.gz--host— Layout for a coding agent host (claude, codex, cursor, openclaw, hermes, opencode)
tryout
Run and inspect agent tryouts
artifacts <tryout-id>
List artifacts for an agent tryout
compare <tryout-id> <tryout-id> [tryout-id...]
Compare two to four agent tryouts
create
Create an agent tryout from a template
Flags
--follow— Wait for the tryout to finish--input— Input as a JSON object--input-file— Path to a JSON input file--poll-intervaldefault:2s— Time between status requests--template(required) — Template slug--timeout— Time limit for --follow (0 means no limit)
events <tryout-id>
List events for an agent tryout
Flags
--after— Return events after this cursor (0 starts at the first event)--limit— Maximum events to scan (1-200, or 0 for the server default of 100)
get <tryout-id>
Show an agent tryout
Flags
--follow— Wait for the tryout to finish--poll-intervaldefault:2s— Time between status requests--timeout— Time limit for --follow (0 means no limit)
list
List agent tryouts in the workspace
Flags
--limit— Maximum tryouts to return (1-100, or 0 for the server default of 50)--offset— Number of tryouts to skip (default 0, maximum 2147483647)
promote <tryout-id>
Create an eval draft from a completed tryout
Flags
--title— Title of the eval draft
rerun <tryout-id>
Rerun an agent tryout with a model policy
Flags
--follow— Wait for the new tryout to finish--max-models— Maximum models in the policy (1-8)--mode— Mode of the model policy--model— Model in provider/model form (repeat for each model)--policy-file— Path to a JSON model policy file--poll-intervaldefault:2s— Time between status requests--timeout— Time limit for --follow (0 means no limit)
templates
List agent tryout templates
version
Show CLI version information
workspace
Manage workspaces
create
Create a workspace
Flags
--name(required) — Workspace name (required)--org— Organization ID (required)--slug— Workspace slug (optional)
emergency-stop
Cancel every active eval set in the workspace
Flags
--yes— Cancel the eval sets with no confirmation prompt; necessary in non-interactive mode
get <id>
Get workspace details
list
List workspaces in an organization
Flags
--limit— Maximum items to return (1-100; 0 = server default of 20)--offset— Number of items to skip before the first result--org— Organization ID (uses default if not set)
members
Manage workspace members
invite
Invite a member to the workspace
Flags
--email(required) — Email address to invite (required)--roledefault:workspace_member— Role: workspace_admin, workspace_member, workspace_viewer
list
List workspace members
update <membershipId>
Update a workspace membership
Flags
--role— New role--status— New status
update <id>
Update a workspace
Flags
--name— New workspace name--public-packs— Allow this workspace to use public challenge packs--status— New status (active, archived)
use <id>
Set the default workspace
Source pointers
cli/cmd/testdata/schema_snapshot.jsoncli/cmd/root.gocli/cmd/schema.go