harness README

项目的 README,来自 github.com/revfactory/harness。合并为一个 markdown 文件:README.md。

Version License Claude Code Plugin 3 Execution Modes Patterns

Harness in 15 seconds: one request becomes an agent team
15-second motion reel · Watch the full 2-minute interactive walkthrough (Korean) →

Harness v2 — The Team-Architecture Factory for Claude Code

English | 한국어

Harness is a team-architecture factory for Claude Code. One sentence — "build a harness for this project" · "하네스 구성해줘" — and the plugin turns your domain description into an agent team and the skills they use.

What's new in v2

v2 is a ground-up rebuild for the current Claude Code multi-agent runtime:

Core features

Workflow

Phase 0: Audit existing harness (new / extend / maintain — v1 artifacts detected here)
Phase 1: Domain analysis (incl. control-flow shape of the work)
Phase 2: Execution mode & team architecture design
Phase 3: Agent definitions (.claude/agents/)
Phase 4: Skill generation (.claude/skills/)
Phase 5: Orchestration & CLAUDE.md pointer
Phase 6: Verification & testing
Phase 7: Maintenance — evolution via /harness:evolve

Install

Via marketplace

/plugin marketplace add revfactory/harness
/plugin install harness@harness-marketplace

As global skills

cp -r skills/harness ~/.claude/skills/harness
cp -r skills/evolve ~/.claude/skills/harness-evolve

No environment variables or experimental flags required.

Usage

하네스 구성해줘
build a harness for this project
design an agent team for <domain>

After using a generated harness:

하네스 회고해줘 / evolve the harness with this feedback

Choosing an execution mode

Mode Primitive When
Workflow orchestration Workflow scripts Control flow is deterministic: enumerable fan-outs, verification loops, large scale, structured outputs
Persistent agents Agent(name:) + SendMessage + tasks Long-lived specialists that keep context; iterative feedback and negotiation
Sub-agent delegation one-shot Agent calls Fire-and-forget parallel work; results only

The factory picks the mode from the shape of the control flow, not from team size — and mixes modes per phase when that fits better.

Generated artifacts

your-project/
├── .claude/
│   ├── agents/          # agent definitions (who)
│   │   ├── analyst.md
│   │   ├── builder.md
│   │   └── qa.md
│   └── skills/          # skills (how) + one orchestrator (who-when-in-what-order)
│       ├── analyze/SKILL.md
│       └── build/SKILL.md
└── CLAUDE.md            # minimal pointer: trigger rule + change history

Migrating from v1

See docs/migration-v1-to-v2.md. Summary: remove TeamCreate/TeamDelete/broadcast/flag references, convert fan-outs to Workflow scripts, rewrite remaining collaboration with named agents + SendMessage, drop blanket model: "opus" pins. The factory automates this when it detects v1 artifacts (Phase 0).

Prior results (v1)

A controlled A/B on 15 software-engineering tasks measured the effect of structured pre-configuration on LLM code-agent output quality: mean quality 49.5 → 79.3 (+60%), 15/15 win rate, −32% output variance (n=15, author-run, see revfactory/claude-code-harness). Treat these as author-measured numbers; run your own pilot for adoption decisions.

License

Apache 2.0

harness (revfactory/harness)

正在搜索数据库…

这是什么?Harness 是一个 Claude Code 插件,它把用通俗英文写的项目描述变成一支定制的专业 AI 智能体团队及其使用的技能,团队架构从六种预定义模式中选取。
它是一个插件,还是本身就是一套完整的智能体框架?它是一个 Claude Code 插件(一种“元技能”),处于作者所说的 L3 Meta-Factory 层:它生成的是其他智能体团队和技能,而不是自己充当智能体。它生成的一切都位于你项目的 .claude/agents/ 和 .claude/skills/ 文件夹内。
使用它之前需要先运行什么?你需要 Claude Code,并通过环境变量 CLAUDECODEEXPERIMENTALAGENTTEAMS=1 启用实验性的 Agent Teams 功能;没有提到其他工具或 API 密钥。
它能配合 Codex 等其他编程智能体使用吗?不能,官方运行时只有 Claude Code。如果你需要那个运行时,同样的想法有一个单独的 Codex 移植版,即“SaehwanPark/meta-harness”项目。
它可以从哪六种团队架构模式中选择?Pipeline(流水线,串行任务)、Fan-out/Fan-in(分流/汇合,并行任务)、Expert Pool(专家池,选择性调用)、Producer-Reviewer(生产者-审查者,生成加审查)、Supervisor(监督者,中央动态调度)和 Hierarchical Delegation(层级委派,自上而下递归委派)。
Harness 与 Archon 这类项目有什么不同?Archon 生成的是确定性的、可复现的运行时配置,而 Harness 生成的是团队结构本身(智能体角色、消息协议、审查关卡),因此两者可以结合使用:先用 Harness 设计架构,再用 Archon 部署。
它声称的 +60% 质量提升真的站得住脚吗?这个数字来自作者本人在姊妹仓库 claude-code-harness 上跨 15 项软件工程任务的 A/B 测试,显示平均质量从 49.5 升至 79.3、15/15 的全胜率以及 -32% 的输出方差;作者明确标注这是作者自测的结果,第三方复现尚待进行。
Harness 实际上会为项目生成哪些文件?运行它会在 .claude/agents/ 中生成智能体定义,并在 .claude/skills/ 中生成与你所描述领域相匹配的技能,每个技能都使用渐进式披露(Progressive Disclosure)来保持上下文占用高效。
大小
29.3 MB
星标
9.4K
更新
提交Sep 28
时长
8个月
提交 · 90 天