/harness:verifier-setupfrom harness
Set a repo up to prove engineering-task work actually works before it ships. Investigates the repo, ensures a one-command dev stack (`dev-local`) exists, asks whether verification runs locally or in a sandbox (crabbox), confirms/installs the driver (the `playwright-cli` skill for web by default). Outputs three artifacts: a committed `/verify` skill (per-task verification SOP — spawn a verifier sub-agent → drive the app → screenshot/video proof → open a PR with the proof embedded), the `/dev-local` skill + script, and the installed driver skill. Use when someone says "set up verification", "make this repo verifiable", "scaffold a verify skill", "set up the verifier".
Ships in harness. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
/verify skillGoal: leave the repo able to prove an engineering task works before it ships —
run once, and it wires up everything the per-task /verify loop needs.
You are setting up — not verifying anything yourself right now. The /verify
template lives at assets/verify.template.md (next to this skill). Parallels
dev-local-setup (which generates a script + its skill doc): a setup skill that
leaves behind reusable, repo-specific artifacts.
Running verifier-setup end-to-end leaves the repo with:
/verify skill — .claude/skills/verify/SKILL.md, the repo-tailored
per-task verification SOP (spawn a verifier sub-agent → drive the app →
screenshot/video proof → open a PR with the proof embedded). Generated in Step 5./dev-local skill + its script — scripts/dev-local.sh and
.claude/skills/dev-local/SKILL.md, via dev-local-setup (Step 2) if not
already present. The one-command stack /verify depends on.playwright-cli skill for web apps (Step 2);
for non-web, the concrete exercise tool confirmed present.Before creating anything, take stock — the repo may already have some of this, under whatever name or layout its team chose. Look for the capability, not a specific filename; the paths below are only examples. For each, decide reuse as-is / adapt-extend / create fresh — never blindly overwrite working setup:
Makefile/Procfile
target, docker-compose, package scripts (e.g. scripts/dev-local.sh, but any
form counts).playwright-cli skill), or the relevant API/CLI client.Every later step is conditional on this inventory: if a capability exists and works, reuse and adapt it (fill gaps, don't regenerate); only create what's missing.
Discover the real facts the generated skill will hardcode:
e2e-setup)? Record it, or "n/a".package.json/Makefile/turbo.json/etc.pr-evidence
GitHub prerelease via gh release upload is the default; a bucket/CI artifact
works too).For each, act on what Step 0 found — reuse if present, adapt if partial, create only if missing. Each check is idempotent; a no-op on what's already there:
dev-local-setup (don't hand-roll a
launcher here). The generated /verify just needs a reliable one-command up.playwright-cli skill (it documents + wraps
the browser driver). Ensure its binary is callable too (npx --yes @playwright/cli --version; install it + the chrome channel if missing). This closes the usual
local gap where the browser driver was assumed but never installed.evidence/ is gitignored (proof output lands there).Present the choice (default and recommend local — it's simpler to stand up):
scripts/dev-local.sh up). Best for a
single task at a time. Recommend this unless they need parallelism.crabbox-setup (static SSH, no Daytona); the generated
skill drives the app in-box via cbx.sh pw.Record the pick as the generated skill's default RUN_MODE (the other stays a
documented fallback).
State the detected driver and confirm with the user (default playwright-cli
for web apps). For non-web, name the concrete tool (e.g. curl/an HTTP script,
the built CLI). This becomes DRIVER in the generated skill.
.claude/skills/verify/SKILL.mdIf a prior verification skill/SOP already exists (Step 0), update it in place —
refresh the repo-specifics/placeholders, preserve any hand-edits the team added;
don't clobber. Otherwise copy assets/verify.template.md → the repo's skills dir
(.claude/skills/verify/ or the repo's convention) and fill every {{...}}
placeholder from Steps 1–4:
STACK_UP, APP_URL, RUN_MODE(+RUN_MODE_NOTE), DRIVER(+DRIVER_INSTRUCTION),
AUTH_HELPER(+AUTH_INSTRUCTION), EXERCISE, REGRESSION_CMDS, EVIDENCE_UPLOAD,
DATE. Delete branches that don't apply (e.g. drop the browser/video language for
a non-web repo). Keep it to one screen — it's an SOP the agent follows, not an essay.
Commit the generated skill (+ any .gitignore/dev-local changes). Tell the user:
/verify before opening a PR (or when asked to verify), on a
branch with changes committed";gh auth
for evidence upload).evidence/ exist
before the /verify skill ships, so it never fails on a missing tool./verify runs.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub ehsanulhaquesiam/claude-skills --plugin harness10 skills in this plugin
/agent-context-auditAudit a repo's agent context — CLAUDE.md files, codebase docs, skills, and tool/MCP designs — against Anthropic's Claude 5 context-engineering guidance ("unhobbling": Anthropic cut ~80% of Claude Code's system prompt with no eval loss). Finds overconstraint, conflicting instructions, redundancy, stale facts, and missing "unknown knowns"; produces a scored findings report with concrete rewrites, then applies approved fixes. Use when someone says "audit my CLAUDE.md", "context audit", "unhobble this repo", "review our agent docs/skills/tools", or after upgrading to Claude 5-generation models.
/crabbox-setupScaffold the crabbox ecosystem (.crabbox.yaml, setup.sh, cbx.sh, playwright config) into a repo, targeting YOUR VPS via static SSH instead of Daytona. Asks for the box details (host, ssh user/alias) on first use. Use when builds/tests/e2e should run on a persistent cloud box.Other plugins' skills for the same job
/dev-local-setup