[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7F7NNMY30P6NCFB1K2SWR88":3,"skill-same:01M7F7NNMY30P6NCFB1K2SWR88":62},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":27,"commitSha":28,"skillDirectory":29,"forksCount":30,"repositoryHtmlUrl":31,"repositoryHomepageUrl":6,"ownerHtmlUrl":32,"ownerBlogUrl":6,"ownerDescription":33,"updatedAt":34,"install":35,"resources":47},"01M7F7NNMY30P6NCFB1K2SWR88","motion-retargeting",null,"Prepare SMPL and AMASS assets, fit ASAP humanoid shapes and motions, validate robot motion assets, and visualize retargeted motion in MuJoCo.","lza6\u002FArmor-piercing-system-prompts","lza6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128880206?v=4","01M7EB3K7WPX5T28EJ2NVHE6EG","Chinese-tingfeng","01M7EB3K97E1KQ16QWKJMFNGX8",11,"MIT","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fasap\u002Fsub-skills\u002Fmotion-retargeting\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: motion-retargeting\ndescription: \"Prepare SMPL and AMASS assets, fit ASAP humanoid shapes and\n  motions, validate robot motion assets, and visualize retargeted motion in\n  MuJoCo.\"\ndisable-model-invocation: true\nmetadata:\n  disco-role: operating\nlicense: MIT\n---\n\n# motion-retargeting\n\nUse this sub-skill when an ASAP task is about turning SMPL or AMASS motion into robot motion `.pkl` files, checking robot XML\u002Fmotion config assets, fitting a humanoid shape, retargeting motion, or visualizing retargeted motion with MuJoCo.\n\nRun ASAP retargeting entry points from the repository checkout root. Run bundled validation helpers from the generated ASAP skill root with `--repo-root \u003Casap-checkout>`. If the request is about policy training, checkpoint evaluation, or deployment\u002Fcontrol rather than motion file preparation, route to the sibling skills instead.\n\n## When to use this sub-skill\n\n- Prepare SMPL model files under `humanoidverse\u002Fdata\u002Fsmpl\u002F`.\n- Prepare AMASS-style `.npz` motion files for the ASAP retargeting scripts.\n- Check `robot.motion` config fields, MuJoCo XML, URDF, and mesh layout for a robot such as `g1\u002Fg1_29dof_anneal_23dof`.\n- Run `fit_smpl_shape.py` to create `humanoidverse\u002Fdata\u002Fshape\u002F\u003Chumanoid_type>\u002Fshape_optimized_v1.pkl`.\n- Run `fit_smpl_motion.py` to create per-motion joblib files under `humanoidverse\u002Fdata\u002Fmotions\u002F\u003Chumanoid_type>\u002FTairanTestbed\u002Fsingles\u002F`.\n- Run `vis_q_mj.py` with `+visualize_motion_file=...` to inspect the retargeted motion in MuJoCo.\n\n## Do not use this sub-skill for\n\n- PPO, motion-tracking, locomotion, or delta-action policy training. Use [`..\u002Ftraining-and-evaluation\u002FSKILL.md`](..\u002Ftraining-and-evaluation\u002FSKILL.md).\n- ROS2, Unitree SDK, joystick, ONNX policy runtime, or live robot deployment. Use [`..\u002Fsim2real-deployment\u002FSKILL.md`](..\u002Fsim2real-deployment\u002FSKILL.md).\n- Generic SMPL or AMASS conversion outside the ASAP\u002FHumanoidVerse file layout unless the user explicitly wants to adapt files into ASAP's expected layout.\n\n## Required reading order\n\n1. Read the root ASAP router and install guidance first: [`..\u002F..\u002FSKILL.md`](..\u002F..\u002FSKILL.md) and [`..\u002F..\u002Freferences\u002Finstall-and-backends.md`](..\u002F..\u002Freferences\u002Finstall-and-backends.md).\n2. Read [`references\u002Fworkflows.md`](references\u002Fworkflows.md) for the five-step retargeting flow and exact commands.\n3. Read [`references\u002Fdata-formats.md`](references\u002Fdata-formats.md) before changing file names, joblib keys, or robot config values.\n4. Run the bundled safe checker before expensive fitting:\n\n```bash\npython sub-skills\u002Fmotion-retargeting\u002Fscripts\u002Fvalidate_motion_assets.py \\\n  --repo-root \u003Casap-checkout> \\\n  --robot g1\u002Fg1_29dof_anneal_23dof \\\n  --check-raw\n```\n\n5. If an error occurs, read [`references\u002Ftroubleshooting.md`](references\u002Ftroubleshooting.md), then the root troubleshooting page [`..\u002F..\u002Freferences\u002Ftroubleshooting.md`](..\u002F..\u002Freferences\u002Ftroubleshooting.md) for shared install, Hydra, and backend issues.\n\n## Fast command map\n\nPreflight current G1 assets and a known retargeted motion file:\n\n```bash\npython sub-skills\u002Fmotion-retargeting\u002Fscripts\u002Fvalidate_motion_assets.py \\\n  --repo-root \u003Casap-checkout> \\\n  --robot g1\u002Fg1_29dof_anneal_23dof \\\n  --motion-file humanoidverse\u002Fdata\u002Fmotions\u002Fg1_29dof_anneal_23dof\u002FTairanTestbed\u002Fsingles\u002F0-motions_raw_tairantestbed_smpl_video_side_jump_level4_filter_amass.pkl \\\n  --check-raw\n```\n\nFit robot shape after SMPL files are present:\n\n```bash\npython scripts\u002Fdata_process\u002Ffit_smpl_shape.py +robot=g1\u002Fg1_29dof_anneal_23dof\n```\n\nFit motions after the shape file and raw `.npz` motion files are present:\n\n```bash\npython scripts\u002Fdata_process\u002Ffit_smpl_motion.py +robot=g1\u002Fg1_29dof_anneal_23dof\n```\n\nVisualize one retargeted output:\n\n```bash\npython scripts\u002Fvis\u002Fvis_q_mj.py \\\n  +robot=g1\u002Fg1_29dof_anneal_23dof \\\n  +visualize_motion_file=\"humanoidverse\u002Fdata\u002Fmotions\u002Fg1_29dof_anneal_23dof\u002FTairanTestbed\u002Fsingles\u002F0-motions_raw_tairantestbed_smpl_video_side_jump_level4_filter_amass.pkl\"\n```\n\n## Dependency and asset gates\n\n- The fitting scripts require the normal ASAP Python dependencies plus external `smpl_sim`. ASAP's package metadata includes `hydra-core`, `lxml`, `joblib`, `numpy-stl`, `open3d`, and other scientific dependencies, but `smpl_sim` is a separate required dependency for shape and motion fitting.\n- `fit_smpl_shape.py` and `fit_smpl_motion.py` import `smpl_sim.smpllib.smpl_parser`, `smpl_sim.smpllib.smpl_joint_names`, and, for motion fitting, `smpl_sim.utils.smoothing_utils`.\n- The bundled checker intentionally avoids importing ASAP or `smpl_sim`; it validates file layout and joblib structure without running optimization.\n\n## Expected outputs\n\n- Shape fit output: `humanoidverse\u002Fdata\u002Fshape\u002Fg1_29dof_anneal_23dof\u002Fshape_optimized_v1.pkl`.\n- Retargeted single-motion outputs: `humanoidverse\u002Fdata\u002Fmotions\u002Fg1_29dof_anneal_23dof\u002FTairanTestbed\u002Fsingles\u002F\u003Cmotion-key>.pkl`.\n- A retargeted `.pkl` is a joblib-loaded dictionary. For directory-mode consumers, each file's top-level key should match the file stem. See [`references\u002Fdata-formats.md`](references\u002Fdata-formats.md).\n\n## Cross-links\n\n- Root ASAP skill: [`..\u002F..\u002FSKILL.md`](..\u002F..\u002FSKILL.md).\n- Root install and backend notes: [`..\u002F..\u002Freferences\u002Finstall-and-backends.md`](..\u002F..\u002Freferences\u002Finstall-and-backends.md).\n- Root troubleshooting: [`..\u002F..\u002Freferences\u002Ftroubleshooting.md`](..\u002F..\u002Freferences\u002Ftroubleshooting.md).\n- Training and evaluation: [`..\u002Ftraining-and-evaluation\u002FSKILL.md`](..\u002Ftraining-and-evaluation\u002FSKILL.md) for consuming generated motion files in policy training.\n- Sim2real deployment: [`..\u002Fsim2real-deployment\u002FSKILL.md`](..\u002Fsim2real-deployment\u002FSKILL.md) for MuJoCo\u002FROS2\u002FUnitree runtime control after a policy exists.\n","# motion-retargeting\n\nUse this sub-skill when an ASAP task is about turning SMPL or AMASS motion into robot motion `.pkl` files, checking robot XML\u002Fmotion config assets, fitting a humanoid shape, retargeting motion, or visualizing retargeted motion with MuJoCo.\n\nRun ASAP retargeting entry points from the repository checkout root. Run bundled validation helpers from the generated ASAP skill root with `--repo-root \u003Casap-checkout>`. If the request is about policy training, checkpoint evaluation, or deployment\u002Fcontrol rather than motion file preparation, route to the sibling skills instead.\n\n## When to use this sub-skill\n\n- Prepare SMPL model files under `humanoidverse\u002Fdata\u002Fsmpl\u002F`.\n- Prepare AMASS-style `.npz` motion files for the ASAP retargeting scripts.\n- Check `robot.motion` config fields, MuJoCo XML, URDF, and mesh layout for a robot such as `g1\u002Fg1_29dof_anneal_23dof`.\n- Run `fit_smpl_shape.py` to create `humanoidverse\u002Fdata\u002Fshape\u002F\u003Chumanoid_type>\u002Fshape_optimized_v1.pkl`.\n- Run `fit_smpl_motion.py` to create per-motion joblib files under `humanoidverse\u002Fdata\u002Fmotions\u002F\u003Chumanoid_type>\u002FTairanTestbed\u002Fsingles\u002F`.\n- Run `vis_q_mj.py` with `+visualize_motion_file=...` to inspect the retargeted motion in MuJoCo.\n\n## Do not use this sub-skill for\n\n- PPO, motion-tracking, locomotion, or delta-action policy training. Use [`..\u002Ftraining-and-evaluation\u002FSKILL.md`](..\u002Ftraining-and-evaluation\u002FSKILL.md).\n- ROS2, Unitree SDK, joystick, ONNX policy runtime, or live robot deployment. Use [`..\u002Fsim2real-deployment\u002FSKILL.md`](..\u002Fsim2real-deployment\u002FSKILL.md).\n- Generic SMPL or AMASS conversion outside the ASAP\u002FHumanoidVerse file layout unless the user explicitly wants to adapt files into ASAP's expected layout.\n\n## Required reading order\n\n1. Read the root ASAP router and install guidance first: [`..\u002F..\u002FSKILL.md`](..\u002F..\u002FSKILL.md) and [`..\u002F..\u002Freferences\u002Finstall-and-backends.md`](..\u002F..\u002Freferences\u002Finstall-and-backends.md).\n2. Read [`references\u002Fworkflows.md`](references\u002Fworkflows.md) for the five-step retargeting flow and exact commands.\n3. Read [`references\u002Fdata-formats.md`](references\u002Fdata-formats.md) before changing file names, joblib keys, or robot config values.\n4. Run the bundled safe checker before expensive fitting:\n\n```bash\npython sub-skills\u002Fmotion-retargeting\u002Fscripts\u002Fvalidate_motion_assets.py \\\n  --repo-root \u003Casap-checkout> \\\n  --robot g1\u002Fg1_29dof_anneal_23dof \\\n  --check-raw\n```\n\n5. If an error occurs, read [`references\u002Ftroubleshooting.md`](references\u002Ftroubleshooting.md), then the root troubleshooting page [`..\u002F..\u002Freferences\u002Ftroubleshooting.md`](..\u002F..\u002Freferences\u002Ftroubleshooting.md) for shared install, Hydra, and backend issues.\n\n## Fast command map\n\nPreflight current G1 assets and a known retargeted motion file:\n\n```bash\npython sub-skills\u002Fmotion-retargeting\u002Fscripts\u002Fvalidate_motion_assets.py \\\n  --repo-root \u003Casap-checkout> \\\n  --robot g1\u002Fg1_29dof_anneal_23dof \\\n  --motion-file humanoidverse\u002Fdata\u002Fmotions\u002Fg1_29dof_anneal_23dof\u002FTairanTestbed\u002Fsingles\u002F0-motions_raw_tairantestbed_smpl_video_side_jump_level4_filter_amass.pkl \\\n  --check-raw\n```\n\nFit robot shape after SMPL files are present:\n\n```bash\npython scripts\u002Fdata_process\u002Ffit_smpl_shape.py +robot=g1\u002Fg1_29dof_anneal_23dof\n```\n\nFit motions after the shape file and raw `.npz` motion files are present:\n\n```bash\npython scripts\u002Fdata_process\u002Ffit_smpl_motion.py +robot=g1\u002Fg1_29dof_anneal_23dof\n```\n\nVisualize one retargeted output:\n\n```bash\npython scripts\u002Fvis\u002Fvis_q_mj.py \\\n  +robot=g1\u002Fg1_29dof_anneal_23dof \\\n  +visualize_motion_file=\"humanoidverse\u002Fdata\u002Fmotions\u002Fg1_29dof_anneal_23dof\u002FTairanTestbed\u002Fsingles\u002F0-motions_raw_tairantestbed_smpl_video_side_jump_level4_filter_amass.pkl\"\n```\n\n## Dependency and asset gates\n\n- The fitting scripts require the normal ASAP Python dependencies plus external `smpl_sim`. ASAP's package metadata includes `hydra-core`, `lxml`, `joblib`, `numpy-stl`, `open3d`, and other scientific dependencies, but `smpl_sim` is a separate required dependency for shape and motion fitting.\n- `fit_smpl_shape.py` and `fit_smpl_motion.py` import `smpl_sim.smpllib.smpl_parser`, `smpl_sim.smpllib.smpl_joint_names`, and, for motion fitting, `smpl_sim.utils.smoothing_utils`.\n- The bundled checker intentionally avoids importing ASAP or `smpl_sim`; it validates file layout and joblib structure without running optimization.\n\n## Expected outputs\n\n- Shape fit output: `humanoidverse\u002Fdata\u002Fshape\u002Fg1_29dof_anneal_23dof\u002Fshape_optimized_v1.pkl`.\n- Retargeted single-motion outputs: `humanoidverse\u002Fdata\u002Fmotions\u002Fg1_29dof_anneal_23dof\u002FTairanTestbed\u002Fsingles\u002F\u003Cmotion-key>.pkl`.\n- A retargeted `.pkl` is a joblib-loaded dictionary. For directory-mode consumers, each file's top-level key should match the file stem. See [`references\u002Fdata-formats.md`](references\u002Fdata-formats.md).\n\n## Cross-links\n\n- Root ASAP skill: [`..\u002F..\u002FSKILL.md`](..\u002F..\u002FSKILL.md).\n- Root install and backend notes: [`..\u002F..\u002Freferences\u002Finstall-and-backends.md`](..\u002F..\u002Freferences\u002Finstall-and-backends.md).\n- Root troubleshooting: [`..\u002F..\u002Freferences\u002Ftroubleshooting.md`](..\u002F..\u002Freferences\u002Ftroubleshooting.md).\n- Training and evaluation: [`..\u002Ftraining-and-evaluation\u002FSKILL.md`](..\u002Ftraining-and-evaluation\u002FSKILL.md) for consuming generated motion files in policy training.\n- Sim2real deployment: [`..\u002Fsim2real-deployment\u002FSKILL.md`](..\u002Fsim2real-deployment\u002FSKILL.md) for MuJoCo\u002FROS2\u002FUnitree runtime control after a policy exists.\n",{"name":5,"license":15,"metadata":24,"description":7,"disable-model-invocation":26},{"disco-role":25},"operating",true,"main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","06-前端与设计\u002Fasap\u002Fsub-skills\u002Fmotion-retargeting",3,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts","https:\u002F\u002Fgithub.com\u002Flza6","个人vx：Tf00798\r\n个人✈：@TFGY999","2026-10-08 14:29:22",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":26},[37,40,43],{"tool":38,"command":39},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill motion-retargeting",{"tool":41,"command":42},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill motion-retargeting",{"tool":44,"command":45},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill motion-retargeting","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fasap\u002Fsub-skills\u002Fmotion-retargeting\u002FSKILL.md",[48,54,58],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"references\u002Fdata-formats.md","REFERENCE","参考文档",9116,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fasap\u002Fsub-skills\u002Fmotion-retargeting\u002Freferences\u002Fdata-formats.md",{"path":55,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":56,"sourceHtmlUrl":57},"references\u002Ftroubleshooting.md",9273,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fasap\u002Fsub-skills\u002Fmotion-retargeting\u002Freferences\u002Ftroubleshooting.md",{"path":59,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":60,"sourceHtmlUrl":61},"references\u002Fworkflows.md",7363,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fasap\u002Fsub-skills\u002Fmotion-retargeting\u002Freferences\u002Fworkflows.md",[63,70,75,82,89,96],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M7FFG485KY83TD6HSC4YPCMC","obsidian-clipper-template-creator","Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator\u002FSKILL.md",[],[],{"skillNo":71,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M7FFFY0QEM14SKWPDYGMXM2P","python-api","Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP\u002FmAP semantics, and source-style import diagnostics.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Fpython-api\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M7FFFVZQZ2GJ0C0TGP7JHD20","file-evaluation","Folder-based PASCAL VOC AP\u002FmAP evaluation from ground-truth and detection text files.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Ffile-evaluation\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":19},"01M7FFFSFNYSE77SJ6PE1CK2DA","object-detection-metrics","Guides legacy Object-Detection-Metrics PASCAL VOC AP\u002FmAP evaluation from detection text folders and direct Python API classes.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002FSKILL.md",[],[],{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":19},"01M7FFFP0GCK1RVXBCPQ8APBMT","nx-workspace-patterns","Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fnx-workspace-patterns\u002FSKILL.md",[],[]]