[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-115107":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":8,"htmlUrl":8,"language":9,"languages":8,"totalLinesOfCode":8,"stars":10,"forks":11,"watchers":12,"openIssues":13,"contributorsCount":13,"subscribersCount":13,"size":13,"stars1d":13,"stars7d":13,"stars30d":13,"stars90d":13,"forks30d":13,"starsTrendScore":13,"compositeScore":14,"rankGlobal":8,"rankLanguage":8,"license":15,"archived":16,"fork":16,"defaultBranch":17,"hasWiki":18,"hasPages":16,"topics":19,"createdAt":8,"pushedAt":20,"updatedAt":21,"readmeContent":22,"aiSummary":23,"trendingCount":13,"starSnapshotCount":13,"syncStatus":24,"lastSyncTime":25,"discoverSource":26},115107,"robot-skill-factory","IoET-y\u002Frobot-skill-factory","IoET-y",null,"Python",59,1,57,0,37,"Apache License 2.0",false,"main",true,[],"2026-11-10 05:14:12","2026-11-23 17:15:14","# Robot Skill Factory\n\n**Towards recursive self-improvement in humanoid control.** *Making the next robot skill easier to learn than the last.*\n\n![Robot Skill Factory architecture: a shared registry connects the LLM planner, skill acquisition and ORCHESTRA execution](docs\u002Fmedia\u002Farchitecture.png)\n\n*The architecture (Figure 2 of the technical report). A shared registry connects the LLM planner, skill acquisition and ORCHESTRA execution; a newly trained tracker is promoted automatically, by fixed rules. Videos of the factory learning a climb no registered skill could do, of a whole simulated work day and of one policy in four simulators are in the [v1.0.0 release](https:\u002F\u002Fgithub.com\u002FIoET-y\u002Frobot-skill-factory\u002Freleases\u002Ftag\u002Fv1.0.0).*\n\nRobot Skill Factory turns motion data, interaction demonstrations and videos of people into **skills**: registered, tested units of robot behavior. **ORCHESTRA** runs those skills one after another in one continuously running physics simulation. A language-model planner turns requests in plain English into plans. When a request needs a skill the robot does not have, the factory learns it, checks that nothing the robot could already do got worse, and the planner tries again. While the robot has no task, it watches people on video and learns their motions.\n\nEverything here runs in simulation: a Unitree G1 humanoid in MuJoCo Warp \u002F mjlab. This is research code. The technical report describes the system and every result, with the seeds and limits of each:\n\n**Di Yang. *Robot Skill Factory: Towards Recursive Self-Improvement in Humanoid Control.* Technical report v1.0, 2026.** ([PDF](https:\u002F\u002Fgithub.com\u002FIoET-y\u002Frobot-skill-factory\u002Freleases\u002Fdownload\u002Fv1.0.0\u002Frobot-skill-factory-technical-report-v1.0.pdf))\n\nWork extending the factory to **manipulation policies** is under way, led by [Junzhou Chen](https:\u002F\u002Fjunzhouchen.com\u002F). Stay tuned.\n\n**An early release.** This is our first open version of a long-term project, and much of it is still rough. We welcome suggestions and issues, and we are looking for people who would like to build it together: other robot embodiments, other policy families such as VLAs and WAMs, and running the loop on real robots.\n\n\n## How it fits together\n\n```\n request in English ──▶ planner (Claude Haiku 5.5, tool calls) ──▶ plan ──▶ ORCHESTRA: one simulation, no resets,\n        ▲                    │  a skill is missing                         32 randomized worlds per run\n        │ tries again        ▼                                                 ▲\n        └──────────── Skill Factory: search ─▶ probe ─▶ train if needed ─▶ check for regressions ─▶ register\n                          ▲                ▲                         ▲\n            motion library (BONES-SEED,    interaction library      videos of people (GEM-X ─▶ SOMA\n            LAFAN1)                        (OmniRetarget)           ─▶ soma-retargeter ─▶ G1)\n```\n\n- **Body skills** are clips tracked by one motion-tracking policy (InstantTrack v1.3). Learning a new body skill means probing that tracker on the new motion and, if needed, fine-tuning it with replay of what it already knows. Each robot has one current tracker, named in `registry\u002Ftracker.json`; a newly trained tracker replaces it only after a regression gate (below). It covers body skills only: walking is a separate policy, and every interaction skill has its own policy.\n- **Interaction skills** (carrying a box, climbing onto blocks) have their own policies, trained on the interaction clip and handed over to and from the walking policy.\n- **ORCHESTRA** composes a plan: tracker skills, walking (a separate walking policy, closed-loop `walk_to`) and interaction steps. Each world is placed once at the start; after that no reset and no state write is allowed, and every run counts them.\n\n## Results at a glance\n\nNumbers are in randomized worlds (mass, friction, gains), from one seed unless noted. \"New\" means the motion was never in the tracker's training set. The letter is the experiment's: [docs\u002Freproduce.md](docs\u002Freproduce.md) has the commands for each, and the technical report the details.\n\n| what | result | exp. |\n|---|---|---|\n| Motion tracker on 40 LAFAN1 clips (RTX 4090) | return ≥ 0.82 after about 3 min of training, about 0.86 at the end, 0 of 40 clips failed | A |\n| Plans of registered skills in one continuous run | 896\u002F896 worlds completed over 7 plans of 3–16 steps, up to 100 s; 0 resets, 0 state writes | E |\n| Any skill after any other (16 skills, 256 ordered pairs, 32 worlds each) | 8192\u002F8192 completed | F |\n| Hand-over between the tracker and a walking policy (skill → walk, turn, stop → skill) | 448\u002F448 worlds completed, 0 falls | D, G |\n| Plain English → plan (Claude Haiku 5.5) | 60 sessions: the right kind of outcome in 59\u002F60 (requests it cannot serve get no plan 6\u002F6); 424\u002F424 planned runs completed; $0.20 in total | I |\n| A large motion library (BONES-SEED, 129,485 clips) | tracker fine-tuned in 13 shards of 0.1 h: held-out kinds of motion 0.827 → 0.901 | L |\n| Self-improvement: request → missing skill → learn → plan again | \"stand up from kneeling\": trained 6.6 min, held-out actors 0.734 → 0.817, 0 falls; the plan then ran 32\u002F32, 11 min 46 s from request to execution | M |\n| Bigger library, new skills | at fixed training, zero-shot return on 112 held-out kinds rises with library size (1k → 60k clips: 0.840 → 0.908) | O |\n| Kinds of motion vs clips, each at a fixed size (2 seeds) | at 10,000 clips, 500 → 935 kinds: 0.851 → 0.900, then flat up to 3,376 kinds; at 1,000 kinds, 3k → 10k → 30k clips: 0.884 → 0.902 → 0.905 | U5 |\n| Real cost of a new skill (30 new kinds, the factory's own procedure) | 4.2 min per kind from a tracker trained on 40 clips, 2.7 min from one trained on 127k: more kinds need no training (19 → 23 of 30); a training takes about 10.5 min either way | U3 |\n| Replaying earlier acquisitions (controlled, 3 seeds) | the earliest acquisition ends at 0.826–0.833 with replay, 0.722–0.800 without; unrelated held-out kinds unchanged | U2 |\n| Box carrying (6 skills) | walk to the box, carry, put down, walk back: 32\u002F32 worlds; box 5–8 cm from its target | N, S |\n| Interaction self-improvement: a wall no registered skill was made for | the factory learns the climb in stages and the same plan runs again after each: 7\u002F32 → 30\u002F32 successes, 76 min from the request, no person involved (a harder platform with a jump stayed at 0\u002F32) | S |\n| A work day: 7 requests and an idle hour, run back to back | 7\u002F7 tasks done (each 32\u002F32 worlds); 7 new skills during the day (5 from videos watched while idle, 1 gesture from the motion library in 51 s, 1 climb learned in stages); planner $0.08 | S |\n| Climbing (5 skills, from OmniRetarget's terrain clips) | walk to the terrain, climb (step over, climb on, vault, jump down), stand: each 32\u002F32 worlds with two seeds (320\u002F320) | T |\n| Sim-to-sim, same policy and deployment code | return on 108 clips the tracker never trained on: training simulator 0.926, MuJoCo CPU 0.925, Genesis 0.926, Isaac Sim 0.920; also a second robot (Unitree H1-2) | P |\n| Video of a person → G1 skill | 5 Creative Commons web videos → 5 skills, 6–8 min each, each 32\u002F32 in ORCHESTRA | Q |\n| System benchmark ([rsf-bench v0](bench\u002FREADME.md), 37 requests) | frozen planner 21\u002F37, factory 31\u002F37, factory that keeps what it learned 30\u002F37; a request reusing earlier acquisitions 688 s → 27 s | U6 |\n| Automatic promotion in a chain of 7 planner requests | 4 trackers promoted, 1 rejected because it had forgotten the previous request's skill (28\u002F32 → 0\u002F32 worlds) | U7 |\n\nThe rules behind these numbers:\n\n1. **No reset, no teleport during a run.** After the start, nothing writes the robot's or an object's state; every summary counts resets and state writes, and both must be 0.\n2. **Failures are counted, not dropped.** Statistics and videos include failed trials; a video says which world it shows and that it was not picked.\n3. **Trained and new motions are reported apart.** Every evaluation says whether a motion was in the tracker's training set.\n4. **Code is separate from data and weights.** Datasets, checkpoints and videos are not in git; the registry records paths and licenses.\n\n## Getting started\n\nRequirements: Linux x86_64, an NVIDIA GPU with 24 GB or more (developed on an RTX 4090), driver 570 or newer (CUDA 12.8), `git`, [`uv`](https:\u002F\u002Fdocs.astral.sh\u002Fuv\u002F), `curl`, `ffmpeg`, and about 30 GB of disk. The unit tests also run without a GPU.\n\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002FIoET-y\u002Frobot-skill-factory.git\ncd robot-skill-factory\n\n# 1. The two motion trackers at the tested commits (BlinkMimic d264658, InstantTrack 9474e74) in third_party\u002F, their\n#    environments exactly as their lock files pin them (mjlab 1.6.0, MuJoCo Warp, torch 2.9.0; about 8 GB), and the G1\n#    model with 40 LAFAN1 clips retargeted to the G1 (about 110 MB).\nscripts\u002Fsetup.sh\n\n# 2. The trained policies of the GitHub release (WEIGHTS.md), checked against its SHA256SUMS. The current tracker, the\n#    walking policy and the interaction skills use them when their local checkpoints are not there.\nscripts\u002Fdownload_weights.sh\n\n# 3. The smoke test: stand -> walk -> walk -> run, registered skills in one continuous run, 16 worlds, about 20 s of GPU.\n#    Writes runs\u002Fsmoke-\u003Ctime>\u002Fsummary.json and smoke.mp4; passes when both red-line counters are 0.\nmake smoke\n\n# 4. The interaction skills' data: the OmniRetarget dataset (MIT, about 340 MB, every file checked against the\n#    dataset's own hashes), its index, and the clips of the 12 registered interaction skills converted for ORCHESTRA.\n#    CPU, about 2 minutes.\npython3 scripts\u002Finteraction_data.py\n\n# 5. One box plan and one climbing plan, 32 randomized worlds each, with a video of world 0.\nOUT=runs\u002Fbox scripts\u002Forchestra.sh plans\u002Fn_box_carry.json -- --worlds 32 --offset 1 --dr --seed 0\nOUT=runs\u002Fclimb scripts\u002Ft_orchestra.sh plans\u002Ft_climb_high_c26.json -- --worlds 32 --offset 1 --dr --seed 0\n\n# The unit tests (CPU; tests whose data is not here skip themselves). CI runs them on every push.\nscripts\u002Frsf-run --with pytest python -m pytest tests\u002F\n```\n\nOn a fresh clone of this repository with the release's files, these steps gave: the smoke test PASS, 16\u002F16 worlds, body error per step 1.8 \u002F 1.7 \u002F 2.1 cm; the box plan 32\u002F32 worlds, the box carried in 32\u002F32; the climb 32\u002F32; no reset, robot state write or object state write in any run; the unit tests 165 passed and 1 skipped (it needs the walking policy's training run). With nothing but step 1 and no GPU, as CI runs them: 154 passed, 12 skipped.\n\nOur code runs inside the tracker's environment (`scripts\u002Frsf-run python ...`), and every GPU job takes a file lock (`flock \u002Ftmp\u002Frsf-gpu.lock ...`), so several jobs can be queued on one GPU.\n\nRed line 3 holds with the released weights too: `weights\u002Fg1_tracker.lineage.json.gz` names every motion file the tracker was trained on (127,355 files of a chain of 20 training runs), so every run reports which motions were in the tracker's training set. `scripts\u002Frsf-run python -m rsf.lineage show` prints the tracker's whole lineage.\n\n### What needs what\n\n| to run | you need |\n|---|---|\n| the smoke test, the 22 body skills made from LAFAN1, the registry's plans | steps 1-3 |\n| the 12 interaction skills (6 box, 6 climbing) | step 4 |\n| the 11 body skills made from BONES-SEED, the motion library, the factory's training | BONES-SEED (request access on Hugging Face; Bones Studio's terms), then its conversion ([docs\u002Freproduce.md](docs\u002Freproduce.md), L). A plan that uses a skill whose motion is missing stops before it runs and names the dataset. |\n| the 6 body skills made from videos of people | their motions are not distributed; [docs\u002Freproduce.md](docs\u002Freproduce.md) (Q) makes them again from the videos (GEM-X, SOMA, soma-retargeter) |\n| the planner (plain English to plans) | an Anthropic API key: `export ANTHROPIC_API_KEY=...`, read from the environment only |\n| sim-to-sim in Genesis and Isaac Sim | their environments ([docs\u002Freproduce.md](docs\u002Freproduce.md), P); Isaac Sim under NVIDIA's license, accepted by you |\n\nThe released trackers hold the policy only, not the optimizer state, so the factory cannot warm-start training from them; it trains from a checkpoint of your own training run (`scripts\u002Fa_train_eval.sh instanttrack 0` trains a LAFAN1 tracker in about 5 minutes on an RTX 4090).\n\n### More\n\n```bash\n# A request in plain English -> plan -> ORCHESTRA -> video (needs ANTHROPIC_API_KEY)\nscripts\u002Fi_plan_run.sh \"Walk forward two meters, then jump once.\"\n\n# The self-improvement loop (needs ANTHROPIC_API_KEY and BONES-SEED): plan, learn what is missing, check, plan again, run\nscripts\u002Frsf-run --with anthropic python -m rsf.factory loop \"Kneel down, then stand up and walk two meters.\"\n\n# Idle-time learning from videos of people (needs GEM-X): download, convert, learn, check, demo video\npython3 scripts\u002Fq_watch.py examples\u002Fwatch_list.json --out runs\u002Fwatch\n\n# A whole work day: requests, learning and watching, joined into one video (needs all of the above). Events that name\n# an earlier run with \"from\" reuse it when it is here and run for real otherwise.\npython3 scripts\u002Fs_workday.py examples\u002Fworkday.json --out runs\u002Fworkday\n\n# The system benchmark: three systems on the same 37 requests (bench\u002FREADME.md)\npython3 scripts\u002Fu_bench.py prep && scripts\u002Frsf-run python scripts\u002Fu_bench.py label\n```\n\n### A new tracker replaces the current one only after checks\n\nEach robot has one current tracker (`registry\u002Ftracker.json`). When a request of the self-improvement loop trains it, the loop checks the new tracker against the current one and promotes it automatically if it passes (`--no-auto-promote` leaves it a candidate). Both trackers run the same worlds and clips:\n\n- the registry's plans and every registered body skill alone in ORCHESTRA (32 randomized worlds): each plan may complete at most 1 world fewer, all of them together at most 2 fewer, and no reset or state write is allowed;\n- the forgetting sets (shard 0 and the held-out kinds of the motion library, LAFAN1) and the held-back performers of every earlier acquisition: the return may drop at most 0.02 and the share of failed rollouts rise at most 1 percentage point;\n- the held-back performers of the new motions: the same rule, so no worse.\n\nA tracker that passes replaces the pointer in one atomic step. One that does not leaves the pointer as it is, and the skills that came with it are withheld from the registry, so the registered skills always run with the current tracker. Every promotion, rejection and rollback is recorded in `registry\u002Fpromotions.jsonl` with both trackers' numbers and the time it took. In a chain of seven planner requests on an RTX 4090 (experiment U7), the gate promoted four trackers and rejected one that had forgotten the skill of the request before; it took 11.6 minutes the first time and 6.6–6.8 minutes after that, since a tracker's results are kept and reused.\n\n```bash\nscripts\u002Frsf-run python -m rsf.factory acquire \u003Ckind> --auto-promote   # one acquisition, then the same gate\nscripts\u002Frsf-run python -m rsf.promote auto \u003Ccheckpoint>               # the gate for any tracker\nscripts\u002Frsf-run python -m rsf.promote status\nscripts\u002Frsf-run python -m rsf.promote rollback --reason \"\u003Cwhy>\"       # also withdraws the skills that came with it\n```\n\n## Repository layout\n\n```\nrsf\u002F                 our code: skills and registry, ORCHESTRA, planner, factory, interaction tasks, sim-to-sim, real-to-sim,\n                     checkpoint lineage (lineage.py) and tracker promotion (promote.py)\nscripts\u002F             entry points (prefix = the experiment's letter), setup.sh, download_weights.sh, interaction_data.py, rsf-run\nregistry\u002F            registered skills: body skills (skills\u002F) and interaction skills (interactions\u002F), as JSON manifests;\n                     each robot's current tracker (tracker.json) and its promotions (promotions.jsonl)\nplans\u002F               plan files for ORCHESTRA\nexamples\u002F            the web videos the idle-time learner watched, a work day for scripts\u002Fs_workday.py\nbench\u002F               rsf-bench v0, a system-level benchmark: requests, protocol and metrics\ndocs\u002F                reproduce.md: the commands behind every result; demo caption labels; the README image\ntests\u002F               unit tests (CPU): scripts\u002Frsf-run --with pytest python -m pytest tests\u002F; .github\u002Fworkflows\u002F runs them\nrelease\u002F             the list of released weights (scripts\u002Frelease_weights.py stages them)\npatches\u002F             two small patches to InstantTrack (multi-GPU evaluation probe, experiment R)\nthird_party\u002F data\u002F runs\u002F weights\u002F   upstream clones, data, logs, checkpoints, videos, downloaded weights (not in git)\n```\n\n## Contributing\n\n[CONTRIBUTING.md](CONTRIBUTING.md) says what the code expects when you add a robot, a motion dataset, a policy backend or a way to acquire skills, and what to run before sending a change. The technical report's last chapter lists open directions, and the early-release note at the top says where we would most like help.\n\n## Licenses\n\n- **This repository's code**: [Apache License 2.0](LICENSE). Files derived from InstantTrack (MIT) and Uni-SuperMimic (Apache-2.0) are listed in [THIRD_PARTY_NOTICES.md](THIRD_PARTY_NOTICES.md).\n- **Trained weights** are published with the GitHub release. Each file's license follows from its training data (the trackers are for non-commercial research only); see [WEIGHTS.md](WEIGHTS.md).\n- **Data and models are not included.** You download them under their own terms:\n\n| data or model | license | used for |\n|---|---|---|\n| LAFAN1, retargeted to the G1 | CC BY-NC-ND 4.0; trackers trained on it are for non-commercial research only | the first tracker and its skills |\n| BONES-SEED (Bones Studio) | on request via Hugging Face: academic or qualifying startups, no redistribution | the large motion library |\n| OmniRetarget dataset | MIT | box and climbing skills |\n| Unitree G1 and H1-2 descriptions | BSD-3-Clause | the robots |\n| GEM-X weights (NVIDIA) | NVIDIA Open Model License (allows commercial use; not OSI open source); its person detector was trained on data for non-commercial use | videos of people |\n| Isaac Sim | NVIDIA's license, accepted by you | sim-to-sim |\n| Web videos (experiment Q) | each video's own license. The five watched while idle are CC BY and are credited in the demo. The first video (a dance, `video_dribble_dance`) is linked only. | motions from videos |\n\n## Citation\n\n```bibtex\n@techreport{yang2026robotskillfactory,\n  title       = {Robot Skill Factory: Towards Recursive Self-Improvement in Humanoid Control},\n  author      = {Yang, Di},\n  institution = {Technical report v1.0},\n  year        = {2026},\n  url         = {https:\u002F\u002Fgithub.com\u002FIoET-y\u002Frobot-skill-factory}\n}\n```\n\n## Acknowledgments\n\nThis work builds on [InstantTrack](https:\u002F\u002Fgithub.com\u002FHuy-Quang-Dao\u002FinstantTrack) and [BlinkMimic](https:\u002F\u002Fgithub.com\u002Ffuyichen0725\u002Fblinkmimic) for motion tracking; [mjlab](https:\u002F\u002Fgithub.com\u002Fmujocolab\u002Fmjlab), [MuJoCo](https:\u002F\u002Fgithub.com\u002Fgoogle-deepmind\u002Fmujoco) and MuJoCo Warp for simulation; [Genesis](https:\u002F\u002Fgithub.com\u002FGenesis-Embodied-AI\u002FGenesis) and [Isaac Lab](https:\u002F\u002Fgithub.com\u002Fisaac-sim\u002FIsaacLab) for sim-to-sim; the LAFAN1, BONES-SEED and OmniRetarget datasets; GEM-X, SOMA and soma-retargeter for motions from video; Uni-SuperMimic's BONES-SEED pipeline; and Unitree's robot descriptions.\n","Robot Skill Factory 是一个面向人形机器人技能递归自改进的研究型框架，旨在让机器人持续自主习得新行为技能并避免已有能力退化。其核心功能包括：基于运动捕捉、交互演示和人类视频数据自动提取与注册可复用技能单元；通过LLM（Claude Haiku）规划器将自然语言任务请求解析为技能序列；在连续物理仿真（MuJoCo Warp）中由ORCHESTRA执行器调度运行；当技能缺失时触发自动学习、回归验证与注册闭环。项目完全运行于Unitree G1仿真环境，聚焦技能获取、组合与长期演化的系统架构设计，适用于具身智能、机器人技能学习、仿真驱动的自主行为演化等研究场景。",2,"2026-11-24 04:50:21","CREATED_QUERY"]