Agentclash agent harness setup

From agentclash/agentclash · View interactive version

Agentclash agent harness setup is an AI agent skill from the GitHub repository agentclash/agentclash. Use when creating, running, or ranking Agent Harness coding-agent tasks via the CLI, including harness specs, E2B runner kinds, suite task banks, executions, failure review, and promote-to-task flows.

How to use this skill

Skill file

AgentClash Agent Harness Setup

Purpose

Configure and operate Agent Harnesses — workspace-scoped autonomous coding tasks with E2B runners, evaluation config, suite rankings, and failure curation. Agent Harnesses are not challenge packs.

Use When

Do Not Use When

Inputs Needed

Environment

export AGENTCLASH_API_URL="https://api.agentclash.dev"
agentclash workspace use <WORKSPACE_ID>
agentclash secret list --json

Procedure

  1. List or inspect existing harnesses.
  2. Create a harness with --name, --task, --auth-mode, and API key secret.
  3. Run a harness execution; use --follow to poll to terminal status.
  4. Inspect executions, failure summaries, and failure reviews.
  5. Optionally create suites, run across harnesses, read rankings, promote executions to private tasks.

Commands

Harness CRUD and runs

agentclash agent-harness list
agentclash agent-harness get <harness-id>
agentclash agent-harness create \
  --name "Refund fix" \
  --task "Fix the refund bug in services/refund.go" \
  --harness-kind codex_e2b \
  --auth-mode api_key_secret \
  --api-key-secret OPENAI_API_KEY \
  --repository-url https://github.com/org/repo \
  --base-branch main

agentclash agent-harness run <harness-id> --follow
agentclash agent-harness executions <harness-id>

--harness-kind values: codex_e2b (default), claude_e2b, hermes_e2b, openclaw_e2b.

Create from JSON:

agentclash agent-harness create --from-file harness.json

Optional flags: --codex-template, --codex-model, --execution-config, --evaluation-config, --evaluation-config-file.

Executions

agentclash agent-harness execution get <execution-id>
agentclash agent-harness execution cancel <execution-id>
agentclash agent-harness execution retry <execution-id> --idempotency-key cli-retry-1

Suites and rankings

agentclash agent-harness suite list
agentclash agent-harness suite create --name "Private bank" --task-json '{"title":"Task 1","public_prompt":"..."}'
agentclash agent-harness suite tasks <suite-id>
agentclash agent-harness suite run <suite-id> --harness <harness-id-1> --harness <harness-id-2>
agentclash agent-harness suite rankings <suite-id> --k 3

Failures and promotion

agentclash agent-harness failures summary
agentclash agent-harness execution failure-review get <execution-id>
agentclash agent-harness execution failure-review update <execution-id> --human-class timeout --human-summary "Sandbox timed out"
agentclash agent-harness execution promote-task <execution-id> --suite <suite-id> --title "Promoted failure case"

Alias: agentclash harness = agentclash agent-harness.

Expected Output

Failure Modes

Safety Notes

Report Back Format

Harness: <id> (<name>, <kind>)
Execution: <id> — <status>
Suite: <id or n/a>
Ranking summary: <top harness or n/a>
Failure review: <effective_class or n/a>
Next commands: <1-3>

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.