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.
npx skills add darellchua2/opencode-config-template --skill cad-sdf-skillgit clone --depth 1 https://github.com/darellchua2/opencode-config-templateWrote 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.
[](https://agentmods.dev/skills/darellchua2/opencode-config-template/cad-sdf-skill)<a href="https://agentmods.dev/skills/darellchua2/opencode-config-template/cad-sdf-skill"><img src="https://agentmods.dev/badge/skills/darellchua2/opencode-config-template/cad-sdf-skill/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.
<a href="https://agentmods.dev/skills/darellchua2/opencode-config-template/cad-sdf-skill"><img src="https://agentmods.dev/badge/skills/darellchua2/opencode-config-template/cad-sdf-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00040 | $0.01404 |
| Opus 5.5 | $0.00016 | $0.00562 |
| Sonnet 5.5 | $0.00008 | $0.00281 |
| Haiku 4.5 | $0.00004 | $0.00140 |
Grade A, and why
cad-sdf-skill 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 3mo 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.
How it starts
The opening of the file, as written. The whole thing — 111 lines — stays where its author put it; the contents beside it link to each section on GitHub.
SDF
Provenance: maintained in earthtojake/text-to-cad. Use the installed local skill files as the runtime source of truth; the repository link is only for provenance and release review.
Use this skill when the deliverable is an SDFormat document or a Python gen_sdf() source. SDFormat describes simulator and world behavior: models, worlds, frames, poses, links, joints, inertials, visuals, collisions, sensors, lights, physics, plugins, includes, and simulator metadata.
This skill is for SDFormat, not signed-distance-field geometry.
Core rules
- Treat the Python file defining
gen_sdf()as source of truth. Treat configured.sdffiles as generated artifacts unless the user explicitly asks for direct XML editing. - Identify the target consumer before editing: Gazebo/libsdformat version, another simulator, visualization-only tooling, model package, or world handoff.
- Decide document kind: model-level SDF, world-level SDF, or model-in-world. Prefer model-level SDF for reusable robot/object exports.
- Use SI units unless the target explicitly requires otherwise: meters, kilograms, seconds, radians.
- Prefer
version="1.12"for new outputs unless the target consumer constrains the version. - Establish the design ledger before writing poses, frames, joint axes, mesh scales, inertials, sensors, or plugins. Use
references/design-ledger.mdandreferences/llm-guardrails.md. - Do not infer spatial transforms from visual impression alone. Derive poses, axes, scale, mass, inertia, and frame names from upstream source data, drawings, simulator documentation, measured values, or explicit assumptions.
- Prefer helper functions and named constants over large XML string literals. Hidden numbers are a common SDF failure mode.
- Generate only explicit targets with
scripts/sdfor the repository's existing SDF launcher. Do not run directory-wide generation. - Regenerate upstream geometry, mesh, robot-description, render, topology, or package assets with their owning workflows before regenerating SDF that references them.
- After generation, run available checks: bundled validation, optional
gz sdf --check, simulator load, joint motion, and plugin/sensor startup. - Report assumptions, skipped checks, unresolved resource paths, and target-specific compatibility risks.
What ships with it
26 files 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.
- LICENSE 1.0 KB
- references/builder-helpers.md 3.8 KB
- references/design-ledger.md 4.1 KB
- references/examples.md 3.9 KB
- references/frame-semantics.md 3.6 KB
- references/gen-sdf.md 2.6 KB
- references/generator-contract.md 4.6 KB
- references/implementation-notes.md 2.4 KB
- references/interoperability.md 2.9 KB
- references/llm-guardrails.md 4.6 KB
- references/sdf-workflow.md 3.7 KB
- references/smoke-tests.md 3.0 KB
- references/validation.md 6.0 KB
- requirements.txt 45 B
- scripts/packages/cadpy_metadata/pyproject.toml 407 B
- scripts/packages/cadpy_metadata/src/cadpy_metadata/__init__.py 416 B runs code
- scripts/packages/cadpy_metadata/src/cadpy_metadata/generator.py 7.9 KB runs code
- scripts/packages/cadpy_metadata/src/cadpy_metadata/py.typed 1 B
- scripts/sdf/__init__.py 54 B runs code
- scripts/sdf/__main__.py 362 B runs code
- scripts/sdf/builder.py 13 KB runs code
- scripts/sdf/cli.py 15 KB runs code
- scripts/sdf/external.py 1.9 KB runs code
- scripts/sdf/findings.py 1.7 KB runs code
- scripts/sdf/source.py 10 KB runs code
- scripts/sdf/validation.py 33 KB runs code
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.
- 3mo ago First seen · 111 lines · 40 tokens per session scan A a5352263ded1
cad-sdf-skill is a skill published in the GitHub repository darellchua2/opencode-config-template (6 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 40 tokens to every session and 1,404 once invoked, about $0.0002 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-09-03.
cad-sdf-skill compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| cad-sdf-skilldarellchua2/opencode-config-template | Skill | 6 | 2mo ago | Apache-2.0 | A | 40 | Claude Code, Codex |
| gke-compute-classesgoogle/skills | Skill | 26k | today | Apache-2.0 | A | 100 | Claude Code, Codex |
| jetson-diagnosticNVIDIA/skills | Skill | 4.3k | today | Apache-2.0 | A | 30 | Claude Code, Codex |
| holoscan-install-wheelNVIDIA/skills | Skill | 4.3k | today | Apache-2.0 | A | 34 | Claude Code, Codex |
| offensive-z-waveSnailSploit/Claude-Red | Skill | 12k | 18d ago | MIT | A | 113 | Claude Code, Codex |
| hsb-flashNVIDIA/skills | Skill | 4.3k | today | Apache-2.0 | B | 94 | Claude Code |
| jetson-validate-imageNVIDIA/skills | Skill | 4.3k | today | Apache-2.0 | B | 50 | Claude Code, Codex |