URDF-Studio: Instructions file for Claude Code

CLAUDE.md

URDF-Studio CLAUDE.md is an instructions file for Claude Code from OpenLegged/URDF-Studio. It costs 2,807 tokens per session, scanned A, original, Apache-2.0.

A project guide for URDF Studio, a robot-design workspace for editing, assembling, viewing, and exporting robot models.

In plain words
What is it for?
Use it when changing URDF Studio's React application, robot model import/export, assembly tools, AI features, reports, or viewer.
Why use it?
It gives agents the project's architecture, language preference, technology choices, and requirements for clarifying ambiguous work.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions subagents; mentions OpenCode.

This is OpenLegged/URDF-Studio's own configuration. It tells Claude Code how to work on URDF-Studio itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything URDF-Studio configures →

Reuse

Borrowing it

Nothing to install: this file belongs to OpenLegged/URDF-Studio. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/OpenLegged/URDF-Studio/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/OpenLegged/URDF-Studio

Made for: Claude Code.

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 URDF-Studio CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/openlegged/urdf-studio/claude-md/github.svg)](https://agentmods.dev/instructions/openlegged/urdf-studio/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/openlegged/urdf-studio/claude-md"><img src="https://agentmods.dev/badge/instructions/openlegged/urdf-studio/claude-md/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 URDF-Studio CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/openlegged/urdf-studio/claude-md"><img src="https://agentmods.dev/badge/instructions/openlegged/urdf-studio/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,807 This file is loaded in full into every session.
When invoked 2,807 The same file — it is already loaded in full.
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.02807 $0.02807
Opus 5.5 $0.01123 $0.01123
Sonnet 5.5 $0.00561 $0.00561
Haiku 4.5 $0.00281 $0.00281

Measured 10d ago against content hash 0501025fce9b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

URDF-Studio CLAUDE.md 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 10d ago.

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.

CLAUDE.md · 117 lines

How it starts

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

URDF Studio Agent Guide

URDF Studio 是机器人设计、装配、可视化与多格式导出工作台,使用 React、TypeScript、Three.js/R3F、Vite、Tailwind CSS 和 Zustand。依赖版本以 package.json 为准。

本文件只保留项目约定与易踩坑的约束;专题细节按任务查阅末尾文档,不要求每次通读。重构进度、债务清单和文件行数不放在这里。

协作方式

  • 默认中文沟通;代码标识符、命令、路径和错误原文保持原文。
  • 根据目标和上下文自治完成任务;常规实现选择自行决定,只有真正影响目标或涉及破坏性操作的不确定事项才澄清。
  • 独立子任务能提高效率时使用原生 subagent 并行处理。
  • 按变更风险选择验证;必要检查通过后结束,不为小改动反复扩大测试范围。

设计原则

  • 第一性原理:从实际目标、约束和数据模型推导方案;发现更简单的可行路径时主动指出,不机械照表面措辞实现。
  • Linux 设计哲学:一个模块做好一件事,接口小而清晰,优先组合现有稳定能力;让数据流和控制流简单直接。
  • 简单与实用:新抽象必须降低整体复杂度;不为假设的未来需求预埋框架,不为行数把内聚逻辑拆成碎片。
  • 可调试性优先:所有权、生命周期和失败路径显式可追踪;暴露真实错误,不用隐式同步、静默降级或魔法默认值掩盖坏状态。
  • Google-style 工程质量:正确性与数据所有权优先,保持类型安全,用必要的行为测试保护变更,逐步收紧存量债务。

设计取舍的详细约束见 docs/architecture.md §9–10。

架构红线与执行准则

依赖方向:app -> features -> store -> shared -> core -> types,允许跨级向下依赖。app 编排跨域 workflow,features 承载单一业务能力,store 保存状态,shared 放稳定共享原语,core 保持无 React/UI 的领域逻辑。@/ 指向 src/。

  • feature 间不直接互引;跨 feature/store 协调放 app/hooks,store action 不得写另一个 store。Editor facade 是精确登记的例外。
  • 分层、公开入口、发布包依赖闭包和循环依赖统一由 scripts/tools/dependency_boundaries.mjs 检查;不复制 checker,不扩大 allowlist,不用 require() 绕过检查。
  • src/lib/ 与 packages/react-robot-canvas/ 的可发布运行时不得传递依赖 app/store/features;应用状态通过 props/ports 和 feature adapter 注入。
  • workspaceStore.workspace: AssemblyState 是唯一可写机器人模型,使用单一 history;RobotData 仅存在于 component 或只读 projection,不恢复顶层 robot 镜像或 source 双写同步。
  • viewer/export 从 createAssemblySceneProjection / createAssemblyScenePlacement 或 canonical export projection 派生;renderer strategy 不参与 selection、mutation、history 或 source 路由。
  • source-local mutation 归 app/hooks/workspace-mutations/;component source command、draft/reconcile/history 策略归 app/hooks/workspace-source-sync/。viewer 只上报 typed renderer facts,mutation queue 和 transaction 由 app coordinator 消费和决定。
  • .usp 仅接受与生成严格 3.0 canonical workspace schema,不恢复旧版迁移、旧 payload 或双 history。
  • 格式检测唯一实现:src/core/parsers/format_detection.ts;app/file-io 只做 workflow wrapper。
  • 通用 robot kernel/backend 生命周期归 shared/components/3d/robot/,无 store/feature 依赖;features/urdf-viewer 注入应用状态并拥有 workspace adapter;shared/components/3d/renderers/ 只放纯 mesh renderer 与 Collada helpers。
  • worker/runtime 明确 app/document 生命周期 owner;组件卸载使自身在途 async 结果失效,不销毁其他 viewer 共用的 runtime。observer、listener、timer 和 THREE 等资源必须对称 cleanup;worker entry 保持 protocol dispatch,独立 cache/session 按生命周期归属模块。
  • 多 viewer 的 interaction/hover/selection lock 使用 owner token 或引用计数,成对 acquire/release;只读、offscreen、snapshot viewer 不改 canonical selection 或全局 hover lock。
  • 导入、导出、解析、hydration、worker 链路保留真实错误,不用空值、旧缓存或静默降级伪装成功。

Read the full file on GitHub · 117 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. 10d ago Changed · +1 lines · +75 tokens per session 0501025fce9b
  2. 1mo ago Changed · -202 lines · -6,073 tokens per session scan B → A e8dfa38c3c33
  3. 1mo ago Changed · +2 lines · +135 tokens per session 5572178114ef
  4. 1mo ago Changed · +19 lines · +596 tokens per session ea1780077b2b
  5. 2mo ago First seen · 297 lines · 8,074 tokens per session scan B 808ef44fe911

Subscribe to this mod's changes

URDF-Studio CLAUDE.md is an instructions file published in the GitHub repository OpenLegged/URDF-Studio (499 stars, last pushed yesterday), licensed Apache-2.0. It adds 2,807 tokens to every session, about $0.0112 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-08-30.

Related

URDF-Studio CLAUDE.md compared with instructions from other repositories

URDF-Studio CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
URDF-Studio CLAUDE.mdOpenLegged/URDF-StudioInstructions file499yesterdayApache-2.0A2,807Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode