Agent Skills

Hub Skill

Use when starting any AgentClash eval, CLI, or challenge-pack task. Load this skill first for the full workflow map, skill dependency order, product UI links, hosted defaults, and pointers to every other AgentClash skill.

Canonical source: web/content/agent-skills/agentclash-hub/SKILL.md

Markdown export: /docs-md/agent-skills/agentclash-hub

Use This Skill When

Use when starting any AgentClash eval, CLI, or challenge-pack task. Load this skill first for the full workflow map, skill dependency order, product UI links, hosted defaults, and pointers to every other AgentClash skill.

Full SKILL.md

markdown
1---
2name: agentclash-hub
3description: Use when starting any AgentClash eval, CLI, or challenge-pack task. Load this skill first for the full workflow map, skill dependency order, product UI links, hosted defaults, and pointers to every other AgentClash skill.
4metadata:
5  agentclash.role: hub
6  agentclash.version: "1"
7  agentclash.requires_cli: "false"
8---
9
10# AgentClash Hub
11
12## Purpose
13Give coding agents maximum context to run AgentClash evals through the CLI and guide humans to the right web UI pages — without reading the AgentClash source repository.
14
15## Use When
16- A user asks to evaluate agents, run evals, compare models, or use AgentClash for the first time.
17- You need to pick the right downstream skill before acting.
18- You need hosted defaults, UI links, or the end-to-end eval workflow in one place.
19
20## Do Not Use When
21- A narrower skill already matches (e.g. only CLI auth repair → `agentclash-cli-setup`).
22- The task is only to edit AgentClash product source code in the monorepo.
23
24## Environment
25Use production unless the user explicitly runs a local stack:
26
27```bash
28export AGENTCLASH_API_URL="https://api.agentclash.dev"
29agentclash auth login --device
30agentclash link
31agentclash quickstart
32```
33
34Install the CLI: `npm i -g agentclash` or see `/docs-md/getting-started/quickstart`.
35
36Portable bundle install (copy skills to another agent host without the integration command): export them with `agentclash skills export --dir ./bundle --host <agent>`. Canonical source repo: https://github.com/agentclash/agentclash
37
38## Procedure
391. Load this hub to pick the next skill.
402. Run `agentclash quickstart` if CLI readiness is unknown.
413. Follow dependency order for setup → pack → run → review → regression → CI.
424. Send the user to the matching UI page when they need a visual surface.
43
44## Drive The CLI Like An Agent
45When you (a coding agent) drive AgentClash non-interactively, lean on the machine contract:
46
47- **Ask for machine output.** Pass `--json` (or `-o json`) on every command. Data goes to
48  **stdout**; human progress and diagnostics go to **stderr** — parse stdout only.
49- **Discover the surface first.** `agentclash schema --json` returns the full command tree, flags,
50  and documented exit codes. Prefer it over scraping `--help` prose.
51- **Branch on structured errors, never on prose.** On failure the CLI prints a JSON envelope:
52  `error.code` is a stable machine key — branch on it; `error.next_step` is the remediation to act
53  on; `error.details` carries specifics (quota `limit`/`used`/`remaining`, `reset_at`, `plan_key`).
54- **Gate readiness on `agentclash doctor`.** It exits non-zero when the environment isn't ready.
55  `agentclash quickstart --json` is informational and exits 0 even when `ready:false` — use `doctor`
56  as the hard gate in CI/agent flows.
57- **Stay headless.** Set `AGENTCLASH_TOKEN`, `AGENTCLASH_WORKSPACE`, and `AGENTCLASH_API_URL` in the
58  environment so no command needs an interactive prompt.
59- **Get approval for a large effect.** A command with a large effect (for example
60  `agentclash workspace emergency-stop`) asks for confirmation. In non-interactive mode it exits 64
61  with `error.code` `interactive_input_required` and does nothing. Add `--yes` only after the user
62  approves the effect.
63
64## Agent tryouts
65
66Use `agentclash tryout` to start, inspect, and compare workspace tryouts.
67The `create` and `rerun` commands start paid model calls.
68If either command exits `75`, run `agentclash tryout list` in its workspace before a retry.
69A retry can start a second tryout.
70
71## End-To-End Eval Workflow (CLI)
72
73```text
741. agentclash-cli-setup              → auth, workspace, doctor
752. agentclash-quickstart             → readiness checks + next command
763. agentclash-runtime-resources-setup → provider, model alias, runtime profile, secrets
774. agentclash-agent-build-author     → build spec + ready build version
785. agentclash-agent-deployment-setup → deployment ID for runs
796. challenge-pack skills             → plan, YAML, validate, publish pack
807. agentclash-eval-runner            → eval start / run create / follow / sessions / series
818. agentclash-scorecard-reader       → rankings, scorecards, replay, artifacts
829. agentclash-compare-and-triage     → baseline, compare latest/gate, replay triage
8310. agentclash-regression-flywheel   → promote failures, suite-only reruns
8411. agentclash-ci-release-gate       → CI manifest + gate (optional)
85```
86
87Optional branches (load when the workflow applies):
88
89```text
90• agentclash-multi-turn-operator     → human takeover during multi_turn runs
91• agentclash-dataset-workflows       → dataset eval, gate, traces, regression sync
92• agentclash-agent-harness-setup     → E2B coding-agent harness tasks and suites
93• agentclash-workspace-admin         → org/workspace CRUD and membership (teams)
94• agentclash-security-evaluation     → client-side security stress harnesses
95```
96
97Human-friendly shortcut after setup:
98
99```bash
100agentclash quickstart
101agentclash eval start --follow
102agentclash baseline set
103agentclash eval scorecard
104agentclash compare latest --gate
105agentclash replay triage
106```
107
108## Skill Dependency Order
109Read skills in this order when multiple apply:
110
1111. `agentclash-hub` (this file)
1122. `agentclash-cli-setup`
1133. `agentclash-quickstart`
1144. `agentclash-runtime-resources-setup`
1155. `agentclash-agent-build-author`
1166. `agentclash-agent-deployment-setup`
1177. `agentclash-challenge-pack-planner`
1188. `agentclash-challenge-pack-yaml-author`
1199. `agentclash-challenge-pack-input-sets`
12010. `agentclash-challenge-pack-tools-sandbox`
12111. `agentclash-challenge-pack-artifacts`
12212. `agentclash-challenge-pack-scoring-validators`
12313. `agentclash-challenge-pack-llm-judges`
12414. `agentclash-challenge-pack-validation-publish`
12515. `agentclash-eval-runner`
12616. `agentclash-scorecard-reader`
12717. `agentclash-compare-and-triage`
12818. `agentclash-regression-flywheel`
12919. `agentclash-ci-release-gate`
13020. `agentclash-agent-harness-setup`
13121. `agentclash-multi-turn-operator`
13222. `agentclash-dataset-workflows`
13323. `agentclash-workspace-admin`
13424. `agentclash-security-evaluation`
135
136> To author or change skills, browse the web catalog at
137> https://www.agentclash.dev/docs/agent-skills — it is documentation, not an
138> installable skill.
139
140Each skill folder name matches its `name` in frontmatter. When a skill lists **Related Skills**, load those before mutating remote state.
141
142## All Skills In The Catalog
143
144| Skill folder | When to load |
145| --- | --- |
146| `agentclash-hub` | First — workflow map and UI links |
147| `agentclash-quickstart` | Readiness checks and suggested next command |
148| `agentclash-cli-setup` | Install, auth, workspace, doctor |
149| `agentclash-runtime-resources-setup` | Provider accounts, models, runtime profiles, secrets |
150| `agentclash-agent-build-author` | Agent build specs and build versions |
151| `agentclash-agent-deployment-setup` | Create/select deployments |
152| `agentclash-challenge-pack-planner` | Plan a pack before YAML |
153| `agentclash-challenge-pack-yaml-author` | Write pack YAML |
154| `agentclash-challenge-pack-input-sets` | Cases and input sets |
155| `agentclash-challenge-pack-tools-sandbox` | Tools and sandbox policy |
156| `agentclash-challenge-pack-artifacts` | Assets and artifact refs |
157| `agentclash-challenge-pack-scoring-validators` | Validators |
158| `agentclash-challenge-pack-llm-judges` | LLM judges |
159| `agentclash-challenge-pack-validation-publish` | Validate and publish |
160| `agentclash-eval-runner` | Start and follow evals, sessions, series |
161| `agentclash-scorecard-reader` | Interpret results |
162| `agentclash-compare-and-triage` | Baselines, compare, replay triage |
163| `agentclash-regression-flywheel` | Promote failures to regression suites |
164| `agentclash-ci-release-gate` | CI/CD gates |
165| `agentclash-agent-harness-setup` | E2B coding-agent harness tasks, suites, failure review |
166| `agentclash-multi-turn-operator` | Human takeover turns in multi_turn packs |
167| `agentclash-dataset-workflows` | Dataset eval, CI gate, traces, regression sync |
168| `agentclash-workspace-admin` | Org/workspace CRUD and membership administration |
169| `agentclash-security-evaluation` | Security pack stress-run and vault harnesses |
170
171Nested folders: `agent-build-skills/` and `challenge-pack-skills/` mirror the table rows above.
172
173## Product UI — Where To Send The User
174
175Base URL: **https://www.agentclash.dev**
176
177| User goal | UI path |
178| --- | --- |
179| Sign in / account | https://www.agentclash.dev |
180| Docs home | https://www.agentclash.dev/docs |
181| Quickstart | https://www.agentclash.dev/docs/getting-started/quickstart |
182| First eval walkthrough | https://www.agentclash.dev/docs/getting-started/first-eval |
183| Agent skills (web catalog) | https://www.agentclash.dev/docs/agent-skills |
184| CLI reference | https://www.agentclash.dev/docs/reference/cli |
185| Challenge packs guide | https://www.agentclash.dev/docs/guides/write-a-challenge-pack |
186| Multi-turn packs | https://www.agentclash.dev/docs/challenge-packs/multi-turn |
187| Interpret results | https://www.agentclash.dev/docs/guides/interpret-results |
188| CI/CD gates | https://www.agentclash.dev/docs/guides/ci-cd-agent-gates |
189| Workspace runs (after login) | App dashboard → Runs list |
190| Live run events | Run detail page while status is running |
191| Scorecards & comparisons | Run detail → scorecard / ranking views after completion |
192
193When you create a run via CLI, tell the user:
194
195```text
196Open https://www.agentclash.dev and navigate to your workspace runs, or search for run ID <RUN_ID> after signing in.
197```
198
199## AgentClash Concepts (30-Second Model)
200
201- **Challenge pack** — versioned eval workload (cases, scoring, tools policy).
202- **Input set** — which cases run in a given eval.
203- **Agent build / deployment** — the agent under test (model + runtime + tools).
204- **Run** — one execution of pack × input set × deployments.
205- **Eval session** — repeated runs (`eval start --repetitions N` or `run series create`).
206- **Scorecard** — structured results, comparisons, release gate input.
207- **Baseline bookmark** — workspace default run/agent for `compare latest`.
208- **Regression suite** — promoted failures for suite-only reruns.
209
210## Expected Output
211After loading this skill you can name the next skill, 1–3 CLI commands, and the UI page the human should open.
212
213## Failure Modes
214- Skipping `agentclash-cli-setup` when auth or workspace is unset → commands fail with workspace errors.
215- Running evals before pack publish → no runnable pack version.
216- Using localhost API URL by mistake → empty workspace or auth failures against the wrong backend.
217
218## Safety Notes
219- Confirm before production-scale evals, publishes, or CI runs that spend budget.
220- Never paste tokens, secrets, or customer data into chat.
221- Prefer `agentclash doctor` and read-only list commands before writes.
222
223## Report Back Format
224```text
225Hub loaded: yes
226Next skill: <skill-folder-name>
227CLI status: <auth/workspace/doctor summary>
228UI for user: <https://www.agentclash.dev/...>
229Next commands: <1-3 commands>
230```
231
232## Related Skills
233Load all skills listed in **Skill Dependency Order** as needed; start with `agentclash-cli-setup` if CLI is not configured.
234
235## Related Docs
236- `/docs-md/agent-skills`
237- `/docs-md/agent-skills/agentclash-hub`
238- `/docs-md/guides/use-with-ai-tools`
239- `/docs-md/getting-started/quickstart`
240- `/docs-md/getting-started/first-eval`