darwinian-evolver

Evolve prompts, regex, SQL, and code via an LLM-driven evolutionary search loop.

3|1|Updated May 19, 2026
One-click install
npx skills add https://github.com/Quill-Agent/Quill-Agent --skill darwinian-evolver-quill-agent
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: darwinian-evolver
Source: https://github.com/Quill-Agent/Quill-Agent/tree/main/optional-skills/research/darwinian-evolver
Command: npx skills add https://github.com/Quill-Agent/Quill-Agent --skill darwinian-evolver-quill-agent

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires darwinian_evolver, and includes scripts (resource) and references (resource) components.

What problem does it solve?

The darwinian-evolver Skill solves the problem of optimizing prompts, regular expressions, SQL queries, and code snippets by using an evolutionary search loop powered by an LLM.

Core Features & Use Cases

  • Evolutionary Search Loop: Run an LLM-driven evolutionary search loop to optimize a prompt, regex, SQL query, or code snippet against a fitness function.
  • Problem Definition: Allows users to define a Problem with an Organism, Evaluator, and Mutator to guide the evolutionary process.
  • Use Case: For example, evolve a regex to filter out unwanted entries from a dataset or optimize a SQL query for performance.

Quick Start

Run the darwinian-evolver skill to optimize a regex pattern for filtering out unwanted entries from your dataset.

Frequently Asked Questions about darwinian-evolver

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How does evolutionary search optimize LLM prompts and SQL queries?

Evolutionary search optimizes LLM prompts and SQL queries by running an iterative, LLM-driven loop that refines candidates against a defined fitness function. You define a Problem with an Organism, Evaluator, and Mutator to guide the evolutionary process toward optimal results.

What do I need to run an LLM-driven evolutionary search loop for code optimization?

To run an LLM-driven evolutionary search loop for code optimization, you need Python 3.11, git, uv, and one of the following API keys: OPENROUTER_API_KEY, ANTHROPIC_API_KEY, or OPENAI_API_KEY to execute the optimization process.

Can I use evolutionary search to optimize regex patterns for filtering datasets?

Yes, you can use evolutionary search to optimize regex patterns for filtering datasets. The darwinian-evolver skill specifically supports evolving regular expressions to effectively filter out unwanted entries from your dataset through iterative refinement.

What is the best way to iteratively refine code snippets against a fitness function?

The best way to iteratively refine code snippets against a fitness function is using an LLM-driven evolutionary search loop. This approach targets optimization tasks by defining a Problem with an Organism, Evaluator, and Mutator to guide continuous improvement.

When should I use an evolutionary search loop instead of manual prompt engineering?

You should use an evolutionary search loop instead of manual prompt engineering when your optimization task requires iterative refinement against a specific fitness function. It automates the evolution of prompts, regex, SQL, and code, which is inefficient to refine manually.