What problem does it solve? Manually iterating on prompts, regex patterns, SQL queries, or code snippets to improve their performance is slow and unsystematic. This Skill automates that optimization by running an evolutionary search loop that mutates candidates, scores them against a fitness function, and selects the best performers over multiple iterations. ## Core Features & Use Cases - LLM-Driven Evolution Loop: Wraps Imbue's darwinian_evolver to iteratively mutate and evaluate an organism (prompt template, regex, SQL query, or code block) against a scored evaluator. - Custom Problem Definitions: Ships a template for defining your own Organism, Evaluator (with trainable and holdout failure cases), and Mutator, plus a working OpenRouter-based driver supporting any model provider. - Snapshot Inspection & Lineage Visualization: Includes a script to dump ranked populations from pickled iteration snapshots and an HTML lineage visualizer for the evolutionary tree. - Use Case: You have a prompt that only sometimes makes an LLM repeat a phrase verbatim. Define exact-match scoring, run 3 iterations with gpt-4o-mini via OpenRouter, and get back 7 evolved prompt templates ranked by score, with the best reaching 0.6–0.8. ## Quick Start Ask the agent to install the darwinian_evolver repo and run the parrot OpenRouter example with your OPENROUTER_API_KEY to evolve a better prompt template.