shinka-convert
Convert an existing codebase in the current working directory into a ShinkaEvolve task directory by snapshotting the relevant code, adding evolve blocks, and…
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.
$ npx -y skills add sakanaai/shinkaevolve --skill shinka-run --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/shinka-runContext preview
The summary Claude sees to decide when to auto-load this skill.
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.
name: shinka-run description: 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.
Run a batch of program mutations using ShinkaEvolve's CLI interface.
Use this skill when:
Do not use this skill when:
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
1. Inspect task directory
ls -la <task_dir>
Confirm `evaluate.py` and `initial.<ext>` exist.
2. Inspect CLI reference quickly
shinka_run --help
3. Check model availability before proposing a run
shinka_models shinka_models --verbose
Validate the exact run config against `shinka_models`:
Important runtime rules:
4. Confirm first-batch configuration with the user
5. 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
6. Verify outputs before handoff
ls -la <results_dir>
Expect artifacts like run log, generation folders, and SQLite DBs.
7. 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
Treat one `shinka_run` invocation as one batch of program evaluations/generations.
ShinkaEvolve: Towards Open-Ended and Sample-Efficient Program Evolution 🧬
Convert an existing codebase in the current working directory into a ShinkaEvolve task directory by snapshotting the relevant code, adding evolve blocks, and…
Load top-performing Shinka programs into agent context using `shinka.utils.load_programs_to_df`, and emit a compact Markdown bundle for iteration planning.
Create ShinkaEvolve task scaffolds from a target directory and task description, producing `evaluate.py` and `initial.<ext>` (multi-language). Use when asked…