shinka-convert

shinka-convert is a skill for Claude Code, Codex from SakanaAI/ShinkaEvolve. It costs 72 tokens per session (1,453 once invoked), scanned A, original, Apache-2.0.

A skill that packages an existing code project as a ShinkaEvolve task. ShinkaEvolve is a system for testing changes to code and keeping the versions that score better against an evaluation.

In plain words
What is it for?
Use it to snapshot a codebase, add the markers and evaluation files Shinka needs, and create the configuration for running evolution.
Why use it?
It prepares an existing project for automated code optimization without treating it as a brand-new task.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to snapshot a codebase, add the markers and evaluation files Shinka needs, and create the configuration for running evolution.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sakanaai/shinkaevolve/shinka-convert
About the project

ShinkaEvolve is a framework that combines large language models with evolutionary algorithms to improve scientific programs through repeated code variation and evaluation. Researchers and developers use it to explore and optimize code for scientific discovery. Its catalogue skills guide coding agents through setup, conversion, evolution, and result inspection.

SakanaAI/ShinkaEvolve · 1,379 stars · on GitHub · sakanaai.github.io

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add SakanaAI/ShinkaEvolve --skill shinka-convert
Clone the repo
git clone --depth 1 https://github.com/SakanaAI/ShinkaEvolve

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for shinka-convert

README.md
[![agentmods](https://agentmods.dev/badge/skills/sakanaai/shinkaevolve/shinka-convert/github.svg)](https://agentmods.dev/skills/sakanaai/shinkaevolve/shinka-convert)
Your own site
<a href="https://agentmods.dev/skills/sakanaai/shinkaevolve/shinka-convert"><img src="https://agentmods.dev/badge/skills/sakanaai/shinkaevolve/shinka-convert/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for shinka-convert

Your own site · 80×15
<a href="https://agentmods.dev/skills/sakanaai/shinkaevolve/shinka-convert"><img src="https://agentmods.dev/badge/skills/sakanaai/shinkaevolve/shinka-convert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,453 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 59
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00072 $0.01453
Opus 5 $0.00036 $0.00727
Sonnet 5 $0.00014 $0.00291
Haiku 4.5 $0.00007 $0.00145

Measured 11d ago against content hash 88daa14d50f5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

shinka-convert scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/run_evo.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/shinka-convert/SKILL.md · 171 lines

How it starts

The opening of the file, as written. The whole thing — 171 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Shinka Convert Skill

Use this skill to turn an existing project into a Shinka-ready task.

This is the alternative starting point to shinka-setup:

  • shinka-setup: new task from natural-language task description
  • shinka-convert: existing codebase to Shinka task conversion

After conversion, the user should still be able to use shinka-run.

When to Use

Invoke this skill when the user:

  • Wants to optimize an existing script or repo with Shinka/ShinkaEvolve
  • Mentions adapting current code to Shinka output signatures, metrics.json, correct.json, or EVOLVE-BLOCK markers
  • Wants a sidecar Shinka task generated from the current working directory

Do not use this skill when:

  • The user wants a brand-new task scaffold from only a natural-language description
  • evaluate.py and initial.<ext> already exist and the user only wants to launch evolution; use shinka-run

User Inputs

Start from freeform instructions, then ask follow-ups only if high-impact details are missing.

Collect:

  • What behavior or file/function to optimize
  • Score direction and main metric
  • Constraints: correctness, runtime, memory, determinism, style, allowed edits
  • Whether original source must remain untouched
  • Any required data/assets/dependencies

Default Output

Generate a sidecar task directory at ./shinka_task/ unless the user requests another path.

The task directory should contain:

  • evaluate.py
  • run_evo.py
  • shinka.yaml
  • initial.<ext>
  • A copied snapshot of the minimal runnable source subtree needed for evaluation

Do not edit the original source tree unless the user explicitly requests in-place conversion.

Workflow

  1. Inspect the current working directory.
    • Identify language, entrypoints, package/module layout, dependencies, and current outputs.
    • Prefer concrete evidence from the code over guesses.
  2. Infer the evolvable region from the user's instructions.
    • If ambiguous, ask targeted follow-ups.
    • Keep the mutable region as small as practical.
  3. Choose the minimal runnable snapshot scope.
    • Copy only the source subtree needed to execute the task in isolation.
    • Avoid repo-wide snapshots unless imports/runtime make that necessary.
  4. Create the sidecar task directory.
    • Default: ./shinka_task/
    • Avoid overwriting an existing task dir without consent.
  5. Rewrite the snapshot into a stable Shinka contract.
    • Preserve original behavior outside the evolvable region.
    • Keep CLI behavior intact where practical.
    • Ensure the evolvable candidate entry file is named initial.<ext> so shinka-run can detect it.
    • Add tight EVOLVE-BLOCK-START / EVOLVE-BLOCK-END markers.
  6. Generate the evaluator path.
    • Python: prefer exposing run_experiment(...) and use run_shinka_eval.
    • Non-Python: use subprocess and write metrics.json plus correct.json.
  7. Generate run_evo.py and shinka.yaml.
    • Ensure init_program_path and language match the candidate file.
    • Keep the output directly compatible with shinka-run.
  8. Smoke test before handoff.
    • Run python evaluate.py --program_path <initial file> --results_dir /tmp/shinka_convert_smoke
    • Confirm evaluator runs without exceptions.
    • Confirm required metrics/correctness outputs are written.
  9. Ask the user for the next step.
    • Either run evolution manually
    • Or use the shinka-run skill

Read the full file on GitHub · 171 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 171 lines · 72 tokens per session scan A 88daa14d50f5

Subscribe to this mod's changes

shinka-convert is a skill published in the GitHub repository SakanaAI/ShinkaEvolve (1,379 stars, last pushed 20d ago), licensed Apache-2.0. It adds 72 tokens to every session and 1,453 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

research-engineer

An uncompromising Academic Research Engineer. Operates with absolute scientific rigor, objective criticism, and zero flair. Focuses on theoretical correctness, formal verification, and optimal implementation across any required technology.

davila7/claude-code-templates · 43 tokens

tika-eval-compare

Compare extracts from two Tika builds over a corpus to detect regressions in content, encoding, exceptions, and embedded-document handling. Use for "compare before/after extracts", "eval this change against the corpus".

apache/tika · 50 tokens

neuron-evaluation-engineer

Create and run AI evaluations with datasets, assertions, and output drivers in Neuron AI. Use this skill whenever the user mentions evaluation, testing AI systems, creating evaluators, dataset-driven testing, assertion-based validation, or wants to measure AI system performance. Also trigger for tasks involving…

neuron-core/neuron-ai · 77 tokens

jetson-validate-image

Use after jetson-flash-image to run static BSP checks, on-target smoke/regression tests on a flashed DUT, or both. Not for build or flash steps. Triggers: validate bsp, on-target validation.

NVIDIA/skills · 50 tokens

atmos-validation

Validate Atmos projects, components, arbitrary JSON Schema inputs, EditorConfig, and GitHub Actions; use affected-file selection and native CI annotations.

cloudposse/atmos · 31 tokens

skill-benchmark

Benchmark AI skill effectiveness by measuring implementation quality against legacy constraints.

HoangNguyen0403/agent-skills-standard · 16 tokens