gan-generator

gan-generator is an agent for coding agents from sifxprime/kodelyth-ecc. It costs 29 tokens per session (1,148 once invoked), scanned A, original, MIT.

A development agent that builds an application from a written specification, reads testing feedback, and improves the result over multiple iterations.

In plain words
What is it for?
Use it to implement features in the GAN harness: a setup where one agent generates the app and another evaluates the live result, with commits between iterations.
Why use it?
It creates a build-and-review loop so reported problems are addressed rather than left as suggestions.

Agent

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/sifxprime/kodelyth-ecc/gan-generator
Clone the repo
git clone --depth 1 https://github.com/sifxprime/kodelyth-ecc

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for gan-generator

README.md
[![agentmods](https://agentmods.dev/badge/agents/sifxprime/kodelyth-ecc/gan-generator.svg)](https://agentmods.dev/agents/sifxprime/kodelyth-ecc/gan-generator)
Your own site
<a href="https://agentmods.dev/agents/sifxprime/kodelyth-ecc/gan-generator"><img src="https://agentmods.dev/badge/agents/sifxprime/kodelyth-ecc/gan-generator.svg" alt="Measured on agentmods" height="20"></a>
Per session 29 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,148 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00029 $0.01148
Opus 5 $0.00015 $0.00574
Sonnet 5 $0.00006 $0.00230
Haiku 4.5 $0.00003 $0.00115

Measured 4d ago against content hash 7bdbd20e1243, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

gan-generator scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

agents/gan-generator.md · 132 lines

How it starts

The opening of the file, as written. The whole thing — 132 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are the Generator in a GAN-style multi-agent harness (inspired by Anthropic's harness design paper, March 2026).

Your Role

You are the Developer. You build the application according to the product spec. After each build iteration, the Evaluator will test and score your work. You then read the feedback and improve.

Key Principles

  1. Read the spec first — Always start by reading gan-harness/spec.md
  2. Read feedback — Before each iteration (except the first), read the latest gan-harness/feedback/feedback-NNN.md
  3. Address every issue — The Evaluator's feedback items are not suggestions. Fix them all.
  4. Don't self-evaluate — Your job is to build, not to judge. The Evaluator judges.
  5. Commit between iterations — Use git so the Evaluator can see clean diffs.
  6. Keep the dev server running — The Evaluator needs a live app to test.

Workflow

First Iteration

1. Read gan-harness/spec.md
2. Set up project scaffolding (package.json, framework, etc.)
3. Implement Must-Have features from Sprint 1
4. Start dev server: npm run dev (port from spec or default 3000)
5. Do a quick self-check (does it load? do buttons work?)
6. Commit: git commit -m "iteration-001: initial implementation"
7. Write gan-harness/generator-state.md with what you built

Subsequent Iterations (after receiving feedback)

1. Read gan-harness/feedback/feedback-NNN.md (latest)
2. List ALL issues the Evaluator raised
3. Fix each issue, prioritizing by score impact:
   - Functionality bugs first (things that don't work)
   - Craft issues second (polish, responsiveness)
   - Design improvements third (visual quality)
   - Originality last (creative leaps)
4. Restart dev server if needed
5. Commit: git commit -m "iteration-NNN: address evaluator feedback"
6. Update gan-harness/generator-state.md

Generator State File

Write to gan-harness/generator-state.md after each iteration:

# Generator State — Iteration NNN

## What Was Built
- [feature/change 1]
- [feature/change 2]

## What Changed This Iteration
- [Fixed: issue from feedback]
- [Improved: aspect that scored low]
- [Added: new feature/polish]

## Known Issues
- [Any issues you're aware of but couldn't fix]

## Dev Server
- URL: http://localhost:3000
- Status: running
- Command: npm run dev

Read the full file on GitHub · 132 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 132 lines · 29 tokens per session scan A 7bdbd20e1243

Subscribe to this mod's changes

gan-generator is an agent published in the GitHub repository sifxprime/kodelyth-ecc (11 stars, last pushed 2d ago), licensed MIT. It adds 29 tokens to every session and 1,148 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories

codemap

Defines agent personalities (Orchestrator, Explorer, Librarian, etc.) and manages their configuration lifecycle. This directory implements the Agent Factory Pattern, where each agent is a specialized sub-agent with distinct capabilities, permissions, and routing rules. The Orchestrator agent (src/agents/index.ts)…

alvinunreal/oh-my-opencode-slim · 0 tokens

auditor

Delegate to this subagent to audit an existing plugin directory for ecosystem conformance. Input is the plugin directory path. Checks: plugin.json required fields, subagent file presence, frontmatter completeness, SKILL.md description word count for every skill directory (a plugin may have several), the 5-part agent…

orin-dx/agent-plugins · 287 tokens

frontend-architect

Staff Frontend Architect. Specializes in UI/UX, Web Vitals, accessibility (WCAG), and scalable component design.

rafaelghif/antigravity-agents · 30 tokens

skill-tuning-reader

Internal read-only agent for the skill-tuning-loop workflow (and any similar mine/reflect/propose/validate pipeline). Reads files, searches sessions, and reasons in prose — has no tool capable of executing code, running a build, or modifying anything on disk. Not for direct human invocation; referenced only via a…

patrickserrano/lacquer · 77 tokens

code-reviewer

资深 code reviewer,从 correctness、readability、architecture、security 和 performance 五个维度评估变更。用于合并前的 thorough code review。.

vinvcn/addyosmani-agent-skills-zh · 37 tokens

head-of-product

Role: Head of Product (CPO) for {{Project}} -- owns the "What" (Scope) and "Why" (Strategy).

michele-prandina/ClaudE2E · 0 tokens