skill_mint — "earn your place in the catalogue"
Overview
This is the skill that closes the flywheel:
- You collect rollouts under some ad-hoc label (say
handover_block_wip). - Once enough successes have piled up,
skill_mintpromotes that label
into a real task skill directory with SKILL.md + bundle.yaml.
- After minting,
roborsi task list/roborsi plansee the new
task and can use it in long-horizon plans.
The minting step is on purpose explicit — we don't want every label
leaking into the catalogue. You decide when a label has earned it.
Phases
- Scan
DataStore.list(source_label). Abort unless
successes >= min_successes.
- Compute the aggregate meta (backends seen, cameras seen, task names).
- Generate
SKILL.md(kind=task) from a template, filling in
description, backends, frontmatter tags derived from sampled metas.
- Generate
bundle.yamlwith the default pipeline
(expert_replay → lerobot_build → pi0_finetune → evaluate_expert).
- Write under
roborsi/embodied/skills/<domain>/<new_task_name>/.
Success criteria
SKILL.md+bundle.yamlland on disk.discover()after minting returns the new task.
Failure modes
| Symptom | Fix |
|---|---|
| FileExistsError: … already exists | Re-run with overwrite=true, or delete the existing dir. |
| RuntimeError: only N successes, need M | Collect more data before minting. |
Why
Without this skill, "auto-evolution" is aspirational. With it, the
platform can point at its own footprint on disk and say "here are
the N tasks I mastered by myself".