{"id":48643400,"url":"https://github.com/revfactory/harness","last_synced_at":"2026-04-27T21:32:32.218Z","repository":{"id":347167871,"uuid":"1193082155","full_name":"revfactory/harness","owner":"revfactory","description":"A meta-skill that designs domain-specific agent teams, defines specialized agents, and generates the skills they use.","archived":false,"fork":false,"pushed_at":"2026-04-17T19:36:15.000Z","size":9266,"stargazers_count":2585,"open_issues_count":2,"forks_count":372,"subscribers_count":22,"default_branch":"main","last_synced_at":"2026-04-17T21:28:16.874Z","etag":null,"topics":["claude-code","claude-code-plugin","harness","harness-engineering"],"latest_commit_sha":null,"homepage":"https://revfactory.github.io/harness/","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/revfactory.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-26T21:22:07.000Z","updated_at":"2026-04-17T19:36:20.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/revfactory/harness","commit_stats":null,"previous_names":["revfactory/harness"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/revfactory/harness","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/revfactory%2Fharness","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/revfactory%2Fharness/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/revfactory%2Fharness/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/revfactory%2Fharness/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/revfactory","download_url":"https://codeload.github.com/revfactory/harness/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/revfactory%2Fharness/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32356598,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T20:07:02.737Z","status":"ssl_error","status_checked_at":"2026-04-27T20:07:00.910Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["claude-code","claude-code-plugin","harness","harness-engineering"],"created_at":"2026-04-09T23:01:21.666Z","updated_at":"2026-04-27T21:32:32.211Z","avatar_url":"https://github.com/revfactory.png","language":"HTML","funding_links":[],"categories":["Workflows \u0026 Knowledge Guides 🧠","🔌 Claude Plugins"],"sub_categories":["Teams"],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"harness_banner.png\" alt=\"Harness Banner\" width=\"600\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Version-1.2.0-brightgreen.svg\" alt=\"Version\"\u003e\n  \u003ca href=\"LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/badge/License-Apache_2.0-blue.svg\" alt=\"License\"\u003e\u003c/a\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Claude_Code-Plugin-purple.svg\" alt=\"Claude Code Plugin\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Patterns-6_Architectures-orange.svg\" alt=\"6 Architecture Patterns\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Mode-Agent_Teams-green.svg\" alt=\"Agent Teams\"\u003e\n  \u003ca href=\"https://github.com/revfactory/harness/stargazers\"\u003e\u003cimg src=\"https://img.shields.io/github/stars/revfactory/harness?style=social\" alt=\"GitHub Stars\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"#category--where-harness-sits\"\u003e\u003cimg src=\"https://img.shields.io/badge/Layer-L3%20Meta--Factory-orange\" alt=\"Layer\"\u003e\u003c/a\u003e\n  \u003ca href=\"#category--where-harness-sits\"\u003e\u003cimg src=\"https://img.shields.io/badge/Sub--layer-Team--Architecture%20Factory-teal\" alt=\"Sub-layer\"\u003e\u003c/a\u003e\n  \u003ca href=\"#\"\u003e\u003cimg src=\"https://img.shields.io/badge/README-EN%20%7C%20KO%20%7C%20JA-lightgrey\" alt=\"i18n\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n# Harness — The Team-Architecture Factory for Claude Code\n\n**English** | [한국어](README_KO.md) | [日本語](README_JA.md)\n\n\u003e **Harness is a team-architecture factory for Claude Code.** Say **\"build a harness for this project\"** (English) or **\"하네스 구성해줘\"** (한국어) or **\"ハーネスを構成して\"** (日本語), and the plugin turns your domain description into an agent team and the skills they use — picked from six pre-defined team-architecture patterns.\n\n## Overview\n\nHarness leverages Claude Code's agent team system to decompose complex tasks into coordinated teams of specialized agents. Say \"build a harness for this project\" and it automatically generates agent definitions (`.claude/agents/`) and skills (`.claude/skills/`) tailored to your domain.\n\n## Category — Where Harness Sits\n\nHarness lives at the **L3 Meta-Factory** layer of the Claude Code ecosystem — the layer that generates other harnesses rather than being one. Inside L3, we pick a specific sub-layer: **Team-Architecture Factory**.\n\n| Layer | What it does | Neighbors we coexist with |\n|-------|--------------|---------------------------|\n| **L3 — Meta-Factory / Team-Architecture Factory** (us) | Domain sentence → agent team + skills, via 6 pre-defined team patterns | — |\n| L3 — Meta-Factory / Runtime-Configuration Factory | Deterministic, repeatable runtime configurations | [coleam00/Archon](https://github.com/coleam00/Archon) |\n| L3 — Meta-Factory / Codex Runtime Port | Same concept, Codex runtime | [SaehwanPark/meta-harness](https://github.com/SaehwanPark/meta-harness) |\n| L2 — Cross-Harness Workflow | Standardize skills/rules/hooks across multiple harnesses | [affaan-m/ECC](https://github.com/affaan-m/everything-claude-code) |\n\n\u003e Archon generates deterministic runtime configurations. Harness generates team architectures (pipeline, fan-out/fan-in, expert pool, producer-reviewer, supervisor, hierarchical delegation) plus the skills agents use. Different sub-layers of the same L3. Pick Archon for runtime determinism, Harness for team architecture, or combine them.\n\n## Star History\n\n\u003ca href=\"https://www.star-history.com/?repos=revfactory%2Fharness\u0026type=date\u0026legend=top-left\"\u003e\n \u003cpicture\u003e\n   \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://api.star-history.com/chart?repos=revfactory/harness\u0026type=date\u0026theme=dark\u0026legend=top-left\" /\u003e\n   \u003csource media=\"(prefers-color-scheme: light)\" srcset=\"https://api.star-history.com/chart?repos=revfactory/harness\u0026type=date\u0026legend=top-left\" /\u003e\n   \u003cimg alt=\"Star History Chart\" src=\"https://api.star-history.com/chart?repos=revfactory/harness\u0026type=date\u0026legend=top-left\" /\u003e\n \u003c/picture\u003e\n\u003c/a\u003e\n\n\n## Key Features\n\n- **Agent Team Design** — 6 architectural patterns: Pipeline, Fan-out/Fan-in, Expert Pool, Producer-Reviewer, Supervisor, and Hierarchical Delegation\n- **Skill Generation** — Auto-generates skills with Progressive Disclosure for efficient context management\n- **Orchestration** — Inter-agent data passing, error handling, and team coordination protocols\n- **Validation** — Trigger verification, dry-run testing, and with-skill vs without-skill comparison tests\n\n## Harness Evolution Mechanism\n\nThe harness evolution mechanism feeds deltas (what worked / what didn't) back into the factory, so the next generation is measurably better. When a generated harness is used in a real project, the `/harness:evolve` skill captures the delta between the initial architecture and the shipped one, and feeds it back into the factory so the next generation for a similar domain starts closer to the shipped state.\n\n```\nInitial harness ──▶ Real project use ──▶ Shipped harness\n                                              │\n                                              ▼ (delta capture via /harness:evolve)\n                                        ┌───────────────┐\n                                        │  Factory      │◀── better next-gen draft\n                                        └───────────────┘\n```\n\nWe call this the **Harness Evolution Mechanism** (KR: 하네스 진화 메커니즘; JA: ハーネス進化メカニズム).\n\n## Workflow\n\n```\nPhase 1: Domain Analysis\n    ↓\nPhase 2: Team Architecture Design (Agent Teams vs Subagents)\n    ↓\nPhase 3: Agent Definition Generation (.claude/agents/)\n    ↓\nPhase 4: Skill Generation (.claude/skills/)\n    ↓\nPhase 5: Integration \u0026 Orchestration\n    ↓\nPhase 6: Validation \u0026 Testing\n```\n\n## Installation\n\n### Via Marketplace\n\n#### Add the marketplace\n```shell\n/plugin marketplace add revfactory/harness\n```\n\n#### Install the plugin\n```shell\n/plugin install harness@harness\n```\n\n### Direct Installation as Global Skill\n\n```shell\n# Copy the skills directory to ~/.claude/skills/harness/\ncp -r skills/harness ~/.claude/skills/harness\n```\n\n## Plugin Structure\n\n```\nharness/\n├── .claude-plugin/\n│   └── plugin.json                 # Plugin manifest\n├── skills/\n│   └── harness/\n│       ├── SKILL.md                # Main skill definition (6-Phase workflow)\n│       └── references/\n│           ├── agent-design-patterns.md   # 6 architectural patterns\n│           ├── orchestrator-template.md   # Team/subagent orchestrator templates\n│           ├── team-examples.md           # 5 real-world team configurations\n│           ├── skill-writing-guide.md     # Skill authoring guide\n│           ├── skill-testing-guide.md     # Testing \u0026 evaluation methodology\n│           └── qa-agent-guide.md          # QA agent integration guide\n└── README.md\n```\n\n## Usage\n\nTrigger in Claude Code with prompts like:\n\n```\nBuild a harness for this project\nDesign an agent team for this domain\nSet up a harness\n```\n\n### Execution Modes\n\n| Mode | Description | Recommended For |\n|------|-------------|-----------------|\n| **Agent Teams** (default) | TeamCreate + SendMessage + TaskCreate | 2+ agents requiring collaboration |\n| **Subagents** | Direct Agent tool invocation | One-off tasks, no inter-agent communication needed |\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"harness_team.png\" alt=\"Harness Agent Team\" width=\"500\"\u003e\n\u003c/p\u003e\n\n### Architecture Patterns\n\n| Pattern | Description |\n|---------|-------------|\n| Pipeline | Sequential dependent tasks |\n| Fan-out/Fan-in | Parallel independent tasks |\n| Expert Pool | Context-dependent selective invocation |\n| Producer-Reviewer | Generation followed by quality review |\n| Supervisor | Central agent with dynamic task distribution |\n| Hierarchical Delegation | Top-down recursive delegation |\n\n## Output\n\nFiles generated by Harness:\n\n```\nyour-project/\n├── .claude/\n│   ├── agents/          # Agent definition files\n│   │   ├── analyst.md\n│   │   ├── builder.md\n│   │   └── qa.md\n│   └── skills/          # Skill files\n│       ├── analyze/\n│       │   └── SKILL.md\n│       └── build/\n│           ├── SKILL.md\n│           └── references/\n```\n\n## Use Cases — Try These Prompts\n\nCopy any prompt below into Claude Code after installing Harness:\n\n**Deep Research**\n```\nBuild a harness for deep research. I need an agent team that can investigate\nany topic from multiple angles — web search, academic sources, community\nsentiment — then cross-validate findings and produce a comprehensive report.\n```\n\n**Website Development**\n```\nBuild a harness for full-stack website development. The team should handle\ndesign, frontend (React/Next.js), backend (API), and QA testing in a\ncoordinated pipeline from wireframe to deployment.\n```\n\n**Webtoon / Comic Production**\n```\nBuild a harness for webtoon episode production. I need agents for story\nwriting, character design prompts, panel layout planning, and dialogue\nediting. They should review each other's work for style consistency.\n```\n\n**YouTube Content Planning**\n```\nBuild a harness for YouTube content creation. The team should research\ntrending topics, write scripts, optimize titles/tags for SEO, and plan\nthumbnail concepts — all coordinated by a supervisor agent.\n```\n\n**Code Review \u0026 Refactoring**\n```\nBuild a harness for comprehensive code review. I want parallel agents\nchecking architecture, security vulnerabilities, performance bottlenecks,\nand code style — then merging all findings into a single report.\n```\n\n**Technical Documentation**\n```\nBuild a harness that generates API documentation from this codebase.\nAgents should analyze endpoints, write descriptions, generate usage\nexamples, and review for completeness.\n```\n\n**Data Pipeline Design**\n```\nBuild a harness for designing data pipelines. I need agents for schema\ndesign, ETL logic, data validation rules, and monitoring setup that\ndelegate sub-tasks hierarchically.\n```\n\n**Marketing Campaign**\n```\nBuild a harness for marketing campaign creation. The team should research\nthe target market, write ad copy, design visual concepts, and set up\nA/B test plans with iterative quality review.\n```\n\n## Coexistence — Harness and Neighbors\n\nHarness is not alone in the Claude Code / agent-framework ecosystem. The following repos live in adjacent layers; each is described in a parallel \"X is …, Harness is …\" form so you can pick the one that fits your need or combine several.\n\n| Repo | Their position | Relationship to Harness |\n|------|----------------|-------------------------|\n| [coleam00/Archon](https://github.com/coleam00/Archon) | \"harness builder\" — deterministic, repeatable runtime configurations | **Same L3, neighbor sub-layer.** Archon is a Runtime-Configuration Factory, Harness is a Team-Architecture Factory. Pick Archon for runtime determinism, Harness for team architecture, or combine them. |\n| [SaehwanPark/meta-harness](https://github.com/SaehwanPark/meta-harness) | Codex port of the same concept | **Same L3, different runtime.** Use Harness on Claude Code, meta-harness on Codex. |\n| [affaan-m/ECC](https://github.com/affaan-m/everything-claude-code) | \"Agent harness performance \u0026 workflow layer\" (sits on top of existing harnesses) | **Different layer.** ECC is a standardization layer across harnesses; Harness is a factory that generates harnesses. Serial combination possible. |\n| [wshobson/agents](https://github.com/wshobson/agents) | Subagent / skill catalog (182 agents, 149 skills) | **Factory ↔ parts supply.** wshobson is a catalog to shop from; Harness designs the team. Absorb wshobson entries as parts inside a Harness-generated team. |\n| [LangGraph](https://langchain-ai.github.io/langgraph/) | State-graph orchestration, LLM-agnostic | **Different track.** LangGraph is for long-running, state-recoverable orchestration; Harness is for fast Claude-Code-native team design. |\n\n## Built with Harness\n\n### Harness 100\n\n**[revfactory/harness-100](https://github.com/revfactory/harness-100)** — 100 production-ready agent team harnesses across 10 domains, available in both English and Korean (200 packages total). Each harness ships with 4-5 specialist agents, an orchestrator skill, and domain-specific skills — all generated by this plugin. 1,808 markdown files covering content creation, software development, data/AI, business strategy, education, legal, health, and more.\n\n### Research: A/B Testing Harness Effectiveness\n\n**[revfactory/claude-code-harness](https://github.com/revfactory/claude-code-harness)** — A controlled experiment across 15 software engineering tasks measuring the impact of structured pre-configuration on LLM code agent output quality.\n\n| Metric | Without Harness | With Harness | Improvement |\n|--------|:-:|:-:|:-:|\n| Average Quality Score | 49.5 | 79.3 | **+60%** |\n| Win Rate | — | — | **100%** (15/15) |\n| Output Variance | — | — | **-32%** |\n\nKey finding: effectiveness scales with task complexity — the harder the task, the greater the improvement (+23.8 Basic, +29.6 Advanced, +36.2 Expert).\n\n**Exact phrasing to use everywhere:** +60% avg quality (49.5 → 79.3), 15/15 win-rate, −32% variance (n=15, author-measured A/B, third-party replications pending).\n\n\u003e Full paper: *Hwang, M. (2026). Harness: Structured Pre-Configuration for Enhancing LLM Code Agent Output Quality.*\n\n## Requirements\n\n- [Agent Teams enabled](https://code.claude.com/docs/en/agent-teams): `CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1`\n\n## FAQ\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cb\u003eQ1. Isn't \"+60%\" oversold?\u003c/b\u003e\u003c/summary\u003e\n\n**A.** The +60% figure comes from an **author-measured A/B (n=15, 15 tasks, measured on the sister repo `claude-code-harness`)**. Every citation in this repo pairs the number with the disclosure \"n=15, author-measured, third-party replications pending\" in the same sentence. For adoption decisions, we recommend running a 2–4 week internal pilot and measuring your own numbers.\n\n**Evidence:**\n- Author A/B: [revfactory/claude-code-harness](https://github.com/revfactory/claude-code-harness)\n- Paper: *Hwang, M. (2026). Harness: Structured Pre-Configuration for Enhancing LLM Code Agent Output Quality*\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cb\u003eQ2. Why \"harness factory\" and not \"harness builder\"? Isn't this competing with Archon?\u003c/b\u003e\u003c/summary\u003e\n\n**A.** Archon generates deterministic runtime configurations — it's a **Runtime-Configuration Factory**. Harness generates agent team architectures (team structure, message protocols, review gates) — it's a **Team-Architecture Factory**. They are **neighbor sub-layers of the same L3 Meta-Factory** and serve different needs. Pick Archon for runtime determinism, Harness for team-architecture patterns, or combine them (design architecture with Harness → deploy runtime with Archon).\n\n**Evidence:**\n- Archon self-definition: [clawfit docs/reference-levels.md](https://github.com/hongsw/clawfit/blob/main/docs/reference-levels.md)\n- Sub-layer declaration: see the **Category — Where Harness Sits** section above\n- Archon repo: [github.com/coleam00/Archon](https://github.com/coleam00/Archon)\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cb\u003eQ3. Isn't \"Claude Code only\" too narrow? What about Gemini/Codex?\u003c/b\u003e\u003c/summary\u003e\n\n**A.** Currently the official runtime is Claude Code only. A Codex port of the same concept — [SaehwanPark/meta-harness](https://github.com/SaehwanPark/meta-harness) — is already public, so Codex teams can start there. Harness chose \"Claude-Code-native, deep\" over \"multi-runtime, shallow\"; cross-runtime collaboration with sibling repos (meta-harness, harness-init, OpenRig) is on the roadmap.\n\n**Evidence:**\n- Codex port: [github.com/SaehwanPark/meta-harness](https://github.com/SaehwanPark/meta-harness)\n- Cross-runtime scaffolder: [github.com/Gizele1/harness-init](https://github.com/Gizele1/harness-init)\n\u003c/details\u003e\n\n## License\n\nApache 2.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frevfactory%2Fharness","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frevfactory%2Fharness","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frevfactory%2Fharness/lists"}