#evaluator optimizer#agent workflow#iteration

Evaluator-Optimizer Agent Pattern

Independent PiSkill directory guide. The original prompt remains hosted by Anthropic Claude Cookbooks.

What does this prompt do?

Implements a generate-review-revise loop in which an evaluator applies explicit criteria and the worker improves output until it passes or reaches a safe limit.

Primary use case

Build an agent that iteratively evaluates and improves work.

Expected output

A bounded evaluator-optimizer workflow.

Inputs or variables

  • task
  • evaluation rubric
  • iteration limit

Related prompts

← Back to Prompt Directory