Skip to content
Agent Orchestration
Skill

/shinka-inspect

Load top-performing Shinka programs into agent context using `shinka.utils.load_programs_to_df`, and emit a compact Markdown bundle for iteration planning.

From plugin
shinkaevolve
1.5k4 skills

Claude Code

$ npx -y skills add sakanaai/shinkaevolve --skill shinka-inspect --agent claude-code

SKILL.md

shinka-inspect.SKILL.md
name: shinka-inspect
description: Load top-performing Shinka programs into agent context using `shinka.utils.load_programs_to_df`, and emit a compact Markdown bundle for iteration planning.

Shinka Inspect Skill

Extract the strongest programs from a Shinka run and package them into a context file that coding agents can load directly.

When to Use

Use this skill when:

  • A run already produced a results directory and SQLite database
  • You want to inspect top-performing programs before launching the next batch
  • You want a compact context artifact instead of manually browsing the DB

Do not use this skill when:

  • You still need to scaffold a task (`shinka-setup`)
  • You need to run evolution batches (`shinka-run`)

What it does

  • Uses `shinka.utils.load_programs_to_df` to read program records
  • Ranks programs by `combined_score`
  • Selects top-`k` correct programs (fallback to top-`k` overall if no correct rows)
  • Writes one Markdown bundle with metadata, ranking table, feedback, and code snippets

Workflow

1. Confirm run artifacts exist

ls -la <results_dir>

2. Generate context bundle

python skills/shinka-inspect/scripts/inspect_best_programs.py \
  --results-dir <results_dir> \
  --k 5

3. Optional tuning knobs

python skills/shinka-inspect/scripts/inspect_best_programs.py \
  --results-dir <results_dir> \
  --k 8 \
  --max-code-chars 5000 \
  --min-generation 10 \
  --out <results_dir>/inspect/top_programs.md

4. Load output into agent context

  • Default output path: `<results_dir>/shinka_inspect_context.md`
  • Use it as the context artifact for next-step mutation planning

CLI Arguments

  • `--results-dir`: Path to run directory (or direct DB file path)
  • `--k`: Number of programs to include (default `5`)
  • `--out`: Output markdown path (default under results dir)
  • `--max-code-chars`: Per-program code truncation cap (default `4000`)
  • `--min-generation`: Optional lower bound on generation
  • `--include-feedback` / `--no-include-feedback`: Include `text_feedback` blocks

Notes

  • Ranking metric is `combined_score`.
  • If no correct rows exist, script falls back to top-score rows and labels fallback in output.
  • Script is read-only for run artifacts (writes only the markdown bundle).
Read more
@sakanaai
Ships withshinkaevolve

ShinkaEvolve: Towards Open-Ended and Sample-Efficient Program Evolution 🧬

Stars on GitHub

Momentum

stars in total
1.5k
Star history of sakanaai/shinkaevolve on GitHub, a chart by star-history.com

Other skills on shinkaevolve.

shinka-convert

shinka-convert

Convert an existing codebase in the current working directory into a ShinkaEvolve task directory by snapshotting the relevant…

shinka-run

shinka-run

Run existing ShinkaEvolve tasks with the `shinka_run` CLI from a task directory (`evaluate.py` + `initial.<ext>`). Use when an…

shinka-setup

shinka-setup

Create ShinkaEvolve task scaffolds from a target directory and task description, producing `evaluate.py` and `initial.<ext>`…

More skills from other plugins.

1password

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

clawdis2w393k
@steipete@steipeteInstall Skill
computer-use

computer-use

Drives the GUI of a visible local app window through `orca computer`: accessibility tree, clicks, typing, menus, dialogs, and…

orca2w111k
@stablyai@stablyaiInstall Skill
agentmail

agentmail

Use your assigned AgentMail inbox to read email tasks, explicitly send or reply, and check delivery. Provided automatically by…

paperclip2w109k
@paperclipai@paperclipaiInstall Skill
adr-create

adr-create

Create a new Architecture Decision Record with sequential numbering and AgentDB registration

@ruvnet@ruvnetInstall Skill

Questions about shinka-inspect.

Which coding agents can use shinka-inspect?
shinka-inspect installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.