AgentClash Agent Harness Setup
SkillProductivityUse 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.
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the AgentClash Agent Harness Setup skill
What this skill tells your AI
The instructions your AI receives, as published by agentclash/agentclash in web/content/agent-skills/agentclash-agent-harness-setup/SKILL.md and read by ahel’s review.
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
- A user wants long-running coding-agent checks against a repository with validators or LLM judges.
- You need to create harnesses for Codex, Claude, Hermes, or OpenClaw runners on E2B.
- The workflow involves suite task banks, multi-harness suite runs, or promoting failed executions into private tasks.
Do Not Use When
- The workload is a standard challenge-pack eval — use
agentclash-eval-runner. - The user only needs deployments or runtime resources — use agent-build skills first.
- The task is prompt A/B testing without a repo harness — use
agentclash-prompt-eval-playground.
Inputs Needed
- Workspace with provider secrets configured (
openai_api_key_secret_nameor--api-key-secret). - Task prompt, repository URL, and harness kind.
- Optional evaluation config JSON (validators, LLM judges).
- For suite runs: suite ID, harness IDs, optional task filters.
Environment
export AGENTCLASH_API_URL="https://api.agentclash.dev"
agentclash workspace use <WORKSPACE_ID>
agentclash secret list --json
Procedure
- List or inspect existing harnesses.
- Create a harness with
--name,--task,--auth-mode, and API key secret. - Run a harness execution; use
--followto poll to terminal status. - Inspect executions, failure summaries, and failure reviews.
- 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
- Create returns harness ID, kind, auth mode, template.
- Run returns execution ID;
--followpolls untilcompleted,failed, orcancelled. - Suite rankings table shows success@1, pass@k, cost, latency per harness.
Failure Modes
- Missing
--api-key-secreton create → pass workspace secret name containing provider key. - Missing required suite flags →
--harnessrequired onsuite run;--task-jsonor--from-fileon suite create. - Non-terminal execution on retry → only terminal executions can retry.
- Wrong harness kind for template → defaults:
codex,agentclash-claude-fullstack,agentclash-hermes-fullstack,agentclash-openclaw-fullstack.
Safety Notes
- Harness runs execute code in E2B sandboxes with repository access — confirm repo and secrets before running.
- Promoted tasks may contain sensitive failure excerpts — sanitize
public_prompt. - Do not paste API keys or secret values into chat.
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
agentclash-hubagentclash-cli-setupagentclash-runtime-resources-setupagentclash-eval-runneragentclash-scorecard-readeragentclash-regression-flywheel
Related Docs
/docs-md/guides/ci-cd-workload-recipes/docs-md/reference/cli
Signals
- GitHub stars
- 30
- Forks
- 2
- Last commit
- Sep 2026
Advanced
- Catalog kind
- skill
- Gateway key
agentclash-agent-harness-setup- Source
- github.com/agentclash/agentclash