Agent skill · Code Review & Quality

gan-style-harness

GAN-inspired Generator-Evaluator agent harness for building high-quality applications autonomously. Based on OpenAI's March 2026 harness design paper.

mturacgithub.com/mturacGitHub ↗
codexcopilotcursorMIT
Install
npx skills add mturac/everything-openai-codex --skill gan-style-harness --agent codex

Same command for any agent — swap --agent for claude-code, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 11 KB
Bundled scripts: none
Path: skills/gan-style-harness/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 84
Language: JavaScript

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# GAN-Style Harness Skill > Inspired by [OpenAI's Harness Design for Long-Running Application Development](https://www.openai.com/engineering/harness-design-long-running-apps) (March 24, 2026) A multi-agent harness that separates **generation** from **evaluation**, creating an adversarial feedback loop that drives quality far beyond what a single agent can achieve. ## Core Insight > 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. This is the same dynamic as GANs (Generative Adversarial Networks): the Generator produces, the Evaluator critiques, and that feedback drives the next iteration. ## When to Use - Building complete applications from a one-line prompt - Frontend design tasks requiring high visual quality - Full-stack projects that need working features, not just code - Any task where "AI slop" aesthetics are unacceptable - Projects where you want to invest $50-200 for production-quality output ## When NOT to Use - Quick single-file fixes (use stan

What's inside
Steps it walks through
  1. Core Insight
  2. When to Use
  3. When NOT to Use
  4. Architecture
  5. The Three Agents
  6. 1. Planner Agent
  7. 2. Generator Agent
  8. 3. Evaluator Agent
  9. Evaluation Criteria
  10. Scoring
  11. Usage
  12. Via Command
  13. Via Shell Script
  14. Via OpenAI Codex (Manual)
Commands it runs
Full three-agent harness
With custom config
Frontend design mode (generator + evaluator only, no planner)
Basic usage
With options
Step 1: Plan
Step 2: Generate (iteration 1)
codex -p --model deep "You are a Generator. Read spec.md. Implement Sprint 1. Start the dev server on port 3000."
Step 3: Evaluate (iteration 1)
Step 4: Generate (iteration 2 — reads feedback)
More from everything-openai-codex
All skills →
About this skill
What does the gan-style-harness skill do?

GAN-inspired Generator-Evaluator agent harness for building high-quality applications autonomously. Based on OpenAI's March 2026 harness design paper.

How do I install it?

Run `npx skills add mturac/everything-openai-codex --skill gan-style-harness --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From mturac/everything-openai-codex, a repository with 84 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going