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 agentmods add skills/darellchua2/opencode-config-template/cad-generation-skillnpx skills add darellchua2/opencode-config-template --skill cad-generation-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-generation-skill)<a href="https://agentmods.dev/skills/darellchua2/opencode-config-template/cad-generation-skill"><img src="https://agentmods.dev/badge/skills/darellchua2/opencode-config-template/cad-generation-skill.svg" alt="Measured on agentmods" height="20"></a>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 | $0.00043 | $0.02287 |
| Opus 5 | $0.00022 | $0.01144 |
| Sonnet 5 | $0.00009 | $0.00457 |
| Haiku 4.5 | $0.00004 | $0.00229 |
Grade A, and why
cad-generation-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 5d 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.
This is a copy
83% identical to cad — 53 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 109 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CAD generation, inspection, and validation
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.
Purpose
Create or modify parametric CAD models from natural-language requirements, generate validated STEP/STP artifacts, inspect geometry references, and return checked outputs. Treat STEP as the primary CAD artifact. Treat STL, 3MF, and native GLB as secondary export workflows that branch from a STEP-first process. For assemblies, prefer cadpy.assembly.AssemblyHelper with source-level build123d joints, named mating datums, and native labels when the parts have functional assembly relationships.
There are two ways into the STEP workflow: generate from build123d Python source (the default when designing from scratch or modifying a generated model), or import an existing STEP/STP file directly (when no generator exists or the user explicitly targets the STEP file). Both produce the same inspectable artifacts.
Use this skill when
Use this skill when the user asks for CAD files, STEP/STP files, build123d source, selector refs such as #o1.2.f1, mechanical parts, assemblies, enclosures, brackets, fixtures, holes, counterbores, countersinks, slots, pockets, bosses, standoffs, ribs, fillets, chamfers, shells, source-level joints, mating, or measurements. Also use it when the user supplies reference images or 2D technical drawings of a part to reproduce or take design intent from.
Also use it when the user asks for STL, 3MF, or native GLB output from CAD geometry. Keep those workflows secondary and load supported-exports.md for details. For 2D DXF drawings, use the the cad-dxf-skill (load via skill tool) skill; when a DXF projects from a 3D part, this skill owns the STEP geometry and the cad-dxf-skill (load via skill tool) owns the drawing.
Do not use this skill for render-only concept art, CAM toolpaths, engineering certification, FEA conclusions, architectural BIM, or freehand illustration unless the user also needs CAD geometry.
What ships with it
58 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/build123d-modeling.md 7.8 KB
- references/cad-brief.md 6.4 KB
- references/inspection-and-validation.md 4.9 KB
- references/parameters.md 8.5 KB
- references/positioning.md 12 KB
- references/repair-loop.md 4.7 KB
- references/snapshot-review.md 5.7 KB
- references/step-generation.md 2.7 KB
- references/supported-exports.md 2.4 KB
- requirements.txt 47 B
- scripts/inspect/__main__.py 286 B runs code
- scripts/inspect/cli.py 323 B runs code
- scripts/inspect/inspect_refs/__init__.py 45 B runs code
- scripts/inspect/inspect_refs/cli.py 24 KB runs code
- scripts/inspect/inspect_refs/inspect.py 37 KB runs code
- scripts/packages/cadpy/pyproject.toml 484 B
- scripts/packages/cadpy/src/cadpy/__init__.py 1.1 KB runs code
- scripts/packages/cadpy/src/cadpy/analysis.py 25 KB runs code
- scripts/packages/cadpy/src/cadpy/api.py 290 B runs code
- scripts/packages/cadpy/src/cadpy/assembly_composition.py 49 KB runs code
- scripts/packages/cadpy/src/cadpy/assembly_export.py 36 KB runs code
- scripts/packages/cadpy/src/cadpy/assembly_flatten.py 8.7 KB runs code
- scripts/packages/cadpy/src/cadpy/assembly_spec.py 16 KB runs code
- scripts/packages/cadpy/src/cadpy/assembly.py 15 KB runs code
- scripts/packages/cadpy/src/cadpy/cad_ref_syntax.py 4.2 KB runs code
- scripts/packages/cadpy/src/cadpy/catalog.py 20 KB runs code
- scripts/packages/cadpy/src/cadpy/cli_logging.py 1.6 KB runs code
- scripts/packages/cadpy/src/cadpy/file_metadata.py 1.9 KB runs code
- scripts/packages/cadpy/src/cadpy/generation_status.py 5.8 KB runs code
- scripts/packages/cadpy/src/cadpy/generation.py 87 KB runs code
- scripts/packages/cadpy/src/cadpy/glb_mesh_payload.py 15 KB runs code
- scripts/packages/cadpy/src/cadpy/glb_topology.py 20 KB runs code
- scripts/packages/cadpy/src/cadpy/glb.py 44 KB runs code
- scripts/packages/cadpy/src/cadpy/lookup.py 9.7 KB runs code
- scripts/packages/cadpy/src/cadpy/metadata.py 16 KB runs code
- scripts/packages/cadpy/src/cadpy/py.typed 1 B
- scripts/packages/cadpy/src/cadpy/render.py 2.9 KB runs code
- scripts/packages/cadpy/src/cadpy/reporting.py 3.9 KB runs code
- scripts/packages/cadpy/src/cadpy/selector_types.py 374 B runs code
- scripts/packages/cadpy/src/cadpy/source_hash.py 1.5 KB runs code
- scripts/packages/cadpy/src/cadpy/step_artifact.py 14 KB runs code
- scripts/packages/cadpy/src/cadpy/step_artifacts.py 7.9 KB runs code
- scripts/packages/cadpy/src/cadpy/step_export.py 13 KB runs code
- scripts/packages/cadpy/src/cadpy/step_hash.py 345 B runs code
- scripts/packages/cadpy/src/cadpy/step_metadata.py 12 KB runs code
- scripts/packages/cadpy/src/cadpy/step_scene.py 103 KB runs code
- scripts/packages/cadpy/src/cadpy/step_targets.py 17 KB runs code
- scripts/packages/cadpy/src/cadpy/stl.py 1.0 KB runs code
- scripts/packages/cadpy/src/cadpy/threemf.py 20 KB runs code
- scripts/packages/cadpy/src/cadpy/validators.py 3.9 KB runs code
- scripts/snapshot/__init__.py 58 B runs code
- scripts/snapshot/__main__.py 49 KB runs code
- scripts/snapshot/runtime/render.html 386 B
- scripts/snapshot/runtime/snapshot-render.js 899 KB runs code
- scripts/step/__init__.py 35 B runs code
- scripts/step/__main__.py 345 B runs code
- scripts/step/cli.py 4.3 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.
- 5d ago First seen · 109 lines · 43 tokens per session scan A 05a4dee78292
cad-generation-skill is a skill published in the GitHub repository darellchua2/opencode-config-template (6 stars, last pushed 3d ago), licensed Apache-2.0. It adds 43 tokens to every session and 2,287 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 83% identical to cad, differing in 53 lines, and is treated as a copy.
Other skills, from other repositories
integrated-browser
Use this when working on the VS Code integrated browser ("browserView") to understand its architecture and mental model. Covers the embedded Chromium browser, its editor tab, navigation, overlay/layout, sessions, and agent browser tools under src/vs/platform/browserView and src/vs/workbench/contrib/browserView.
gke-compute-classes
Configures, optimizes, and troubleshoots GKE ComputeClasses. Use when configuring Spot VMs with on-demand fallback, targeting specific accelerators (GPUs/TPUs) or machine families, restricting ComputeClass access, or debugging pending pods related to node pool auto-creation. Do not use for cluster-level Node Auto…
jetson-diagnostic
Read-only Jetson health snapshot for identity, memory, GPU, thermal, power, storage, services, and top processes.
doca-socket-relay
Use this skill when the operator is driving the DOCA Socket Relay to bridge a socket-oriented host application onto a BlueField DPU peer without rewriting it — picking the deployment shape (in-process, sidecar, or BlueField service container), configuring the host-side socket and the DPU-side forwarding endpoint…
offensive-z-wave
Z-Wave attack methodology — sniffing with Z-Force / EZ-Wave / RTL-SDR + ZniffMobile, S0 (legacy) network-key derivation flaw and key reuse, S2 (modern) ECDH commissioning analysis, replay/injection on unauthenticated nodes, default-key brute-force on test deployments, and home-automation hub pivots. Use when targeting…
hsb-flash
Flash the FPGA on an HSB board connected to an NVIDIA devkit. Supports HSB Lattice boards (FPGA versions 2407, 2412, 2507, 2510) and Leopard Imaging VB1940 "all-in-one" cameras (FPGA versions 2507, 2510). Uses release-specific YAML manifests and board-type-specific program commands. Lattice and VB1940 commands must…