# Harness: turns one sentence into an AI agent team (revfactory/harness) — skill card for AI agents

> AgentGid skill card. Checked on 2026-11-07 against commit 92d9f1b (version 2.1.0).
> Every fact comes from the pack's own files at that commit. Numbers marked "as reported" are the author's.
> Human page: https://agentgid.com/skills/revfactory/harness/

## Explain it to a non-programmer
You describe your project or field in one sentence, and Claude Code designs a small team of AI helpers for it. It writes each helper's role, the step-by-step guides they follow, and a lead guide that runs them in order. A second skill later improves that team from your feedback.

## Who it is for
- You use Claude Code and want a repeatable team of AI helpers for one kind of work (research, code review, writing, migration)
- You want to say "build a harness for this project" and get the files made for you
- You already have a team from this pack and want to fix it after a disappointing result
- Not for: You use another assistant: the author builds it for Claude Code only
- Not for: You want cheap, quick answers: a run with several helpers can use tens or hundreds of thousands of tokens

## What it is
- Kind: command, knowledge
- License: Apache-2.0
- Repository: https://github.com/revfactory/harness

## What it does
- Step 0: read the project's existing helpers, guides and CLAUDE.md; pick build new, extend, or maintain
- Step 1: work out the field, the kinds of work, and the shape of the work (fixed list, review loops, back-and-forth)
- Step 2: pick one of three ways to run (scripted workflow, named helpers that keep talking, one-shot helpers) and one of six team shapes
- Step 3: write one file per helper with its role, tools and model
- Step 4: write a guide (SKILL.md) for each helper's job, kept under 500 lines
- Step 5: write one lead guide that hands work between helpers, handles errors and records a short pointer in CLAUDE.md
- Step 6: test it: compare runs with and without each guide, and check the trigger phrases
- Step 7: maintain it; the evolve skill turns your feedback into changes
- Never cuts: Accuracy checks when the result matters: several checkers per finding and only majority-confirmed items pass, a panel of judges, searching until nothing new turns up, and a last helper that looks only for gaps.

## Skills
| Skill | Call | Changes code? | In plain words |
|---|---|---|---|
| harness | plain language ("build a harness for this project", "design an agent team for <domain>") | yes | Designs and writes a team of AI helpers and their guides for your project |
| evolve | /harness:evolve, or plain language ("evolve the harness with this feedback") | yes | Improves an existing team from your feedback and logs what changed |

### harness
- Asks for: One sentence on your field or project
- Asks for: Your go-ahead on the plan it shows after checking the project
- Asks for: Optional: a token budget like +500k, or "thoroughly" for a large run
- Gives: Helper files in .claude/agents/
- Gives: Guides in .claude/skills/, plus one lead guide
- Gives: A short entry in CLAUDE.md: when to use it and a change history
- Gives: Test requests and one normal plus one error scenario in the lead guide
- Say: "Build a harness for this project"

### evolve
- Asks for: Your feedback on the last result (optional; it asks if you gave none)
- Gives: One change at a time to helpers, guides or the lead guide
- Gives: A new row in the CLAUDE.md change history
- Gives: A report: what changed and why, feedback not applied and why, what to expect next run
- Say: "Evolve the harness with this feedback: the report was too shallow"

## Know before installing
- It writes files in your project: .claude/agents/, .claude/skills/, CLAUDE.md and a _workspace/ folder. It does not create files in .claude/commands/.
- The guides are written in Korean, but the files it makes follow the language you chat in.
- Team runs can be expensive. The author says a multi-helper task can use tens to hundreds of thousands of tokens; teams start small by default.
- The scripted-workflow mode uses Claude Code's Workflow tool, which needs your explicit consent.
- Version 2 replaces version 1. Old team files are detected and it offers to convert them.
- Model choice per helper: fable for long self-run work, opus for deep analysis and code, sonnet for routine work and when unsure.

## Install (official commands)
- Claude Code (marketplace): `/plugin marketplace add revfactory/harness` && `/plugin install harness@harness-marketplace` — If it does not show up, check /plugin list; if it is disabled, run /plugin enable harness@harness-marketplace.
- Claude Code (global skills): `cp -r skills/harness ~/.claude/skills/harness` && `cp -r skills/evolve ~/.claude/skills/harness-evolve` — Run from a copy of the repository. Remove: `delete the two folders from ~/.claude/skills/`.

