darwinian-evolver

Automates evolutionary search optimization of prompts, regex, SQL, or code snippets.

1|Updated Feb 17, 2026
One-click install
npx skills add https://github.com/brittaniebuffiecsu/zerogravityclaw --skill darwinian-evolver-brittaniebuffiecsu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: darwinian-evolver
Source: https://github.com/brittaniebuffiecsu/zerogravityclaw/tree/main/src/hermes-core/optional-skills/research/darwinian-evolver
Command: npx skills add https://github.com/brittaniebuffiecsu/zerogravityclaw --skill darwinian-evolver-brittaniebuffiecsu

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, regex patterns, SQL queries, or code snippets by using a genetic algorithm-inspired evolutionary search loop.

Core Features & Use Cases

  • Evolutionary Search Loop: Utilizes a LLM-driven evolutionary search loop to optimize against a fitness function.
  • Custom Problem Definition: Allows users to define custom problems with organisms, evaluators, and mutators.
  • Use Case: If you need to optimize a SQL query for performance or evolve a regex to match more patterns, this Skill can help you automate the search for the best solutions.

Quick Start

Install the darwinian-evolver Skill and run it with your custom problem definition and hyperparameters.

Frequently Asked Questions about darwinian-evolver

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

FAQPage Schema
How do I optimize regex patterns or SQL queries automatically?

You can optimize regex patterns or SQL queries by running an evolutionary search loop that iterates against a fitness function. This approach automates the search for better-performing solutions by mutating and evaluating candidate code snippets.

What is evolutionary search for prompt engineering?

Evolutionary search for prompt engineering is a genetic algorithm-inspired process where prompts are treated as organisms. The system mutates and evaluates them against a fitness function to systematically discover optimized prompt variations.

Do I need Python 3.11 to run darwinian-evolver for code optimization?

Yes, you need Python 3.11 or later to run darwinian-evolver for code optimization. You also need specific API keys or environment variables configured to enable LLM access for the evolutionary loop.

Can I define custom fitness functions for code optimization?

Yes, you can define custom fitness functions for code optimization by specifying custom problem definitions. You configure organisms, evaluators, and mutators to guide the evolutionary search loop toward your specific optimization goals.

What's the best way to automate prompt optimization with a genetic algorithm?

Automating prompt optimization with a genetic algorithm is best done by defining custom organisms, evaluators, and mutators. The system uses an LLM-driven evolutionary search loop to automatically evolve and optimize prompts against your fitness function.