Shinka run

From SakanaAI/ShinkaEvolve · View interactive version

Shinka run is an AI agent skill from the GitHub repository SakanaAI/ShinkaEvolve. Run existing ShinkaEvolve tasks with the `shinka_run` CLI from a task directory (`evaluate.py` + `initial.<ext>`). Use when an agent needs to launch async evolution runs quickly with required `--results_dir`, generation count, and strict namespaced keyword overrides.

How to use this skill

Skill file

Shinka Run CLI Skill

Run a batch of program mutations using ShinkaEvolve's CLI interface.

When to Use

Use this skill when:

Do not use this skill when:

What is ShinkaEvolve?

A framework developed by SakanaAI that combines LLMs with evolutionary algorithms to propose program mutations, that are then evaluated and archived. The goal is to optimize for performance and discover novel scientific insights.

Repo and documentation: https://github.com/SakanaAI/ShinkaEvolve

Paper: https://arxiv.org/abs/2212.04180

Workflow

  1. Inspect task directory
ls -la <task_dir>

Confirm evaluate.py and initial.<ext> exist.

  1. Inspect CLI reference quickly
shinka_run --help
  1. Check model availability before proposing a run
shinka_models
shinka_models --verbose

Validate the exact run config against shinka_models:

Important runtime rules:

  1. Confirm first-batch configuration with the user
  1. Launch main run with explicit knobs
shinka_run \
  --task-dir <task_dir> \
  --results_dir <results_dir> \
  --num_generations 40 \
  --set db.num_islands=3 \
  --set job.time=00:10:00 \
  --set evo.task_sys_msg='<task-specific system message guiding search>'\
  --set evo.llm_models='["gpt-5-mini","gpt-5-nano"]' \
  --set evo.meta_llm_models='["gpt-5-mini"]' \
  --set evo.prompt_llm_models='["gpt-5-mini"]' \
  --set evo.embedding_model='text-embedding-3-small' \
  # Concurrency settings for parallel sampling and evaluation
  --max-evaluation-jobs 2 \
  --max-proposal-jobs 2 \
  --max-db-workers 2
  1. Verify outputs before handoff
ls -la <results_dir>

Expect artifacts like run log, generation folders, and SQLite DBs.

  1. Between-batch handoff (unless explicitly autonomous)

Example next-batch command with feedback-driven prompt:

shinka_run \
  --task-dir <task_dir> \
  --results_dir <results_dir> \
  --num_generations 20 \
  --set evo.task_sys_msg='<new system prompt derived from user feedback>' \
  --set db.num_islands=3

Batch Control Policy (Required)

Treat one shinka_run invocation as one batch of program evaluations/generations.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.