robot-simulation

robot-simulation is a skill for Claude Code, Codex from earthtojake/text-to-cad. It costs 92 tokens per session (4,279 once invoked), scanned A, original, MIT.

A workspace for describing robots and simulated environments using URDF, SRDF, and SDF files. These are XML formats used by ROS, MoveIt, and Gazebo to represent robot parts, movement rules, and virtual worlds.

In plain words
What is it for?
Use it to define robot links and joints, configure MoveIt planning groups and collision pairs, or model Gazebo worlds, sensors, plugins, and physics.
Why use it?
It helps prevent subtle modeling errors in frames, joint directions, units, meshes, physical properties, and collision rules that can make a robot behave incorrectly even when the files pass basic checks.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present.

Part of the text-to-cad plugin — 8 skills shipped together

Good fit Use it to define robot links and joints, configure MoveIt planning groups and collision pairs, or model Gazebo worlds, sensors, plugins, and physics.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/earthtojake/text-to-cad/robot-simulation
About the project

text-to-cad is a collection of agent workflows for creating, examining, finding, preparing, and transferring CAD, engineering, manufacturing, and robot-description files. It is for agents working with mechanical design, fabrication, simulation, and robotics projects. Catalogue skills, instructions, and a plugin implement these workflows.

earthtojake/text-to-cad · 27,807 stars · on GitHub · texttocad.dev

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 earthtojake/text-to-cad --skill robot-simulation
Clone the repo
git clone --depth 1 https://github.com/earthtojake/text-to-cad

Made for: Claude Code, Codex.

Or install text-to-cad, the plugin that ships this one along with the rest of its 8 skills.

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 robot-simulation

README.md
[![agentmods](https://agentmods.dev/badge/skills/earthtojake/text-to-cad/robot-simulation/github.svg)](https://agentmods.dev/skills/earthtojake/text-to-cad/robot-simulation)
Your own site
<a href="https://agentmods.dev/skills/earthtojake/text-to-cad/robot-simulation"><img src="https://agentmods.dev/badge/skills/earthtojake/text-to-cad/robot-simulation/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 robot-simulation

Your own site · 80×15
<a href="https://agentmods.dev/skills/earthtojake/text-to-cad/robot-simulation"><img src="https://agentmods.dev/badge/skills/earthtojake/text-to-cad/robot-simulation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 92 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,279 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.
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.00092 $0.04279
Opus 5.5 $0.00037 $0.01712
Sonnet 5.5 $0.00018 $0.00856
Haiku 4.5 $0.00009 $0.00428

Measured today against content hash 16632315c238, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

robot-simulation 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 today.

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/robot-simulation/SKILL.md · 251 lines

How it starts

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

Robots and worlds for simulation and motion planning

A robot is described for its consumers in XML: a URDF for its structure (ROS, RViz, robot_state_publisher), an SRDF beside it for MoveIt's planning semantics, and an MJCF for MuJoCo. There are two routes to one:

  • Generate it from CAD. A text-to-cad model that holds the mechanism, materials and named frames is the source of truth: cad model export writes the URDF or MJCF, with frames, limits, masses, inertias and meshes exact from the kernel. The file is regenerated, never edited.
  • Author it by hand. A robot with no CAD model here, an SRDF (always), a MuJoCo scene, or a file that already exists: the XML is the source of truth. The risk is not XML syntax but frames, axis signs, units, mesh scale, inertials and planning semantics: a file can pass every check and still place a joint in the wrong spot.

Start with the task

Task Start with Reference
A URDF or MJCF from a CAD model The model's declarations, then cad model export <id> robot.xml or .urdf Generate from CAD, from CAD
Collision shapes, joint dynamics, actuators for MuJoCo A MuJoCo function, run with cad run The MuJoCo function, MuJoCo environment
A robot from a vendor's STEP Read it, group parts into links, find each axis, declare, export From a vendor STEP
A MuJoCo scene: several robots, objects, a world spec() for each piece, composed with MuJoCo's own MjSpec MuJoCo environment
Tune a MuJoCo model's physics cad mujoco check's model-health findings, one parameter at a time Tuning, MJCF checks
A URDF by hand The .urdf and its ledger, then cad urdf validate Authoring (frames and signs, the ledger), checks
MoveIt groups, end effectors, states, collision pairs A .srdf beside the URDF, then cad srdf validate Authoring (end effectors, disabled collisions, the ledger), checks
An MJCF by hand robot.xml and a scene.xml that includes it, then cad mujoco check Authoring, checks
Link meshes for a hand-written file One mesh per link, in the link's frame Meshes
Mass, centre of mass, inertia Materials on the CAD parts; else a formula or a script, never intuition Inertials
A four-bar in the viewer <tcad:four_bar> on the derived URDF joint Four-bar
See the robot or a pose cad urdf snapshot, cad srdf snapshot; an MJCF in MuJoCo Studio Snapshots
Work across formats, or convert a URDF to MJCF Which file owns what Interoperability

Read the full file on GitHub · 251 lines

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. today Changed 16632315c238
  2. yesterday Changed · +1 lines 6c51b3e855c2
  3. 3d ago Changed 04ee39513a53
  4. 6d ago Changed 5deed8bd7a27
  5. 7d ago Changed 3728142a9d41
  6. 8d ago Changed · -210 lines · -28 tokens per session 60bc242dc3ad
  7. 10d ago Changed 102b67ec59fa
  8. 11d ago Changed · +3 lines scan C → A b7bfc05d05a7
  9. 18d ago Changed · +234 lines · -5 tokens per session b0b6b705bf5d
  10. 19d ago First seen · 223 lines · 125 tokens per session scan C 5ccb8433fc0f

Subscribe to this mod's changes

robot-simulation is a skill published in the GitHub repository earthtojake/text-to-cad (27,807 stars, last pushed today), licensed MIT. It adds 92 tokens to every session and 4,279 once invoked, about $0.0004 per session on Opus 5.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-11-08.

Related

robot-simulation compared with skills from other repositories

robot-simulation next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
robot-simulationearthtojake/text-to-cadSkill28ktodayMITA92Claude Code, Codex
fluidcad-assemblyFluid-CAD/FluidCADSkill794todayMITA154Claude Code, Codex
fluidcad-from-drawingFluid-CAD/FluidCADSkill794todayMITA114Claude Code, Codex
gapgraph-robots/graph-as-policySkill2277d agoApache-2.0A195Claude Code
step-partsearthtojake/step.partsSkill4305mo agoMITA107Codex
solidworks-apiguoleizhen717/solidworks-api-skillSkill66mo agoMITA118Claude Code, Codex
evaluating-cosmos-policyOrchestra-Research/AI-Research-SKILLsSkill15k1mo agoMITA51Claude Code