forgecad-verify-mujoco

forgecad-verify-mujoco is a skill for Claude Code, Codex from ForgeCAD/forgecad-public-kit. It costs 38 tokens per session (1,467 once invoked), scanned C, original, MIT.

A verification process for ForgeCAD models exported to MJCF, the scene-file format used by the MuJoCo physics simulator.

In plain words
What is it for?
Use it to load the scene in MuJoCo, step it under gravity, test controls and joint movement, inspect contacts, and capture useful rendered views.
Why use it?
It checks whether the exported model behaves correctly in simulation, rather than relying only on a file-load or static readiness check.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to load the scene in MuJoCo, step it under gravity, test controls and joint movement, inspect contacts, and capture useful rendered views.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/forgecad/forgecad-public-kit/forgecad-verify-mujoco
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 ForgeCAD/forgecad-public-kit --skill forgecad-verify-mujoco
Clone the repo
git clone --depth 1 https://github.com/ForgeCAD/forgecad-public-kit

Made for: Claude Code, Codex.

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 forgecad-verify-mujoco

README.md
[![agentmods](https://agentmods.dev/badge/skills/forgecad/forgecad-public-kit/forgecad-verify-mujoco/github.svg)](https://agentmods.dev/skills/forgecad/forgecad-public-kit/forgecad-verify-mujoco)
Your own site
<a href="https://agentmods.dev/skills/forgecad/forgecad-public-kit/forgecad-verify-mujoco"><img src="https://agentmods.dev/badge/skills/forgecad/forgecad-public-kit/forgecad-verify-mujoco/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 forgecad-verify-mujoco

Your own site · 80×15
<a href="https://agentmods.dev/skills/forgecad/forgecad-public-kit/forgecad-verify-mujoco"><img src="https://agentmods.dev/badge/skills/forgecad/forgecad-public-kit/forgecad-verify-mujoco.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,467 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00038 $0.01467
Opus 5 $0.00019 $0.00733
Sonnet 5 $0.00008 $0.00293
Haiku 4.5 $0.00004 $0.00147

Measured 9d ago against content hash 8929cfb52012, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade C, and why

forgecad-verify-mujoco scanned grade C with 1 finding 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 9d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/mujoco_verify.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf /tmp/forgecad-mjcf && mkdir -p /tmp/forgecad-mjcf
skills/forgecad-verify-mujoco/SKILL.md · 67 lines

How it starts

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

Verify MuJoCo

Use this when forgecad export mjcf ... is part of the deliverable. A model is not sim-ready just because forgecad check simready passes or the MJCF file loads: it must be loaded in MuJoCo, stepped under gravity, driven with the intended controls, contact pairs inspected, and rendered from useful views.

Routing: geometry-only visual inspection -> forgecad-inspect-model; model authoring/API questions -> forgecad; building a new model -> forgecad-build-model.

Definition Of Done

  1. Export from the exact source file.
    rm -rf /tmp/forgecad-mjcf && mkdir -p /tmp/forgecad-mjcf
    forgecad export mjcf path/to/model.forge.js --output /tmp/forgecad-mjcf
    
  2. Load the generated scene in MuJoCo. Use scene.xml, not only the model XML, so the floor/camera/package context is included.
  3. Check the root behavior. If the model has a free root, it needs real support/contact geometry or an explicit fixed-root export path. Do not hide a floor failure by turning the whole shell into a giant bounding box that blocks moving internals.
  4. Check initial poses numerically. For mechanisms, compute the expected body/link axes from the design source and compare them to MuJoCo xmat/xpos. Joint ref/default and connector frames can disagree with visual intuition.
  5. Keep meaningful collisions. Do not mark moving functional parts Sim.collider.none(...) just to make motion pass. If full visual mesh contact is unstable, use a physically defensible simplified collider or proxy and state what physical surface it represents.
  6. Run the intended control with numeric acceptance criteria. Define the expected signed post-settle joint travel before running the test: e.g. "this drive should rotate the drum -0.04 to -0.06 cycles, then stop near zero velocity" or "this wheel should move at least +1 cycle and keep spinning". Use cycles for revolute/indexing mechanisms when that is easier to reason about, and radians for direct MuJoCo qpos checks. A controller that only jitters, moves the wrong direction, overshoots through a stop, or eventually jams after skipping the intended state is a failure even when the process exits 0.
  7. Inspect contact pairs. Contact names should match the physical story: floor/support, card/card, wheel/ground, stop/follower, etc. Contacts against a filled-in AABB, hidden fixture, or unrelated side plate usually indicate bad collider selection.
  8. Render evidence. Save initial, settled, and driven frames from views that actually show the moving parts. If the model orientation is not obvious, generate a labeled camera preview grid first, inspect it, then rerun with the azimuth/elevation that shows the functional face. Do not report GIFs/frames before visually confirming they are not from the back, underside, or an occluded side.

Read the full file on GitHub · 67 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 9d ago First seen · 67 lines · 38 tokens per session scan C 8929cfb52012

Subscribe to this mod's changes

forgecad-verify-mujoco is a skill published in the GitHub repository ForgeCAD/forgecad-public-kit (931 stars, last pushed 2mo ago), licensed MIT. It adds 38 tokens to every session and 1,467 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

develop-web-game

Use when Codex is building or iterating on a web game (HTML/JS) and needs a reliable development + testing loop: implement small changes, run a Playwright-based test script with short input bursts and intentional pauses, inspect screenshots/text, and review console errors with rendergametotext.

netease-youdao/LobsterAI · 64 tokens

tests-run

Execute Unity tests (EditMode or PlayMode) and return per-test results. Supports filtering by test assembly, namespace, class, and method. Refreshes the AssetDatabase first; defers execution across domain reloads if scripts changed. Precondition: every open scene must be saved — dirty scenes abort the run.

IvanMurzak/Unity-MCP · 68 tokens

godot-e2e

Write and run E2E (end-to-end) game tests using the godot-e2e framework. Python controls a live Godot game over TCP — Locator-based semantic queries, expect() auto-retry assertions, and engine log capture make failures self-diagnosing. Use this skill whenever you need to: Test actual gameplay: player movement…

valkor-ai/loom · 189 tokens

unity-agent-workflows

Use for AI-assisted Unity work that needs live repo discovery, project-derived routing, runtime-owner proof, runtime-visible output hard stops, runtime numeric proof for repeated visible-output failures, state-step guards, multi-agent scope ownership, modular C#/asmdef safety, UI/scene/visual asset gates, data-first…

hashgraph-online/awesome-codex-plugins · 146 tokens

gdunit-driver

Run gdUnit4 unit tests and parse results into structured output. Use this skill after writing or modifying code to verify correctness via unit tests, when diagnosing test failures, or when writing new test files. Triggers: "run tests", "test fails", "write a test", any gdUnit4/unit test mention. Supports both GDScript…

valkor-ai/loom · 84 tokens

sprite-gen

Generate clean 2D game sprites and animation atlases with a component-row pipeline: base identity, numeric sprite-request SSoT, per-state layout guides, image-gen row strips, chroma-key alpha cleanup, connected-component frame extraction, cell-based atlas composition, QA reports, and runtime manifest framelayout. Its…

aldegad/sprite-gen · 291 tokens