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-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/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-generation-skill"><img src="https://agentmods.dev/badge/skills/darellchua2/opencode-config-template/cad-generation-skill.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.00043 | $0.02287 |
| Opus 5.5 | $0.00017 | $0.00915 |
| Sonnet 5.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 1mo 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 — 269 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.
- 1mo 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 28d 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.5. A static security scan graded it A with 0 findings. It is 83% identical to cad, differing in 269 lines, and is treated as a copy.
Other skills, from other repositories
bdf_font_converter
Convert a Unicode BDF bitmap font in writable storage to the DFN1 format used by the display module.
solidworks-vibecad
A planning guide for turning natural-language mechanical design requests into structured, parameterized SolidWorks plans that can be reviewed before execution.
fluidcad-assembly
Building multi-part models in FluidCAD: assemblies, part files, inserting and mating parts, connectors, exposed geometry, part parameters, sub-assemblies, replicated instances, STEP parts, project units, and assembly export. Use this skill whenever the user wants an assembly, a mechanism, a hinge, a slider, several…
gen-assembly
Generate a PartCAD assembly (an ASSY that composes parts with placement and/or mates) from a description, writing down what it is required to be, generating or reusing the component parts and validating the result with the PartCAD CLI. Use for /pc:gen-assembly or when the user asks to generate or create an assembly…
add-interfaces
Enrich an existing PartCAD part with connection interfaces and ports (mating metadata) so it can be mated to other parts automatically. Use for /pc:add-interfaces or when the user asks to add interfaces, ports, connectors, or mating information to a part, or to make parts snap/connect/assemble together.
gen-part
Generate a PartCAD part from a natural-language description (and optional reference images/requirements) by writing down what it is required to be, authoring a CAD script, and validating it with the PartCAD CLI. Use for /pc:gen-part or when the user asks to generate, create, or model a single mechanical part.