Borrowing it
Nothing to install: this file belongs to 0oKevino0/claude-cad. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/0oKevino0/claude-cad/main/.claude/skills/cadquery-modeling/SKILL.mdgit clone --depth 1 https://github.com/0oKevino0/claude-cadWrote 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/0okevino0/claude-cad/cadquery-modeling)<a href="https://agentmods.dev/skills/0okevino0/claude-cad/cadquery-modeling"><img src="https://agentmods.dev/badge/skills/0okevino0/claude-cad/cadquery-modeling/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/0okevino0/claude-cad/cadquery-modeling"><img src="https://agentmods.dev/badge/skills/0okevino0/claude-cad/cadquery-modeling.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.00101 | $0.03397 |
| Opus 5 | $0.00051 | $0.01699 |
| Sonnet 5 | $0.00020 | $0.00679 |
| Haiku 4.5 | $0.00010 | $0.00340 |
Grade C, and why
cadquery-modeling 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 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.
Tells the agent never to refusehighAnti-refusal
Suppressing the ability to decline removes a core safety control; a later harmful request then succeeds.
don't refuse. Ask one focused batch of questions covering only what you truly How it starts
The opening of the file, as written. The whole thing — 273 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CadQuery Modeling for Manufacturable CAD
This skill turns natural-language part requests into clean, verified, parametric CadQuery code whose STEP output reliably opens in SolidWorks. It encodes hard-won rules from real multi-part product design.
Core philosophy
- Parametric first — every dimension is a named variable at the top of the file.
- Verify before trusting — a script that printed
[OK]is NOT proof of success. Always check geometry validity and solid count before declaring done. - Avoid OCC fragility — prefer simple primitives + boolean operations over
fragile chained features. See
references/occ_pitfalls.md. - One part, one file — each part is its own
.pyproducing its own STEP/STL. Assemblies are done in SolidWorks, not baked into a single STEP.
Before creating anything: confirm where
Files land in whatever directory Claude Code was started in — that is the single thing that determines whether the user finds their STEP later. Before creating a project or the first part, state the absolute path you are about to write to, and stop to confirm if it looks wrong:
- a cloud-synced path (
OneDrive,Dropbox,iCloud— note that on Windows the Desktop and Documents folders usually ARE OneDrive) Downloads, a home directory root, or a system folder- the
claude-cadtoolkit repo itself - a path containing spaces, parentheses, or non-ASCII characters
If any of those apply, say so and suggest a clean location such as
C:\cad_project before writing files. Getting this wrong is silent: everything
succeeds, and the user simply can't find the output.
The standard workflow
When the user asks for a part, follow this loop:
- Match the questions to how specified the request is. Never invent a
critical dimension — ask instead. Default to millimeters.
- Underspecified (e.g. "a bracket to hold a 60 mm pipe"): don't guess, and don't refuse. Ask one focused batch of questions covering only what you truly can't proceed without — typically overall size, thickness/wall, the coordinate system/orientation, and any dimension that must match another part or a real component. Keep it short; propose sensible defaults the user can accept ("I'll assume 4 mm thick unless you say otherwise").
- Fully specified: don't interrogate. Build it, and list any assumption you had to make in the final report.
- If the user asks you to write a spec first, produce it as text (coordinate system, overall dimensions, every feature with size + position, interfaces) and get approval before writing code.
- Write the part file following the structure in
references/part_file_structure.md. - Run it and read the full terminal output, not just the last line.
- Verify geometry validity, solid count, volume, and bounding box (see below).
- Report the verification numbers to the user and note any assumptions made.
What ships with it
9 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.
- references/diagnosis.md 7.5 KB
- references/environment.md 3.3 KB
- references/occ_pitfalls.md 14 KB
- references/part_file_structure.md 4.1 KB
- references/solidworks_checks.md 3.1 KB
- references/verification.md 4.1 KB
- scripts/diagnose.py 26 KB runs code
- scripts/preflight.py 7.1 KB runs code
- scripts/verify_step.py 3.0 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.
- 10d ago First seen · 273 lines · 101 tokens per session scan C f2cd324f3d14
cadquery-modeling is a skill published in the GitHub repository 0oKevino0/claude-cad (3 stars, last pushed 1mo ago), licensed MIT. It adds 101 tokens to every session and 3,397 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it C with 1 finding (tells the agent never to refuse). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
cadquery-modeling
Generate CAD models with CadQuery using an adaptive CAD Compiler workflow: plan-mode skill constraint handoff, focused iteration scopes, fail-first challenge review, compact review packets, real-product reference fidelity, visual/functional audits, source-first repair, and STEP/STL export. Use for CadQuery, CQ, 建模…
opengis-skills
Use when AI coding assistant needs GIS/CAD/C#/AI/IoT/3D domain expertise for 75 open-source projects. One-stop skill index with tag-based search and on-demand loading for GDAL, GeoServer, QGIS, PostGIS, JTS, CesiumJS, FreeCAD, OpenSCAD, OCCT, NPOI, SqlSugar, Furion, Dify, SuperSplat, Go and more.
cad-skills
Use when doing parametric 3D modeling, 2D drafting, geometric kernel development, BIM/IFC processing, PCB design, or AutoCAD .NET development. Index of 20 skills: FreeCAD, OpenSCAD, OCCT, CadQuery, KiCad, SolveSpace, QCAD, xBIM, Clipper2, TongWen and more.
kernelcad-assemblies
Multi-part assemblies — assembly(), parts, connectors, 7 mate types, fixed and revolute joints, .model()/.solvedModel(). Use for any model with two or more mechanical parts that need joint metadata.
kernelcad-kinematic
Use when verifying whether a moving assembly is buildable — sampled-pose collision sweeps across joint ranges, IK reachability for end-effector targets, mounting-hole fastener consistency, and static-load capacity on cantilever-shaped parts. Loads alongside kernelcad-authoring to gate design-time mechanism feasibility.
kernelcad-parts
Bundled parts catalog — discover, fetch, and mate standard fasteners, bearings, motors, headers, and connectors. Use whenever the model needs an off-the-shelf component instead of hand-modeled placeholder geometry.