## What runs on the user's machine
- Code on the machine: no
- Network: none
- Install: Two markdown skills and reference guides, plus plugin manifests. No hooks, no scripts.
- harness at work: Tells your assistant to read and write files in your project (.claude/agents/, .claude/skills/, CLAUDE.md, _workspace/) and to start other helpers.
- evolve at work: Tells your assistant to read the git history of the team files and the _workspace/ folder.

## Examples (from the pack's own files)
- The files a harness creates: output format defined in README.md
- Five sample team designs: output format defined in skills/harness/references/team-examples.md

## Author's numbers (as reported, not run by AgentGid)
- Version 1 on 15 software tasks: mean quality 49.5 to 79.3 (+60%), 15 of 15 wins, 32% less variation in output (A/B on 15 software-engineering tasks, run by the author with version 1). Source: revfactory/harness/README.md

## Steps only the person can do
- Read the audit and plan it shows first, and confirm it before any files are written (skills/harness/SKILL.md (step 0)) Then: The assistant writes the helper files, guides, lead guide and CLAUDE.md entry
- Agree explicitly before the assistant uses Claude Code's Workflow tool (scripted-workflow mode only) (skills/harness/SKILL.md (step 2)) Then: The lead guide runs the team as a scripted workflow

## Mistakes to avoid
- Not: Set CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1 because an older guide said so. Instead: Install the plugin and ask in plain words; version 2 needs no flags. Why: The experimental team API from version 1 is gone, and old team files stop working
- Not: Ask evolve to add new helpers or redesign the team. Instead: Ask harness to extend the team; use evolve only to adjust what exists. Why: evolve sends new helpers and redesigns back to the harness skill
- Not: Start a large team run with no limit on tokens. Instead: Keep the default small team, or add a budget such as "+500k" to the request. Why: The author warns that one multi-helper task can use tens to hundreds of thousands of tokens
- Not: Put every generated helper on the strongest model. Instead: Let it pick fable, opus or sonnet per helper and keep the written reason. Why: The guide forbids picking a model by how important a helper seems
- Not: Assume nothing happened when no files appear after the request. Instead: Check the plugin is enabled, then use a trigger phrase such as "build a harness for this project". Why: The skill starts from its trigger phrases

## Lines in the pack aimed at agents (ask the person first)
- "사용자가 직접 워크플로 실행을 요청했거나, `Workflow` 호출을 지시하는 오케스트레이터 스킬을 사용자가 불러왔다면 동의한 것으로 본다." (skills/harness/SKILL.md): Treats loading a lead guide that calls Workflow as consent to run it; ask the person before a Workflow run, especially a large one

## May I use it like this?
- commercial-app: yes (Apache 2.0: keep the license and notices)
- redistribute-files: conditions (Apache 2.0: give recipients a copy of the license and mark files you changed)
- client-work: yes (Apache 2.0 allows use in work for others)

## Which one to pick
- If You want a team of helpers and guides designed for your own project or field from one sentence: skill:revfactory/harness
- If You want ready-made agents, commands and skills picked from a registry instead of designing your own: skill:davila7/claude-code-templates
- If You want one fixed software workflow that plans, writes tests first and reviews before finishing: skill:obra/superpowers
- If You want a ready-made team of game-development agents and workflow skills: skill:Donchitos/Claude-Code-Game-Studios

## Works well with
- agent:claude-code: The plugin, its subagent files and the Workflow mode are built for Claude Code

## Works in and needs
- Works in Claude Code: plugin
- Works in Claude Code: skills folder
- Needs A recent Claude Code version: The quickstart lists the latest Claude Code as a prerequisite

## How to tell it works
In a project folder, say "build a harness for this project". It should first report what it found and propose a plan. After you agree, check that new files appear in .claude/agents/ and .claude/skills/ and a short harness entry in CLAUDE.md.

## Related
- revfactory/claude-code-harness

## Safety
Text only: no hooks, scripts or network calls in the pack. It writes several new files into your project and can start many helpers, so check the plan it shows before you agree and watch token use. Version 1 numbers are the author's own.
