Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
memorysaver avatar

Aep Gen Eval

  • 50 installs
  • 14 repo stars
  • Updated July 31, 2026
  • memorysaver/agentic-engineering-patterns

Helps with ai & agent building tasks.

About

aep-gen-eval is a Claude Code skill for ai & agent building. It helps solo builders move faster with AI-assisted development.

  • aep-gen-eval
  • AI & Agent Building
  • AI-coding skill

Aep Gen Eval by the numbers

  • 50 all-time installs (skills.sh)
  • +1 installs in the week ending Aug 4, 2026 (Skillselion tracking)
  • Ranked #7,245 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Aug 4, 2026 (Skillselion catalog sync)
npx skills add https://github.com/memorysaver/agentic-engineering-patterns --skill aep-gen-eval

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs50
repo stars14
Last updatedJuly 31, 2026
Repositorymemorysaver/agentic-engineering-patterns

What it does

Helps with ai & agent building tasks.

Files

SKILL.mdMarkdownGitHub ↗

Generator/Evaluator Pattern

A reusable design pattern for honest evaluation of agent-produced artifacts. Separates the agent that creates work (generator) from the agent that evaluates it (evaluator), because agents consistently praise their own work.

"When asked to evaluate work they've produced, agents tend to respond by confidently praising the work — even when, to a human observer, the quality is obviously mediocre."
— Anthropic, "Harness Design for Long-Running Application Development"

This skill is both a utility library and a standalone skill:

  • As a library: Other skills reference its references/ files for scoring, prompts, protocol, and findings format.
  • As a standalone skill: Invoke directly to run a gen/eval loop on any artifact.

---

How Other Skills Use This

SkillWhat it usesReference files
/aep-build Phase 5Scoring framework + eval protocolscoring-framework.md, eval-protocol.md
/aep-launchDimension presets for brainstormingscoring-framework.md (presets section)
/aep-validateAgent prompts + findings formatagent-contracts.md, findings-format.md, scoring-framework.md

Cross-skill reference paths

After sync with aep- prefix, reference files are at:

.claude/skills/aep-gen-eval/references/scoring-framework.md
.claude/skills/aep-gen-eval/references/agent-contracts.md
.claude/skills/aep-gen-eval/references/eval-protocol.md
.claude/skills/aep-gen-eval/references/findings-format.md

---

The Core Principle

Generator and evaluator must be separate agents. This is not optional — it is the single most impactful quality improvement in agentic workflows.

Why:

1. Agents cannot honestly evaluate their own work (demonstrated by Anthropic research) 2. Self-evaluation produces inflated scores and rationalized problems 3. Separate evaluation catches issues the generator is blind to 4. The cost of a second agent is trivial compared to shipping broken work

Scaling up: generator/evaluator is the canonical instance of _adversarial
verification_. When one task produces many findings/claims that each need an
independent check, `/aep-workflow` generalizes this to a
fan-out of N verifiers/refuters — reusing this skill's scoring framework and
findings format per finding.

---

Reference Files

Read these files for detailed specifications. Each file is self-contained.

FileContentsWhen to read
`references/scoring-framework.md`Dimension definitions (1-5 scale), hard failure thresholds, dimension presets (UI, API, security, data, mixed), few-shot examples, anti-patternsSetting up evaluation criteria, scoring work, calibrating evaluators
`references/agent-contracts.md`Generator/evaluator role separation, prompt templates (generator, evaluator, protocol checker), context assembly rulesSpawning evaluation agents, assembling prompts
`references/eval-protocol.md`Eval request/response format, verification JSON schema, the eval loop (request → response → fix → re-evaluate), execution contexts (Task subagent, codex exec, tmux, workflow), the needs-human gate recordRunning the evaluation loop, tracking verification state
`references/findings-format.md`Severity categorization (blocking/important/minor), deduplication protocol, presentation format, changelog entry formatConsolidating findings from multiple agents, presenting results

---

Standalone Usage

When invoked directly, this skill runs a gen/eval loop on any artifact.

Step 1: Identify the artifact

What is being evaluated? Options:

  • A document (product context, architecture, design doc)
  • Code changes (implementation, PR diff)
  • An OpenSpec change (proposal, design, specs, tasks)
  • A structured file (YAML, JSON config, migration plan)

Step 2: Choose execution mode

ModeAgentsWhen to use
ParallelGenerator + Evaluator spawned simultaneouslyDocuments, designs, product context — agents work independently
SequentialGenerator first, then Evaluator reads generator's workCode review — evaluator needs to see the implementation
LoopGenerator → Evaluator → fix → repeat (max 5 rounds)Active development — generator can fix issues between rounds

Step 3: Configure dimensions

Read references/scoring-framework.md and select the appropriate preset:

  • Code: Completeness, Correctness, UX Quality, Security, Code Quality
  • Product/design: Completeness, Consistency, Implementability, Security, Downstream Compatibility
  • Documents: Accuracy, Executability, Completeness

Or define custom dimensions for the specific artifact.

Step 4: Spawn agents

Read references/agent-contracts.md for prompt templates. Customize the templates with:

  • The artifact content
  • The technical constraints
  • The verification checklist (what the evaluator should check against the codebase)

Step 5: Process results

Read references/findings-format.md for how to consolidate, categorize, and present findings. Apply fixes to the artifact.

---

Design Decisions

Why a utility skill, not just reference files:

  • A utility skill can be invoked directly (/aep-gen-eval) for ad-hoc validation
  • It appears in the skill list, making the pattern discoverable
  • It has its own description for triggering, so agents use it when appropriate
  • The references/ directory is still accessible to other skills via path

Why not merge with `/aep-validate`:

  • /aep-validate is a product-context skill with 4 specific modes (product, design, code, document)
  • The gen/eval pattern is more general — it applies to any evaluation scenario
  • /aep-validate consumes the gen/eval pattern; it is not the pattern itself

Why not keep in `/aep-launch`:

  • Launch only sets up criteria; it doesn't run the pattern
  • The scoring framework is consumed by build, validate, AND launch
  • Keeping it in launch creates a confusing ownership model

---

Next Step

After running gen/eval, proceed based on what was evaluated:

  • Product context → /aep-dispatch
  • Design artifacts → /aep-launch
  • Code → create PR or continue /aep-build
  • Documents → publish or share

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.