Gan Trinity — AI skill for Claude Code
Three AI agents that check each other — Planner, Generator, Evaluator with contract negotiation.
How to install Gan Trinity
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open xdeqdqyhxcpm/gan-trinity and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Gan Trinity does
Three AI agents that check each other — Planner, Generator, Evaluator with contract negotiation. Multi-agent dev workflow skill for WorkBuddy & Claude Code. 三个 AI 互相独立验收的开发工作流 skill,支持 WorkBuddy 与 Claude Code。
Alternatives in AI
- Cwc Long Running Agents — Claude Code's built-in /goal command gives you a generator/evaluator loop out of the box: set a completion con 668 ★
- AI Career Planner Skill — Claude Code skill: Personalized 6-month plan to land a $100K AI job 151 ★
- Meta Kim — Governance layer for AI coding: meta agents, workflow contract, meta-theory; canonical in .claude/, with gener 106 ★
README
GAN Trinity · 三体
[English](#english) · [中文](#chinese)
English
**Three AI agents that verify each other — so the one writing the code is never the one grading it.**
A multi-agent development workflow skill for **WorkBuddy** and **Claude Code**. It splits a complex task into sprints, and every sprint is handled by three isolated agents in sequence:
Planner (explores the repo) → Contract negotiation → Generator (implements)
→ Evaluator (independently verifies) → Fix loop
Each role runs as a **separate subagent with its own context**. The Evaluator cannot see the Generator's reasoning, so it has no way to rubber-stamp its own work. That's a structural guarantee, not a prompt-level request.
Install
# WorkBuddy
cp -r gan-trinity ~/.workbuddy/skills/
# Claude Code
cp -r gan-trinity ~/.claude/skills/
Use
/gan-trinity
Or just say *"use the trinity workflow to build X"*.
The part that actually matters
Before any code is written, the **Generator proposes acceptance criteria and the Evaluator edits, extends, or rejects them**. This kills ambiguity before implementation starts — and it catches a class of errors that self-review structurally cannot.
Real example: during contract review, the Evaluator blocked a data bug where a generator had mistaken a **filename suffix for a file size** (`Photoshop Temp151073331068` — that trailing number is part of the filename, not the byte count). The wrong derivation happened to produce a plausible-looking result, so no amount of self-checking would have found it. See the [full case study](examples/disk-cleanup-case.md).
When to use it
Good for: scripts, configs, documents, batch jobs, design artifacts — anything that deserves independent quality control.
Not for: typo fixes or one-line changes. Each sprint spawns at least 4 subagents, so it's expensive by design.
**Verification status (tested 2026-09-21)**: Working on WorkBuddy ac
Related Skills
Resume Consultant Harness
Tailored-resume Claude Code skill using Planner → Generator → Evaluator harness with Zero AI Slop policy and i
Skills Travel Planner
开源 AI 路书生成工具 · Cursor/Claude Agent Skill:简版行程表 → tripData.json → 可交付 HTML/PDF。小红书配图、LLM 润色、飞猪酒店数据。Open-source
AI Productivity Assistant Tshepiso
AI Productivity Assistant by Tshepiso - Features Smart Email Generator (formal/informal/persuasive), Meeting N
Nextcore Skills
Skills from a real product, not a demo: Claude Code plugin marketplace with nextcore-design (UI), nextcore-dev
Idea Generator
Generate 10 free newsletter post ideas for The AI Maker that align with our three learning paths:
Macromail.Dev
Free, open-source email for AI agents: agent mailboxes, an MCP server and REST API, sending through your own S
Related Agents
Gan Evaluator
GAN Harness — Evaluator agent. Tests the live running application via Playwright, scores against rubric, and p
Gan Generator
Implement the plan produced by gan-planner against the named files. Returns proposed changes as unified diffs
Generator
Implementation agent that builds continuously from a spec, iterating on evaluator feedback. Use for sustained