shinka-inspect
Extract and package top-ranked Shinka programs into a markdown summary for agent review.
Install
mkdir -p .claude/skills/shinka-inspect && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/16007" && unzip -o skill.zip -d .claude/skills/shinka-inspect && rm skill.zipInstalls to .claude/skills/shinka-inspect
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Load top-performing Shinka programs into agent context using `shinka.utils.load_programs_to_df`, and emit a compact Markdown bundle for iteration planning.Key capabilities
- →Load top-performing Shinka programs into a DataFrame.
- →Rank programs by `combined_score`.
- →Select a specified number of top correct programs.
- →Generate a Markdown bundle with metadata, ranking table, and code snippets.
- →Truncate program code snippets to a maximum character limit.
- →Filter programs by a minimum generation number.
How it works
The skill uses `shinka.utils.load_programs_to_df` to read program records, ranks them by `combined_score`, and generates a Markdown bundle with selected program details.
Inputs & outputs
When to use shinka-inspect
- →Inspecting top programs after an evolution run
- →Creating context files for next-step planning
- →Comparing code snippets from successful runs
About this skill
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_dfto read program records - Ranks programs by
combined_score - Selects top-
kcorrect programs (fallback to top-koverall if no correct rows) - Writes one Markdown bundle with metadata, ranking table, feedback, and code snippets
Workflow
- Confirm run artifacts exist
ls -la <results_dir>
- Generate context bundle
python skills/shinka-inspect/scripts/inspect_best_programs.py \
--results-dir <results_dir> \
--k 5
- 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
- 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 (default5)--out: Output markdown path (default under results dir)--max-code-chars: Per-program code truncation cap (default4000)--min-generation: Optional lower bound on generation--include-feedback/--no-include-feedback: Includetext_feedbackblocks
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).
When not to use it
- →When the user needs to scaffold a task using `shinka-setup`.
- →When the user needs to run evolution batches using `shinka-run`.
- →When a run has not yet produced a results directory and SQLite database.
Limitations
- →The skill requires a run to have already produced a results directory and SQLite database.
- →The ranking metric is `combined_score`.
- →The script is read-only for run artifacts, only writing the markdown bundle.
How it compares
This workflow automates the extraction and bundling of top-performing Shinka programs into a structured Markdown file, providing a compact context artifact for coding agents, unlike manual browsing of the database.
Compared to similar skills
shinka-inspect side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| shinka-inspect (this skill) | 0 | 5mo | Review | Intermediate |
| biorxiv-database | 7 | 9mo | Review | Beginner |
| office-docs | 1 | 6mo | Review | Beginner |
| catalog-extractor | 0 | 1mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
biorxiv-database
lifangda
Efficient database search tool for bioRxiv preprint server. Use this skill when searching for life sciences preprints by keywords, authors, date ranges, or categories, retrieving paper metadata, downloading PDFs, or conducting literature reviews.
office-docs
Xxiii8322766509
Extract text and tables from .docx and .xlsx using local scripts (no external deps).
catalog-extractor
sogrim
Extract academic degree catalogs from Technion PDF course catalogs into structured JSON. Use when asked to extract, parse, or convert a Technion catalog PDF into JSON format.
local-deep-research-guide
wentorai
Deep research agent searching 10+ sources with local or cloud LLMs
document-pro
bighardperson
文档处理技能 - 让 AI 能够读取、解析、提取 PDF、DOCX、PPT 等文档的关键信息。当用户要求分析文档、提取内容、总结报告时触发此技能。
streamlit
sverzijl
When working with Streamlit web apps, data dashboards, ML/AI app UIs, interactive Python visualizations, or building data science applications with Python