[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7F04JS470YJ9VP643RDZ27W":3,"skill-same:01M7F04JS470YJ9VP643RDZ27W":48},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":26,"commitSha":27,"skillDirectory":28,"forksCount":29,"repositoryHtmlUrl":30,"repositoryHomepageUrl":6,"ownerHtmlUrl":31,"ownerBlogUrl":6,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M7F04JS470YJ9VP643RDZ27W","gan-style-harness",null,"GAN-inspired Generator-Evaluator agent harness for building high-quality applications autonomously. Based on Anthropic's March 2026 harness design paper.","lza6\u002FArmor-piercing-system-prompts","lza6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128880206?v=4","01M7EB3K7WPX5T28EJ2NVHE6EG","Chinese-tingfeng","01M7EB3K97E1KQ16QWKJMFNGX8",11,"MIT","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F05-技能与代理开发\u002Fgan-style-harness-everything-claude-code-main\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: gan-style-harness\ndescription: \"GAN-inspired Generator-Evaluator agent harness for building high-quality applications autonomously. Based on Anthropic's March 2026 harness design paper.\"\norigin: ECC-community\ntools: Read, Write, Edit, Bash, Grep, Glob, Task\n---\n\n# GAN-Style Harness Skill\n\n> Inspired by [Anthropic's Harness Design for Long-Running Application Development](https:\u002F\u002Fwww.anthropic.com\u002Fengineering\u002Fharness-design-long-running-apps) (March 24, 2026)\n\nA multi-agent harness that separates **generation** from **evaluation**, creating an adversarial feedback loop that drives quality far beyond what a single agent can achieve.\n\n## Core Insight\n\n> When asked to evaluate their own work, agents are pathological optimists — they praise mediocre output and talk themselves out of legitimate issues. But engineering a **separate evaluator** to be ruthlessly strict is far more tractable than teaching a generator to self-critique.\n\nThis is the same dynamic as GANs (Generative Adversarial Networks): the Generator produces, the Evaluator critiques, and that feedback drives the next iteration.\n\n## When to Use\n\n- Building complete applications from a one-line prompt\n- Frontend design tasks requiring high visual quality\n- Full-stack projects that need working features, not just code\n- Any task where \"AI slop\" aesthetics are unacceptable\n- Projects where you want to invest $50-200 for production-quality output\n\n## When NOT to Use\n\n- Quick single-file fixes (use standard `claude -p`)\n- Tasks with tight budget constraints (\u003C$10)\n- Simple refactoring (use de-sloppify pattern instead)\n- Tasks that are already well-specified with tests (use TDD workflow)\n\n## Architecture\n\n```\n                    ┌─────────────┐\n                    │   PLANNER   │\n                    │  (Opus 4.6) │\n                    └──────┬──────┘\n                           │ Product Spec\n                           │ (features, sprints, design direction)\n                           ▼\n              ┌────────────────────────┐\n              │                        │\n              │   GENERATOR-EVALUATOR  │\n              │      FEEDBACK LOOP     │\n              │                        │\n              │  ┌──────────┐          │\n              │  │GENERATOR │--build-->│──┐\n              │  │(Opus 4.6)│          │  │\n              │  └────▲─────┘          │  │\n              │       │                │  │ live app\n              │    feedback             │  │\n              │       │                │  │\n              │  ┌────┴─────┐          │  │\n              │  │EVALUATOR │\u003C-test----│──┘\n              │  │(Opus 4.6)│          │\n              │  │+Playwright│         │\n              │  └──────────┘          │\n              │                        │\n              │   5-15 iterations      │\n              └────────────────────────┘\n```\n\n## The Three Agents\n\n### 1. Planner Agent\n\n**Role:** Product manager — expands a brief prompt into a full product specification.\n\n**Key behaviors:**\n- Takes a one-line prompt and produces a 16-feature, multi-sprint specification\n- Defines user stories, technical requirements, and visual design direction\n- Is deliberately **ambitious** — conservative planning leads to underwhelming results\n- Produces evaluation criteria that the Evaluator will use later\n\n**Model:** Opus 4.6 (needs deep reasoning for spec expansion)\n\n### 2. Generator Agent\n\n**Role:** Developer — implements features according to the spec.\n\n**Key behaviors:**\n- Works in structured sprints (or continuous mode with newer models)\n- Negotiates a \"sprint contract\" with the Evaluator before writing code\n- Uses full-stack tooling: React, FastAPI\u002FExpress, databases, CSS\n- Manages git for version control between iterations\n- Reads Evaluator feedback and incorporates it in next iteration\n\n**Model:** Opus 4.6 (needs strong coding capability)\n\n### 3. Evaluator Agent\n\n**Role:** QA engineer — tests the live running application, not just code.\n\n**Key behaviors:**\n- Uses **Playwright MCP** to interact with the live application\n- Clicks through features, fills forms, tests API endpoints\n- Scores against four criteria (configurable):\n  1. **Design Quality** — Does it feel like a coherent whole?\n  2. **Originality** — Custom decisions vs. template\u002FAI patterns?\n  3. **Craft** — Typography, spacing, animations, micro-interactions?\n  4. **Functionality** — Do all features actually work?\n- Returns structured feedback with scores and specific issues\n- Is engineered to be **ruthlessly strict** — never praises mediocre work\n\n**Model:** Opus 4.6 (needs strong judgment + tool use)\n\n## Evaluation Criteria\n\nThe default four criteria, each scored 1-10:\n\n```markdown\n## Evaluation Rubric\n\n### Design Quality (weight: 0.3)\n- 1-3: Generic, template-like, \"AI slop\" aesthetics\n- 4-6: Competent but unremarkable, follows conventions\n- 7-8: Distinctive, cohesive visual identity\n- 9-10: Could pass for a professional designer's work\n\n### Originality (weight: 0.2)\n- 1-3: Default colors, stock layouts, no personality\n- 4-6: Some custom choices, mostly standard patterns\n- 7-8: Clear creative vision, unique approach\n- 9-10: Surprising, delightful, genuinely novel\n\n### Craft (weight: 0.3)\n- 1-3: Broken layouts, missing states, no animations\n- 4-6: Works but feels rough, inconsistent spacing\n- 7-8: Polished, smooth transitions, responsive\n- 9-10: Pixel-perfect, delightful micro-interactions\n\n### Functionality (weight: 0.2)\n- 1-3: Core features broken or missing\n- 4-6: Happy path works, edge cases fail\n- 7-8: All features work, good error handling\n- 9-10: Bulletproof, handles every edge case\n```\n\n### Scoring\n\n- **Weighted score** = sum of (criterion_score * weight)\n- **Pass threshold** = 7.0 (configurable)\n- **Max iterations** = 15 (configurable, typically 5-15 sufficient)\n\n## Usage\n\n### Via Command\n\n```bash\n# Full three-agent harness\n\u002Fproject:gan-build \"Build a project management app with Kanban boards, team collaboration, and dark mode\"\n\n# With custom config\n\u002Fproject:gan-build \"Build a recipe sharing platform\" --max-iterations 10 --pass-threshold 7.5\n\n# Frontend design mode (generator + evaluator only, no planner)\n\u002Fproject:gan-design \"Create a landing page for a crypto portfolio tracker\"\n```\n\n### Via Shell Script\n\n```bash\n# Basic usage\n.\u002Fscripts\u002Fgan-harness.sh \"Build a music streaming dashboard\"\n\n# With options\nGAN_MAX_ITERATIONS=10 \\\nGAN_PASS_THRESHOLD=7.5 \\\nGAN_EVAL_CRITERIA=\"functionality,performance,security\" \\\n.\u002Fscripts\u002Fgan-harness.sh \"Build a REST API for task management\"\n```\n\n### Via Claude Code (Manual)\n\n```bash\n# Step 1: Plan\nclaude -p --model opus \"You are a Product Planner. Read PLANNER_PROMPT.md. Expand this brief into a full product spec: 'Build a Kanban board app'. Write spec to spec.md\"\n\n# Step 2: Generate (iteration 1)\nclaude -p --model opus \"You are a Generator. Read spec.md. Implement Sprint 1. Start the dev server on port 3000.\"\n\n# Step 3: Evaluate (iteration 1)\nclaude -p --model opus --allowedTools \"Read,Bash,mcp__playwright__*\" \"You are an Evaluator. Read EVALUATOR_PROMPT.md. Test the live app at http:\u002F\u002Flocalhost:3000. Score against the rubric. Write feedback to feedback-001.md\"\n\n# Step 4: Generate (iteration 2 — reads feedback)\nclaude -p --model opus \"You are a Generator. Read spec.md and feedback-001.md. Address all issues. Improve the scores.\"\n\n# Repeat steps 3-4 until pass threshold met\n```\n\n## Evolution Across Model Capabilities\n\nThe harness should simplify as models improve. Following Anthropic's evolution:\n\n### Stage 1 — Weaker Models (Sonnet-class)\n- Full sprint decomposition required\n- Context resets between sprints (avoid context anxiety)\n- 2-agent minimum: Initializer + Coding Agent\n- Heavy scaffolding compensates for model limitations\n\n### Stage 2 — Capable Models (Opus 4.5-class)\n- Full 3-agent harness: Planner + Generator + Evaluator\n- Sprint contracts before each implementation phase\n- 10-sprint decomposition for complex apps\n- Context resets still useful but less critical\n\n### Stage 3 — Frontier Models (Opus 4.6-class)\n- Simplified harness: single planning pass, continuous generation\n- Evaluation reduced to single end-pass (model is smarter)\n- No sprint structure needed\n- Automatic compaction handles context growth\n\n> **Key principle:** Every harness component encodes an assumption about what the model can't do alone. When models improve, re-test those assumptions. Strip away what's no longer needed.\n\n## Configuration\n\n### Environment Variables\n\n| Variable | Default | Description |\n|----------|---------|-------------|\n| `GAN_MAX_ITERATIONS` | `15` | Maximum generator-evaluator cycles |\n| `GAN_PASS_THRESHOLD` | `7.0` | Weighted score to pass (1-10) |\n| `GAN_PLANNER_MODEL` | `opus` | Model for planning agent |\n| `GAN_GENERATOR_MODEL` | `opus` | Model for generator agent |\n| `GAN_EVALUATOR_MODEL` | `opus` | Model for evaluator agent |\n| `GAN_EVAL_CRITERIA` | `design,originality,craft,functionality` | Comma-separated criteria |\n| `GAN_DEV_SERVER_PORT` | `3000` | Port for the live app |\n| `GAN_DEV_SERVER_CMD` | `npm run dev` | Command to start dev server |\n| `GAN_PROJECT_DIR` | `.` | Project working directory |\n| `GAN_SKIP_PLANNER` | `false` | Skip planner, use spec directly |\n| `GAN_EVAL_MODE` | `playwright` | `playwright`, `screenshot`, or `code-only` |\n\n### Evaluation Modes\n\n| Mode | Tools | Best For |\n|------|-------|----------|\n| `playwright` | Browser MCP + live interaction | Full-stack apps with UI |\n| `screenshot` | Screenshot + visual analysis | Static sites, design-only |\n| `code-only` | Tests + linting + build | APIs, libraries, CLI tools |\n\n## Anti-Patterns\n\n1. **Evaluator too lenient** — If the evaluator passes everything on iteration 1, your rubric is too generous. Tighten scoring criteria and add explicit penalties for common AI patterns.\n\n2. **Generator ignoring feedback** — Ensure feedback is passed as a file, not inline. The generator should read `feedback-NNN.md` at the start of each iteration.\n\n3. **Infinite loops** — Always set `GAN_MAX_ITERATIONS`. If the generator can't improve past a score plateau after 3 iterations, stop and flag for human review.\n\n4. **Evaluator testing superficially** — The evaluator must use Playwright to **interact** with the live app, not just screenshot it. Click buttons, fill forms, test error states.\n\n5. **Evaluator praising its own fixes** — Never let the evaluator suggest fixes and then evaluate those fixes. The evaluator only critiques; the generator fixes.\n\n6. **Context exhaustion** — For long sessions, use Claude Agent SDK's automatic compaction or reset context between major phases.\n\n## Results: What to Expect\n\nBased on Anthropic's published results:\n\n| Metric | Solo Agent | GAN Harness | Improvement |\n|--------|-----------|-------------|-------------|\n| Time | 20 min | 4-6 hours | 12-18x longer |\n| Cost | $9 | $125-200 | 14-22x more |\n| Quality | Barely functional | Production-ready | Phase change |\n| Core features | Broken | All working | N\u002FA |\n| Design | Generic AI slop | Distinctive, polished | N\u002FA |\n\n**The tradeoff is clear:** ~20x more time and cost for a qualitative leap in output quality. This is for projects where quality matters.\n\n## References\n\n- [Anthropic: Harness Design for Long-Running Apps](https:\u002F\u002Fwww.anthropic.com\u002Fengineering\u002Fharness-design-long-running-apps) — Original paper by Prithvi Rajasekaran\n- [Epsilla: The GAN-Style Agent Loop](https:\u002F\u002Fwww.epsilla.com\u002Fblogs\u002Fanthropic-harness-engineering-multi-agent-gan-architecture) — Architecture deconstruction\n- [Martin Fowler: Harness Engineering](https:\u002F\u002Fmartinfowler.com\u002Farticles\u002Fexploring-gen-ai\u002Fharness-engineering.html) — Broader industry context\n- [OpenAI: Harness Engineering](https:\u002F\u002Fopenai.com\u002Findex\u002Fharness-engineering\u002F) — OpenAI's parallel work\n","# GAN-Style Harness Skill\n\n> Inspired by [Anthropic's Harness Design for Long-Running Application Development](https:\u002F\u002Fwww.anthropic.com\u002Fengineering\u002Fharness-design-long-running-apps) (March 24, 2026)\n\nA multi-agent harness that separates **generation** from **evaluation**, creating an adversarial feedback loop that drives quality far beyond what a single agent can achieve.\n\n## Core Insight\n\n> When asked to evaluate their own work, agents are pathological optimists — they praise mediocre output and talk themselves out of legitimate issues. But engineering a **separate evaluator** to be ruthlessly strict is far more tractable than teaching a generator to self-critique.\n\nThis is the same dynamic as GANs (Generative Adversarial Networks): the Generator produces, the Evaluator critiques, and that feedback drives the next iteration.\n\n## When to Use\n\n- Building complete applications from a one-line prompt\n- Frontend design tasks requiring high visual quality\n- Full-stack projects that need working features, not just code\n- Any task where \"AI slop\" aesthetics are unacceptable\n- Projects where you want to invest $50-200 for production-quality output\n\n## When NOT to Use\n\n- Quick single-file fixes (use standard `claude -p`)\n- Tasks with tight budget constraints (\u003C$10)\n- Simple refactoring (use de-sloppify pattern instead)\n- Tasks that are already well-specified with tests (use TDD workflow)\n\n## Architecture\n\n```\n                    ┌─────────────┐\n                    │   PLANNER   │\n                    │  (Opus 4.6) │\n                    └──────┬──────┘\n                           │ Product Spec\n                           │ (features, sprints, design direction)\n                           ▼\n              ┌────────────────────────┐\n              │                        │\n              │   GENERATOR-EVALUATOR  │\n              │      FEEDBACK LOOP     │\n              │                        │\n              │  ┌──────────┐          │\n              │  │GENERATOR │--build-->│──┐\n              │  │(Opus 4.6)│          │  │\n              │  └────▲─────┘          │  │\n              │       │                │  │ live app\n              │    feedback             │  │\n              │       │                │  │\n              │  ┌────┴─────┐          │  │\n              │  │EVALUATOR │\u003C-test----│──┘\n              │  │(Opus 4.6)│          │\n              │  │+Playwright│         │\n              │  └──────────┘          │\n              │                        │\n              │   5-15 iterations      │\n              └────────────────────────┘\n```\n\n## The Three Agents\n\n### 1. Planner Agent\n\n**Role:** Product manager — expands a brief prompt into a full product specification.\n\n**Key behaviors:**\n- Takes a one-line prompt and produces a 16-feature, multi-sprint specification\n- Defines user stories, technical requirements, and visual design direction\n- Is deliberately **ambitious** — conservative planning leads to underwhelming results\n- Produces evaluation criteria that the Evaluator will use later\n\n**Model:** Opus 4.6 (needs deep reasoning for spec expansion)\n\n### 2. Generator Agent\n\n**Role:** Developer — implements features according to the spec.\n\n**Key behaviors:**\n- Works in structured sprints (or continuous mode with newer models)\n- Negotiates a \"sprint contract\" with the Evaluator before writing code\n- Uses full-stack tooling: React, FastAPI\u002FExpress, databases, CSS\n- Manages git for version control between iterations\n- Reads Evaluator feedback and incorporates it in next iteration\n\n**Model:** Opus 4.6 (needs strong coding capability)\n\n### 3. Evaluator Agent\n\n**Role:** QA engineer — tests the live running application, not just code.\n\n**Key behaviors:**\n- Uses **Playwright MCP** to interact with the live application\n- Clicks through features, fills forms, tests API endpoints\n- Scores against four criteria (configurable):\n  1. **Design Quality** — Does it feel like a coherent whole?\n  2. **Originality** — Custom decisions vs. template\u002FAI patterns?\n  3. **Craft** — Typography, spacing, animations, micro-interactions?\n  4. **Functionality** — Do all features actually work?\n- Returns structured feedback with scores and specific issues\n- Is engineered to be **ruthlessly strict** — never praises mediocre work\n\n**Model:** Opus 4.6 (needs strong judgment + tool use)\n\n## Evaluation Criteria\n\nThe default four criteria, each scored 1-10:\n\n```markdown\n## Evaluation Rubric\n\n### Design Quality (weight: 0.3)\n- 1-3: Generic, template-like, \"AI slop\" aesthetics\n- 4-6: Competent but unremarkable, follows conventions\n- 7-8: Distinctive, cohesive visual identity\n- 9-10: Could pass for a professional designer's work\n\n### Originality (weight: 0.2)\n- 1-3: Default colors, stock layouts, no personality\n- 4-6: Some custom choices, mostly standard patterns\n- 7-8: Clear creative vision, unique approach\n- 9-10: Surprising, delightful, genuinely novel\n\n### Craft (weight: 0.3)\n- 1-3: Broken layouts, missing states, no animations\n- 4-6: Works but feels rough, inconsistent spacing\n- 7-8: Polished, smooth transitions, responsive\n- 9-10: Pixel-perfect, delightful micro-interactions\n\n### Functionality (weight: 0.2)\n- 1-3: Core features broken or missing\n- 4-6: Happy path works, edge cases fail\n- 7-8: All features work, good error handling\n- 9-10: Bulletproof, handles every edge case\n```\n\n### Scoring\n\n- **Weighted score** = sum of (criterion_score * weight)\n- **Pass threshold** = 7.0 (configurable)\n- **Max iterations** = 15 (configurable, typically 5-15 sufficient)\n\n## Usage\n\n### Via Command\n\n```bash\n# Full three-agent harness\n\u002Fproject:gan-build \"Build a project management app with Kanban boards, team collaboration, and dark mode\"\n\n# With custom config\n\u002Fproject:gan-build \"Build a recipe sharing platform\" --max-iterations 10 --pass-threshold 7.5\n\n# Frontend design mode (generator + evaluator only, no planner)\n\u002Fproject:gan-design \"Create a landing page for a crypto portfolio tracker\"\n```\n\n### Via Shell Script\n\n```bash\n# Basic usage\n.\u002Fscripts\u002Fgan-harness.sh \"Build a music streaming dashboard\"\n\n# With options\nGAN_MAX_ITERATIONS=10 \\\nGAN_PASS_THRESHOLD=7.5 \\\nGAN_EVAL_CRITERIA=\"functionality,performance,security\" \\\n.\u002Fscripts\u002Fgan-harness.sh \"Build a REST API for task management\"\n```\n\n### Via Claude Code (Manual)\n\n```bash\n# Step 1: Plan\nclaude -p --model opus \"You are a Product Planner. Read PLANNER_PROMPT.md. Expand this brief into a full product spec: 'Build a Kanban board app'. Write spec to spec.md\"\n\n# Step 2: Generate (iteration 1)\nclaude -p --model opus \"You are a Generator. Read spec.md. Implement Sprint 1. Start the dev server on port 3000.\"\n\n# Step 3: Evaluate (iteration 1)\nclaude -p --model opus --allowedTools \"Read,Bash,mcp__playwright__*\" \"You are an Evaluator. Read EVALUATOR_PROMPT.md. Test the live app at http:\u002F\u002Flocalhost:3000. Score against the rubric. Write feedback to feedback-001.md\"\n\n# Step 4: Generate (iteration 2 — reads feedback)\nclaude -p --model opus \"You are a Generator. Read spec.md and feedback-001.md. Address all issues. Improve the scores.\"\n\n# Repeat steps 3-4 until pass threshold met\n```\n\n## Evolution Across Model Capabilities\n\nThe harness should simplify as models improve. Following Anthropic's evolution:\n\n### Stage 1 — Weaker Models (Sonnet-class)\n- Full sprint decomposition required\n- Context resets between sprints (avoid context anxiety)\n- 2-agent minimum: Initializer + Coding Agent\n- Heavy scaffolding compensates for model limitations\n\n### Stage 2 — Capable Models (Opus 4.5-class)\n- Full 3-agent harness: Planner + Generator + Evaluator\n- Sprint contracts before each implementation phase\n- 10-sprint decomposition for complex apps\n- Context resets still useful but less critical\n\n### Stage 3 — Frontier Models (Opus 4.6-class)\n- Simplified harness: single planning pass, continuous generation\n- Evaluation reduced to single end-pass (model is smarter)\n- No sprint structure needed\n- Automatic compaction handles context growth\n\n> **Key principle:** Every harness component encodes an assumption about what the model can't do alone. When models improve, re-test those assumptions. Strip away what's no longer needed.\n\n## Configuration\n\n### Environment Variables\n\n| Variable | Default | Description |\n|----------|---------|-------------|\n| `GAN_MAX_ITERATIONS` | `15` | Maximum generator-evaluator cycles |\n| `GAN_PASS_THRESHOLD` | `7.0` | Weighted score to pass (1-10) |\n| `GAN_PLANNER_MODEL` | `opus` | Model for planning agent |\n| `GAN_GENERATOR_MODEL` | `opus` | Model for generator agent |\n| `GAN_EVALUATOR_MODEL` | `opus` | Model for evaluator agent |\n| `GAN_EVAL_CRITERIA` | `design,originality,craft,functionality` | Comma-separated criteria |\n| `GAN_DEV_SERVER_PORT` | `3000` | Port for the live app |\n| `GAN_DEV_SERVER_CMD` | `npm run dev` | Command to start dev server |\n| `GAN_PROJECT_DIR` | `.` | Project working directory |\n| `GAN_SKIP_PLANNER` | `false` | Skip planner, use spec directly |\n| `GAN_EVAL_MODE` | `playwright` | `playwright`, `screenshot`, or `code-only` |\n\n### Evaluation Modes\n\n| Mode | Tools | Best For |\n|------|-------|----------|\n| `playwright` | Browser MCP + live interaction | Full-stack apps with UI |\n| `screenshot` | Screenshot + visual analysis | Static sites, design-only |\n| `code-only` | Tests + linting + build | APIs, libraries, CLI tools |\n\n## Anti-Patterns\n\n1. **Evaluator too lenient** — If the evaluator passes everything on iteration 1, your rubric is too generous. Tighten scoring criteria and add explicit penalties for common AI patterns.\n\n2. **Generator ignoring feedback** — Ensure feedback is passed as a file, not inline. The generator should read `feedback-NNN.md` at the start of each iteration.\n\n3. **Infinite loops** — Always set `GAN_MAX_ITERATIONS`. If the generator can't improve past a score plateau after 3 iterations, stop and flag for human review.\n\n4. **Evaluator testing superficially** — The evaluator must use Playwright to **interact** with the live app, not just screenshot it. Click buttons, fill forms, test error states.\n\n5. **Evaluator praising its own fixes** — Never let the evaluator suggest fixes and then evaluate those fixes. The evaluator only critiques; the generator fixes.\n\n6. **Context exhaustion** — For long sessions, use Claude Agent SDK's automatic compaction or reset context between major phases.\n\n## Results: What to Expect\n\nBased on Anthropic's published results:\n\n| Metric | Solo Agent | GAN Harness | Improvement |\n|--------|-----------|-------------|-------------|\n| Time | 20 min | 4-6 hours | 12-18x longer |\n| Cost | $9 | $125-200 | 14-22x more |\n| Quality | Barely functional | Production-ready | Phase change |\n| Core features | Broken | All working | N\u002FA |\n| Design | Generic AI slop | Distinctive, polished | N\u002FA |\n\n**The tradeoff is clear:** ~20x more time and cost for a qualitative leap in output quality. This is for projects where quality matters.\n\n## References\n\n- [Anthropic: Harness Design for Long-Running Apps](https:\u002F\u002Fwww.anthropic.com\u002Fengineering\u002Fharness-design-long-running-apps) — Original paper by Prithvi Rajasekaran\n- [Epsilla: The GAN-Style Agent Loop](https:\u002F\u002Fwww.epsilla.com\u002Fblogs\u002Fanthropic-harness-engineering-multi-agent-gan-architecture) — Architecture deconstruction\n- [Martin Fowler: Harness Engineering](https:\u002F\u002Fmartinfowler.com\u002Farticles\u002Fexploring-gen-ai\u002Fharness-engineering.html) — Broader industry context\n- [OpenAI: Harness Engineering](https:\u002F\u002Fopenai.com\u002Findex\u002Fharness-engineering\u002F) — OpenAI's parallel work\n",{"name":5,"tools":24,"origin":25,"description":7},"Read, Write, Edit, Bash, Grep, Glob, Task","ECC-community","main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","05-技能与代理开发\u002Fgan-style-harness-everything-claude-code-main",3,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts","https:\u002F\u002Fgithub.com\u002Flza6","个人vx：Tf00798\r\n个人✈：@TFGY999","2026-10-08 14:29:22",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill gan-style-harness",{"tool":40,"command":41},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill gan-style-harness",{"tool":43,"command":44},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill gan-style-harness","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F05-技能与代理开发\u002Fgan-style-harness-everything-claude-code-main\u002FSKILL.md",true,[],[49,56,61,68,75,82],{"skillNo":50,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":19},"01M7FFG485KY83TD6HSC4YPCMC","obsidian-clipper-template-creator","Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator\u002FSKILL.md",[],[],{"skillNo":57,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":19},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M7FFFY0QEM14SKWPDYGMXM2P","python-api","Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP\u002FmAP semantics, and source-style import diagnostics.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Fpython-api\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M7FFFVZQZ2GJ0C0TGP7JHD20","file-evaluation","Folder-based PASCAL VOC AP\u002FmAP evaluation from ground-truth and detection text files.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Ffile-evaluation\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M7FFFSFNYSE77SJ6PE1CK2DA","object-detection-metrics","Guides legacy Object-Detection-Metrics PASCAL VOC AP\u002FmAP evaluation from detection text folders and direct Python API classes.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M7FFFP0GCK1RVXBCPQ8APBMT","nx-workspace-patterns","Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fnx-workspace-patterns\u002FSKILL.md",[],[]]