Automatic Prompt Optimization
# Automatic Prompt Optimization — 2026
> **The best prompt writer is now a machine.** Models with evolutionary loops and eval sets rewrite instructions better than expert humans — by a wide margin on hard tasks. The skill is shifting from writing prompts to defining the objectives the optimizer writes against.
## The Shift
In 2026, automatic prompt optimization (APO) has moved from research to production:
- **GEPA** (ICLR 2026): Evolutionary optimizer lifted a CoT program on MATH from 67% → 93% through instruction refinement alone — no few-shot examples, no fine-tuning
- **Shopify**: Moved a GPT-5 prompt to a small open model optimized with GEPA — 75x cheaper, 2x more reliable
- **DSPy ecosystem**: Mature tooling for programmatic prompt optimization
---
## How APO Workswhen to use it
Community prompt sourced from the open-source GitHub repo FreeAutomation-Tech/claude-prompt-kit (MIT). A "Automatic Prompt Optimization" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.
tags
writingcommunitygeneral
source
FreeAutomation-Tech/claude-prompt-kit · MIT
more in Writing
Writing✓ tested
Explain anything to a smart friend
great teacher who refuses to dumb things down
Writing✓ tested
Line-edit my draft (keep my voice)
sharp copy editor who tightens without flattening
Writing✓ tested
Outline a long piece before you write it
editor who structures the argument before a word is drafted