# Repository Briefing: revfactory/harness
> Source: https://repoforai.com/repo/revfactory/harness (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/revfactory/harness
- **Official Docs / Website**: https://revfactory.github.io/harness/
- **Category**: Coding, Skills & MCP (AI 编程 / Skills / MCP)
- **Primary Language**: Multi-language
- **License**: Apache-2.0
- **Engineering Health**: B+ (69/100 · Maintenance 20/35 · Adoption 23/25 · Releases 6/20 · License 20/20)
- **Review Snapshot**: 2026-12-02
- **Momentum**: 9,427 ★ total (+1 24h / +26 7d) · 1,347 forks
- **Topics**: `claude-code`, `claude-code-plugin`, `harness`, `harness-engineering`
- **When to Use**: Best for: Claude Code teams turning a recurring project workflow into explicit roles, skills, and handoffs, with a pilot to measure whether the configuration improves outcomes. Skip if: You need a standalone MCP endpoint, offline model execution, or cross-platform orchestration, or your workflow is simple enough to maintain as one handwritten skill.

## Overview
```text
### Architecture & Core Mechanics
Harness operates as a Claude Code plugin or a pair of global skills, not as a standalone MCP server. It audits the project to decide whether to create, extend, or maintain a harness, then analyzes the shape of the work before choosing a team topology and execution mode. It separates roles in `.claude/agents/` from procedures and orchestration in `.claude/skills/`, leaving a trigger pointer and change history in `CLAUDE.md`.

Execution can vary by phase. `Workflow` scripts suit enumerable fan-outs, explicit verification loops, and structured outputs. Named `Agent` instances coordinate through `SendMessage` and tasks when specialists need to retain context and negotiate revisions. One-shot `Agent` calls fit independent jobs that only need to return a result. A single generated harness can mix all three rather than keeping every role alive for the entire run.

### Key Capabilities & Differentiators
Harness maps six patterns—Pipeline, Fan-out/Fan-in, Expert Pool, Producer-Reviewer, Supervisor, and Hierarchical Delegation—to Claude Code execution modes. Generated skills use progressive disclosure to keep detailed instructions out of the initial context until needed. Orchestration can pass work through structured schemas, files, messages, or tasks, and includes error handling and resume support.

Verification covers trigger checks, dry runs, and with-skill versus without-skill A/B tests; the evaluation itself can be orchestrated as a Workflow. `/harness:evolve` turns usage feedback into revisions that can be tested again. In an author-run v1 comparison on 15 software-engineering tasks, mean quality rose from 49.5 to 79.3, all 15 tasks favored the configured setup, and output variance fell 32%. That small predecessor study motivates a pilot; it does not establish v2 performance.

### Trade-offs & Limitations
Compared with handwritten Claude Code agents and skills, Harness gives teams a repeatable way to choose execution modes, document handoffs, and test the resulting configuration. The cost is another layer of project artifacts to review and maintain. For a short, stable workflow with few roles, direct configuration can be easier to reason about; for host-independent scheduling or multi-provider execution, a standalone orchestrator is the more relevant comparison.

Scripted control flow makes fan-out and verification steps explicit, but it does not make agent outputs deterministic. Persistent specialists preserve working context across feedback rounds at the cost of more coordination; fan-out and evaluation can also increase model usage. Pilot a representative workflow and check output quality, runtime cost, and recovery from a failed handoff before expanding adoption. Apache-2.0 covers Harness, not the Claude Code host or its model service.

### Hardware & Deployment Guide
Install from within Claude Code with `/plugin marketplace add revfactory/harness`, then `/plugin install harness@harness-marketplace`. For a global skill setup, copy `skills/harness` to `~/.claude/skills/harness` and `skills/evolve` to `~/.claude/skills/harness-evolve`. Neither path requires Harness-specific environment variables or experimental flags. Installing the files locally does not make inference offline or self-hosted; generated runs still depend on the Claude Code environment.

The v2 migration path replaces `TeamCreate`, `TeamDelete`, and old broadcast and flag references, moves enumerable fan-outs to Workflow scripts, rewrites persistent collaboration around named agents and `SendMessage`, and drops blanket `model: "opus"` pins. Phase 0 can automate the migration when it detects v1 artifacts. No published release is listed, so teams that need reproducible rollouts should record the revision they validated and review the generated project changes before adoption.
```

## Key Capabilities
```text
- Control flow: Selects Workflow scripts, named persistent agents, or one-shot delegation per phase based on the work, not team size.
- Team topology: Supports Pipeline, Fan-out/Fan-in, Expert Pool, Producer-Reviewer, Supervisor, and Hierarchical Delegation.
- Project artifacts: Separates agent roles under `.claude/agents/` from skills and orchestration under `.claude/skills/`.
- Handoff design: Uses structured schemas, files, messages, or tasks to transfer work, with error handling and resume support.
- Verification: Combines trigger checks, dry runs, and with-skill versus without-skill A/B tests that can run as a Workflow.
- Lifecycle: Phase 0 detects v1 configurations for migration; `/harness:evolve` uses feedback to revise the generated setup.
```

## Quick Start / Clone
```bash
/plugin marketplace add revfactory/harness
/plugin install harness@harness-marketplace
```
