darwinian-evolver

Optimize prompts, regex patterns, SQL queries, and code snippets through evolutionary search loops.

Updated Jun 25, 2026
One-click install
npx skills add https://github.com/davpatel605-beep/hermusagent --skill darwinian-evolver-davpatel605-beep
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: darwinian-evolver
Source: https://github.com/davpatel605-beep/hermusagent/tree/main/backend/vendor/hermes/optional-skills/research/darwinian-evolver
Command: npx skills add https://github.com/davpatel605-beep/hermusagent --skill darwinian-evolver-davpatel605-beep

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill helps improve prompts, regex patterns, SQL queries, and small code snippets by automatically searching for better-performing versions instead of relying on manual trial and error.

Core Features & Use Cases

  • Evolutionary Optimization: Runs Imbue's darwinian evolution loop to mutate, evaluate, and rank candidate artifacts against a measurable fitness score.
  • Custom Problem Support: Provides templates and drivers for defining organisms, evaluators, and mutators for different optimization tasks.
  • Use Case: A developer can use this Skill to evolve a prompt template that improves an LLM task success rate using automated mutation and evaluation cycles.

Quick Start

Use the darwinian-evolver skill to optimize my prompt template against a measurable evaluation score.

Frequently Asked Questions about darwinian-evolver

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

FAQPage Schema
How do I automate prompt optimization for LLM tasks?

Automated prompt optimization uses evolutionary search loops to mutate and evaluate candidate prompts against a measurable fitness score. This Skill runs those cycles automatically, ranking mutated prompt versions to improve LLM task success rates without manual trial and error.

Can I use evolutionary search to improve regex patterns and SQL queries?

Evolutionary search can optimize regex patterns and SQL queries by applying automated mutation and evaluation cycles. This Skill evaluates mutated artifacts against defined fitness scores, automatically searching for better-performing versions of your code snippets and queries.

What is evolutionary code improvement and how does it work?

Evolutionary code improvement involves mutating, evaluating, and ranking candidate artifacts against a measurable fitness score through iterative search loops. This Skill applies this mechanism to automatically refine prompts, code snippets, and queries until performance peaks.

Do I need a Python execution environment and model API credentials to run evolutionary optimization?

Evolutionary optimization requires a Python execution environment, supported model API credentials, and evolutionary evaluation logic to function. You must also define organisms, evaluators, and mutators using the provided templates for your specific optimization tasks.

How do I define a fitness score for evolving prompts and code snippets?

Defining a fitness score for evolving prompts requires creating custom evaluators using the provided templates and drivers. This Skill expects you to establish measurable evaluation criteria so the evolutionary loop can automatically rank mutated candidate artifacts by performance.

What are the limitations of using evolutionary search for code and prompt optimization?

Evolutionary search for code and prompt optimization requires measurable fitness scores and custom evaluator definitions to function effectively. Artifacts must be small enough for automated Python execution evaluation, and you need supported model API credentials to run the LLM mutation workflows.