harnesslisted
Install: claude install-skill 0xAddict/threadwork
# Harness — Generator + Verifier Pipeline
Launches a two-agent development harness based on Anthropic's engineering pattern for long-running applications. The Generator (Opus) builds features sprint-by-sprint while the Verifier (Sonnet) independently tests and grades the output with hard thresholds.
## Usage
```
/harness Build a task management app with drag-and-drop, real-time sync, and dark mode
/harness --sprints 5 Build a DAW with multi-track audio editing
/harness --project-path /path/to/project Continue building from existing codebase
```
## Arguments
- First argument: Natural language description of what to build (required)
- `--project-path PATH`: Project directory (default: current working directory)
- `--sprints N`: Target number of sprints (default: 3)
- `--app-url URL`: URL of running app for browser testing (Verifier will start the app if not provided)
## How It Works
### Step 1: Initialize Harness Directory
Create `.harness/` in the project root:
```bash
mkdir -p .harness/sprints
```
Write `.harness/roadmap.md` from the user's task description — break it into sprint-sized features.
Write `.harness/decision-log.md` with initial setup notes.
### Step 2: Spawn Generator Agent
```
Agent(
name: "generator",
model: opus,
prompt: <read ~/.claude/agents/harness/generator.md, inject PROJECT_PATH and roadmap>,
run_in_background: true
)
```
The Generator reads the roadmap, proposes its first sprint contract, and begins implementing.
### Step 3: Spawn V