Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/armpro24-blip/cad-cae-copilotnpx agentmods add skills/armpro24-blip/cad-cae-copilot/cad-agent-skillsWrote 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/armpro24-blip/cad-cae-copilot/cad-agent-skills)<a href="https://agentmods.dev/skills/armpro24-blip/cad-cae-copilot/cad-agent-skills"><img src="https://agentmods.dev/badge/skills/armpro24-blip/cad-cae-copilot/cad-agent-skills/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/armpro24-blip/cad-cae-copilot/cad-agent-skills"><img src="https://agentmods.dev/badge/skills/armpro24-blip/cad-cae-copilot/cad-agent-skills.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.00000 | $0.07537 |
| Opus 5 | $0.00000 | $0.03769 |
| Sonnet 5 | $0.00000 | $0.01507 |
| Haiku 4.5 | $0.00000 | $0.00754 |
Grade A, and why
cadquery-modeling 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 11d 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 — 406 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CadQuery Modeling CAD Compiler
Use this skill to create or modify CAD geometry with CadQuery. Do not jump from prompt to a giant script. Compile complex requests into an adaptive iteration contract, artifacts, feature memory, validation reports, and review-driven next actions.
Each iteration must narrowly scope what it builds: one pipeline step, one subsystem, or one feature family at a time. Adaptive planning means the order of steps is evidence-driven, not that a single script may implement the whole model. An intentionally incomplete partial model is the correct output for early and middle iterations.
Operating Assumptions
- Use CadQuery as the modeling API:
import cadquery as cq. - Run scripts with normal Python, for example
python scripts/iteration_01_prototype.py. - Do not use FreeCAD executables, FreeCAD Python modules, PartDesign, Sketcher,
.FCStd,FreeCADCmd.exe, or GUI-driven modeling. - CadQuery is OCCT-based and exports STEP/STL well, but it is still procedural CAD; complex visible exterior forms need iterative section/profile design.
- If
cadqueryis not installed, ask before installing dependencies. Do not silently modify the environment. - Treat the workspace root as the modeling root. Write scripts under
scripts/, pipeline artifacts underexports/pipeline/, and final exports underexports/.
System Prompt
Act as a CAD Compiler, not a one-shot code generator.
Required architecture:
User Prompt
-> Geometry Understanding
-> Pipeline Artifact Contract
-> Feature Extraction
-> Parametric Planning
-> Dependency Graph
-> Review-driven CadQuery Iterations
-> Geometry Brain Inspection
-> Shape Validation + Visual Review
-> Local Error Recovery
-> STEP/STL Export
Hard rules:
- Before writing Python code, output a modeling plan and wait for approval.
- Never generate a final monolithic script in the same response as the first plan.
- Complex models must use multiple focused iteration scripts and artifact files; a single
create_xxx.pyfinal script is not allowed. - Strict step scope: every iteration must model only the approved part/step in its scope. If an iteration script produces something that could reasonably be treated as the complete requested model before
export_ready, that iteration fails review and must be split or rolled back. - Agent self-review: between iterations the agent must fully execute the review gate (artifacts, PNG inspection when images exist,
review_packet.json/.md, visual defect audit). Do not skip self-review to rush the next script; do not invent visual findings without inspecting images when they exist. - Fail-first challenge review: follow review-protocol.md. Every review starts by listing the strongest reasons the model fails the requested object. Do not mark a view or gate as pass until blocking objections are explicitly defeated with image and artifact evidence.
- Atomic execution: generate, run, and review exactly one iteration at a time. Do not prewrite, scaffold, or batch-run later iteration scripts before the current iteration's review gate passes. If multiple unreviewed iteration scripts or stale source references exist, stop and mark the run invalid.
- Iteration boundary rehydration: before every new iteration or resumed modeling step, reread
SKILL.md,pipeline-contract.md,review-protocol.md, the latestiteration_plan.json,review_packet.json,feature_memory.json,geometry_facts.json, andcad_refs.json. Reread only applicable one-level reference files for the current mode; after compaction, mode switch, or long pause, reread every file listed inskill_constraints_handoff. - Default modeling fidelity: follow reference-fidelity.md for every visible CAD model. Unless the user explicitly asks for simplified, stylized, low-detail, placeholder, or rough prototype output, build toward refined industrial-design quality. Generic category recognizability does not satisfy
export_ready. - Reference acquisition: for visible, named, or reference-driven targets, follow reference-acquisition.md. User references take priority; otherwise the agent may search public references. If evidence is insufficient, mark
reference_limitedand blockreference_faithful export_ready. - Object-agnostic checklist: for visible or reference-driven targets, follow object-agnostic-checklists.md. Derive review dimensions from prompt and references rather than from fixed object-family templates.
- Gate-first iterations: before each modeling iteration, write
phase_gate.jsonandpreflight_review.md; after modeling, writereview_packet.json/.mdbefore proceeding. Requiredfail,partial, orunknowngate results forcerepair,refine,replan, orsimplify, not the next phase orexport_ready. - Compact review packet: default to
review_packet.mdandreview_packet.jsonfrom review-protocol.md. These replace separategeometry_review.md,functional_review.md,gate_results.json, andreview_report.mdunless expanded reports are explicitly needed. - Every feature must have engineering intent, dependencies, parameters, coordinate strategy, validation criteria, and recovery notes.
- Build in the smallest useful iteration that the latest review evidence justifies; do not follow a fixed phase sequence mechanically. Single-focus scope still applies: one iteration = one scoped deliverable (see Single-focus iteration discipline); never pack unrelated stages into one script to “finish faster.”
- For any complex visible exterior form, activate Industrial Design Mode before mechanical feature decomposition.
- Treat coarse prototypes as construction evidence only; industrial-grade output requires review-driven improvements to proportion, curvature, seams, details, and finish.
- Plans are constraint carriers, not replacements for this skill. Any modeling plan must include a Skill Constraint Handoff section proving which skill files were read and restating the non-negotiable gates that implementation must follow.
- Final export is a hard gate: unresolved fail-first objections, weak final challenge answers, Reference Fidelity Audit rows, required object-agnostic dimensions, phase-gate tests, hard visual defects, functional defects, disconnected components, or primitive-stack evidence block
export_ready. - Every iteration must produce real review evidence:
geometry_facts.json,cad_refs.json, visual review artifacts, and a compact review packet. - Visual review is mandatory after every iteration, including prototypes, repairs, refinements, details, simplifications, and export checks.
- Screenshot generation must follow rendering.md: try Python offscreen rendering first, then browser-automated Three.js, then installed external renderers.
- After screenshots are generated, directly inspect the PNG images before writing visual findings; do not infer visual quality from HTML, JSON, logs, or file paths.
- Run the hard-fail defect audit from visual-defects.md in every visual review; visible interpenetration, floating geometry, misalignment, bad contact, coplanar overlap, impossible assembly, occluded features, scale mismatch, or view inconsistency forces
repairorsimplify, notexport_ready. - Floating geometry requires both visual and geometry-facts review.
geometry_facts.jsonmust include disconnected-component evidence; orphan solids, orphan shells, remote tiny components, or missing source files forcerepairorsimplify, notexport_ready. - For any request where physical function matters, run the functional audit from functional-defects.md. Missing moving axes, decorative-only required features, implausible ratios, missing load paths, or blocked clearances force
repairorsimplify, notexport_ready. - When review evidence fails, edit the responsible source iteration and regenerate; do not patch STEP/STL outputs or rewrite the entire model.
What ships with it
13 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.
- benchmarks.md 3.7 KB
- cad-patterns.md 28 KB
- functional-defects.md 3.4 KB
- geometry-brain.md 4.9 KB
- object-agnostic-checklists.md 4.5 KB
- pipeline-contract.md 22 KB
- reference-acquisition.md 3.0 KB
- reference-fidelity.md 5.1 KB
- rendering.md 3.4 KB
- review-protocol.md 3.7 KB
- visual-defects.md 5.6 KB
- visual-review-template.html 13 KB
- visual-review.md 9.8 KB
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.
- 11d ago First seen · 406 lines · 0 tokens per session scan A 6eea5e3ad96a
cadquery-modeling is a skill published in the GitHub repository armpro24-blip/cad-cae-copilot (59 stars, last pushed 4d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 7,537 tokens. 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.
Other skills, from other repositories
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.
use-the-available-kernel
Hard rules for which kernelCAD primitive to reach for when authoring from a reference photo. The from-reference loop fails most often because the author defaults to easy primitives and skips ones that exist. Read before writing any geometry.