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.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "shinka-inspect" with this command: npx skills add sakanaai/shinkaevolve/sakanaai-shinkaevolve-shinka-inspect

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>
  1. Generate context bundle
python skills/shinka-inspect/scripts/inspect_best_programs.py \
  --results-dir <results_dir> \
  --k 5
  1. 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
  1. 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).

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

shinka-run

No summary provided by upstream source.

Repository SourceNeeds Review
General

shinka-convert

No summary provided by upstream source.

Repository SourceNeeds Review
General

shinka-setup

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

openclaw-version-monitor

监控 OpenClaw GitHub 版本更新,获取最新版本发布说明,翻译成中文, 并推送到 Telegram 和 Feishu。用于:(1) 定时检查版本更新 (2) 推送版本更新通知 (3) 生成中文版发布说明

Archived SourceRecently Updated
shinka-inspect | V50.AI