[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7FBZ324P38C70J5NHYNWMWB":3,"skill-same:01M7FBZ324P38C70J5NHYNWMWB":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},"01M7FBZ324P38C70J5NHYNWMWB","isaac-gym-simulation",null,"Operate the Isaac Gym Preview 4 simulation, vectorized locomotion environments, robot assets, terrain, state tensors, effort control, and interactive MPC launcher for this project.","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-前端与设计\u002Frl-mpc-locomotion\u002Fsub-skills\u002Fisaac-gym-simulation\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: isaac-gym-simulation\ndescription: \"Operate the Isaac Gym Preview 4 simulation, vectorized locomotion\n  environments, robot assets, terrain, state tensors, effort control, and\n  interactive MPC launcher for this project.\"\ndisable-model-invocation: true\nmetadata:\n  disco-role: operating\nlicense: MIT\n---\n\n# Isaac Gym simulation\n\nUse this sub-skill when the task involves Isaac Gym setup, PhysX simulation,\nURDF loading, env\u002Factor creation, terrain, state or force data, vectorized RL\nstepping, or the interactive `RL_MPC_Locomotion` launcher. It is a procedural,\ndata-oriented guide: handles create the simulation, while NumPy or PyTorch\narrays\u002Ftensors carry state and commands.\n\n## Required-backend gate\n\n**RL and simulation execution is currently blocked.** The closed-source Isaac\nGym Preview 4 package was unavailable in the construction environment. The\npartial handoff records PyTorch 1.10\u002FCUDA 11.3, an A100 allocation, repository\nimports, `rsl_rl`, and `mpc_osqp` as passing checks; those results do **not**\nprove that Isaac Gym is installed or usable. From this sub-skill's directory, run the bundled diagnostic first:\n\n```bash\npython scripts\u002Fcheck_isaacgym.py\n```\n\nDo not claim that an RL rollout, viewer run, terrain run, or Isaac Gym import\npassed until this gate is cleared with the vendor package and a compatible\nGPU\u002Fruntime. The diagnostic never creates a viewer or simulation.\n\n## Route quickly\n\n- Need the exact lifecycle, API calls, tensor shapes, or viewer loop: read\n  [references\u002Fsimulation-api.md](references\u002Fsimulation-api.md).\n- Need robot selection, URDF\u002Fmesh caveats, ground, or terrain generation: read\n  [references\u002Fassets-and-terrains.md](references\u002Fassets-and-terrains.md).\n- Need a failure diagnosis or a safe stop condition: read\n  [references\u002Ftroubleshooting.md](references\u002Ftroubleshooting.md).\n- Need the PPO\u002FHydra task, checkpoint, observation, or training contract: route\n  to [rl-training](..\u002Frl-training\u002FSKILL.md).\n- Need MPC state conversion, controller modes, gait, or solver behavior: route\n  to [mpc-control](..\u002Fmpc-control\u002FSKILL.md).\n\n## Setup contract\n\nUse Python 3.8 with PyTorch 1.10.0 and CUDA 11.3, Isaac Gym Preview 4, NumPy,\nHydra\u002FOmegaConf, and the pinned `rsl_rl` integration. A compatible NVIDIA\nGPU\u002Fdriver is required for the configured PhysX GPU pipeline; the upgrade notes\ncall out driver 470 or newer. The project normally uses `cuda:0` for both\nsimulation and RL, `physics_engine: physx`, Z-up gravity `[0, 0, -9.81]`,\n`dt: 0.01`, and two substeps. Keep the setup sequence and backend verdict\nexplicit; CUDA-visible PyTorch alone is insufficient.\n\n## Canonical procedural order\n\n1. Acquire a gym handle, create `SimParams`, and set the control timestep,\n   substeps, up-axis, gravity, and PhysX options.\n2. Create the PhysX simulation with compute and graphics device ids. Stop on a\n   null simulation handle.\n3. Add exactly the intended ground plane or triangle terrain before creating\n   environments. Do not silently combine terrain conventions from the\n   interactive and RL paths.\n4. Select one supported URDF, configure `AssetOptions`, load it, inspect DOF\n   and rigid-body names\u002Fcounts, and configure effort properties.\n5. Create the environment grid and one actor per environment. Cache env and\n   actor handles and resolve the `trunk`, foot, thigh, and hip body handles.\n6. Prepare the simulation before acquiring\u002Fwrapping GPU state tensors. Refresh\n   every tensor immediately before reading it.\n7. Create a viewer only when rendering is requested. In each loop apply\n   controls, simulate, fetch results as required by the pipeline, read state,\n   update graphics, and synchronize frame time.\n8. On every exit path stop the gamepad thread, destroy the viewer if created,\n   then destroy the simulation. Use `try\u002Ffinally` in new integrations.\n\n## Control and data rules\n\n- Effort mode is the project default. Set each DOF `driveMode` to\n  `DOF_MODE_EFFORT` and stiffness\u002Fdamping to zero, then apply a complete effort\n  vector every physics frame. Missing a frame does not preserve a safe command.\n- The direct launcher uses structured NumPy state (`pos`, `vel`; body pose,\n  quaternion, linear and angular velocity) and applies per-actor efforts. The\n  RL tasks use `gymtorch` wrappers and batched tensors; do not mix the two\n  contracts without an explicit CPU\u002FGPU conversion.\n- With one actor per env, root state is `(num_envs, 13)` in the order position\n  3, quaternion 4 `(x,y,z,w)`, linear velocity 3, angular velocity 3. DOF state\n  is flattened as `(num_envs * num_dof, 2)` and reshaped to positions and\n  velocities `(num_envs, num_dof)`. Net contacts are `(num_envs, num_bodies,\n  3)`.\n- RL actions are `(num_envs, 12)` and clipped to `[-1, 1]`; observations are\n  `(num_envs, 48)`, commands are `(num_envs, 3)`, rewards\u002Fresets are per-env.\n  The vector task returns `(obs, privileged_obs, rewards, resets, extras)`.\n- The RL observation is base position, body-frame linear\u002Fangular velocity,\n  scaled velocity command, offset DOF position, scaled DOF velocity, and the\n  previous action. The standard simulator must refresh DOF, root, and contact\n  tensors before computing it.\n\n## Interactive launcher contract\n\nThe supported robots are `Aliengo`, `A1`, and `Go1`. The launcher accepts\n`--robot`, `--mode {Fsm,Min,Policy}`, `--num-envs`, `--render-fps`,\n`--disable-gamepad`, and `--checkpoint`. `Policy` consumes a checkpoint; if it\nis omitted, the policy runner resolves the latest project run. `Fsm` is the\nnormal hierarchical controller and `Min` is the minimal MPC runner.\n\nWithout `--disable-gamepad`, an Xbox-like device is required. The left stick\ncommands forward\u002Flateral velocity, the right stick commands yaw, LB cycles\nTrot\u002FWalk\u002FBound, and RB cycles Locomotion\u002FRecovery Stand. LB+RB requests an\nemergency stop; press the left stick to release it. For unattended or\nheadless automation, disable the gamepad and do not create a viewer. The\ninteractive launcher still renders and therefore remains backend-blocked here.\n\n## Completion criteria\n\nA simulation task is complete only when the backend diagnostic passes, asset\npaths and names resolve, the simulation is stepped in the documented order,\nstate refreshes and tensor shapes are checked, and cleanup is observed. If the\nbackend is absent, provide the exact blocked prerequisite and stop; do not\nsubstitute a CPU-only import or a successful MPC build as Isaac Gym evidence.\n","# Isaac Gym simulation\n\nUse this sub-skill when the task involves Isaac Gym setup, PhysX simulation,\nURDF loading, env\u002Factor creation, terrain, state or force data, vectorized RL\nstepping, or the interactive `RL_MPC_Locomotion` launcher. It is a procedural,\ndata-oriented guide: handles create the simulation, while NumPy or PyTorch\narrays\u002Ftensors carry state and commands.\n\n## Required-backend gate\n\n**RL and simulation execution is currently blocked.** The closed-source Isaac\nGym Preview 4 package was unavailable in the construction environment. The\npartial handoff records PyTorch 1.10\u002FCUDA 11.3, an A100 allocation, repository\nimports, `rsl_rl`, and `mpc_osqp` as passing checks; those results do **not**\nprove that Isaac Gym is installed or usable. From this sub-skill's directory, run the bundled diagnostic first:\n\n```bash\npython scripts\u002Fcheck_isaacgym.py\n```\n\nDo not claim that an RL rollout, viewer run, terrain run, or Isaac Gym import\npassed until this gate is cleared with the vendor package and a compatible\nGPU\u002Fruntime. The diagnostic never creates a viewer or simulation.\n\n## Route quickly\n\n- Need the exact lifecycle, API calls, tensor shapes, or viewer loop: read\n  [references\u002Fsimulation-api.md](references\u002Fsimulation-api.md).\n- Need robot selection, URDF\u002Fmesh caveats, ground, or terrain generation: read\n  [references\u002Fassets-and-terrains.md](references\u002Fassets-and-terrains.md).\n- Need a failure diagnosis or a safe stop condition: read\n  [references\u002Ftroubleshooting.md](references\u002Ftroubleshooting.md).\n- Need the PPO\u002FHydra task, checkpoint, observation, or training contract: route\n  to [rl-training](..\u002Frl-training\u002FSKILL.md).\n- Need MPC state conversion, controller modes, gait, or solver behavior: route\n  to [mpc-control](..\u002Fmpc-control\u002FSKILL.md).\n\n## Setup contract\n\nUse Python 3.8 with PyTorch 1.10.0 and CUDA 11.3, Isaac Gym Preview 4, NumPy,\nHydra\u002FOmegaConf, and the pinned `rsl_rl` integration. A compatible NVIDIA\nGPU\u002Fdriver is required for the configured PhysX GPU pipeline; the upgrade notes\ncall out driver 470 or newer. The project normally uses `cuda:0` for both\nsimulation and RL, `physics_engine: physx`, Z-up gravity `[0, 0, -9.81]`,\n`dt: 0.01`, and two substeps. Keep the setup sequence and backend verdict\nexplicit; CUDA-visible PyTorch alone is insufficient.\n\n## Canonical procedural order\n\n1. Acquire a gym handle, create `SimParams`, and set the control timestep,\n   substeps, up-axis, gravity, and PhysX options.\n2. Create the PhysX simulation with compute and graphics device ids. Stop on a\n   null simulation handle.\n3. Add exactly the intended ground plane or triangle terrain before creating\n   environments. Do not silently combine terrain conventions from the\n   interactive and RL paths.\n4. Select one supported URDF, configure `AssetOptions`, load it, inspect DOF\n   and rigid-body names\u002Fcounts, and configure effort properties.\n5. Create the environment grid and one actor per environment. Cache env and\n   actor handles and resolve the `trunk`, foot, thigh, and hip body handles.\n6. Prepare the simulation before acquiring\u002Fwrapping GPU state tensors. Refresh\n   every tensor immediately before reading it.\n7. Create a viewer only when rendering is requested. In each loop apply\n   controls, simulate, fetch results as required by the pipeline, read state,\n   update graphics, and synchronize frame time.\n8. On every exit path stop the gamepad thread, destroy the viewer if created,\n   then destroy the simulation. Use `try\u002Ffinally` in new integrations.\n\n## Control and data rules\n\n- Effort mode is the project default. Set each DOF `driveMode` to\n  `DOF_MODE_EFFORT` and stiffness\u002Fdamping to zero, then apply a complete effort\n  vector every physics frame. Missing a frame does not preserve a safe command.\n- The direct launcher uses structured NumPy state (`pos`, `vel`; body pose,\n  quaternion, linear and angular velocity) and applies per-actor efforts. The\n  RL tasks use `gymtorch` wrappers and batched tensors; do not mix the two\n  contracts without an explicit CPU\u002FGPU conversion.\n- With one actor per env, root state is `(num_envs, 13)` in the order position\n  3, quaternion 4 `(x,y,z,w)`, linear velocity 3, angular velocity 3. DOF state\n  is flattened as `(num_envs * num_dof, 2)` and reshaped to positions and\n  velocities `(num_envs, num_dof)`. Net contacts are `(num_envs, num_bodies,\n  3)`.\n- RL actions are `(num_envs, 12)` and clipped to `[-1, 1]`; observations are\n  `(num_envs, 48)`, commands are `(num_envs, 3)`, rewards\u002Fresets are per-env.\n  The vector task returns `(obs, privileged_obs, rewards, resets, extras)`.\n- The RL observation is base position, body-frame linear\u002Fangular velocity,\n  scaled velocity command, offset DOF position, scaled DOF velocity, and the\n  previous action. The standard simulator must refresh DOF, root, and contact\n  tensors before computing it.\n\n## Interactive launcher contract\n\nThe supported robots are `Aliengo`, `A1`, and `Go1`. The launcher accepts\n`--robot`, `--mode {Fsm,Min,Policy}`, `--num-envs`, `--render-fps`,\n`--disable-gamepad`, and `--checkpoint`. `Policy` consumes a checkpoint; if it\nis omitted, the policy runner resolves the latest project run. `Fsm` is the\nnormal hierarchical controller and `Min` is the minimal MPC runner.\n\nWithout `--disable-gamepad`, an Xbox-like device is required. The left stick\ncommands forward\u002Flateral velocity, the right stick commands yaw, LB cycles\nTrot\u002FWalk\u002FBound, and RB cycles Locomotion\u002FRecovery Stand. LB+RB requests an\nemergency stop; press the left stick to release it. For unattended or\nheadless automation, disable the gamepad and do not create a viewer. The\ninteractive launcher still renders and therefore remains backend-blocked here.\n\n## Completion criteria\n\nA simulation task is complete only when the backend diagnostic passes, asset\npaths and names resolve, the simulation is stepped in the documented order,\nstate refreshes and tensor shapes are checked, and cleanup is observed. If the\nbackend is absent, provide the exact blocked prerequisite and stop; do not\nsubstitute a CPU-only import or a successful MPC build as Isaac Gym evidence.\n",{"name":5,"license":15,"metadata":24,"description":7,"disable-model-invocation":26},{"disco-role":25},"operating",true,"main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","06-前端与设计\u002Frl-mpc-locomotion\u002Fsub-skills\u002Fisaac-gym-simulation",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 isaac-gym-simulation",{"tool":41,"command":42},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill isaac-gym-simulation",{"tool":44,"command":45},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill isaac-gym-simulation","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Frl-mpc-locomotion\u002Fsub-skills\u002Fisaac-gym-simulation\u002FSKILL.md",[48,54,58],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"references\u002Fassets-and-terrains.md","REFERENCE","参考文档",7185,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Frl-mpc-locomotion\u002Fsub-skills\u002Fisaac-gym-simulation\u002Freferences\u002Fassets-and-terrains.md",{"path":55,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":56,"sourceHtmlUrl":57},"references\u002Fsimulation-api.md",10413,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Frl-mpc-locomotion\u002Fsub-skills\u002Fisaac-gym-simulation\u002Freferences\u002Fsimulation-api.md",{"path":59,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":60,"sourceHtmlUrl":61},"references\u002Ftroubleshooting.md",9115,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Frl-mpc-locomotion\u002Fsub-skills\u002Fisaac-gym-simulation\u002Freferences\u002Ftroubleshooting.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",[],[]]