Borrowing it
Nothing to install: this file belongs to LokmenoWer/best-cad-mcp. 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/LokmenoWer/best-cad-mcp/master/.agents/skills/draw-assembly-diagrams/SKILL.mdgit clone --depth 1 https://github.com/LokmenoWer/best-cad-mcpWrote 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/lokmenower/best-cad-mcp/draw-assembly-diagrams)<a href="https://agentmods.dev/skills/lokmenower/best-cad-mcp/draw-assembly-diagrams"><img src="https://agentmods.dev/badge/skills/lokmenower/best-cad-mcp/draw-assembly-diagrams/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/lokmenower/best-cad-mcp/draw-assembly-diagrams"><img src="https://agentmods.dev/badge/skills/lokmenower/best-cad-mcp/draw-assembly-diagrams.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.00186 | $0.04008 |
| Opus 5 | $0.00093 | $0.02004 |
| Sonnet 5 | $0.00037 | $0.00802 |
| Haiku 4.5 | $0.00019 | $0.00401 |
Grade A, and why
draw-assembly-diagrams 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 12d 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 — 360 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Draw Assembly Diagrams
Use this skill as the operating guide for best-cad-mcp. Treat AutoCAD as the
source of truth once a DWG exists, external images as hypotheses until converted
to validated ImageDrawingSpec/v1, SQLite as model-private CAD memory,
prompt/resources as reusable guidance, and CADPlan as the guarded path for
multi-step generation or repair.
Reference Routing
Read only the references needed for the task:
- Assembly drawing, BOM, item-numbering, section, exploded view, or
standards-compliance work: read
references/assembly/index.md. - When no project/company/national standard is specified, use
references/assembly/standards/generic-mechanical.mdas the default mechanical assembly standard module. references/assembly-drawing-requirements.mdis a compatibility entrypoint; prefer the modular assembly references above for new work.- Prompt content should come from repository prompt files through MCP prompt
tools. Use
copy_drawing_from_imagefor one-image tracing,precise_draw_from_specfor text/spec generation,vlm_review_drawingfor visual review of an existing/exported CAD view, andrepair_drawingfor validation-led fixes.
Hard Boundaries
- Before live CAD work, call
check_runtime_environment(check_autocad=True). Treatok=falseas a blocker. For strict deployments, expectCAD_MCP_STRICT_PREFLIGHT=1to make the server refuse startup when required checks fail. - Use the active best-cad-mcp AutoCAD connection. Do not launch another AutoCAD process.
- Do not write standalone Python, VBA, LISP, or pywin32 COM scripts to modify drawings. Add or fix a best-cad-mcp tool when COM behavior is missing.
- Understanding, scans, CAD-IR/resource reads, semantic detection, dimension binding, constraints, validation, image trace preparation, VLM grounding, prompt reads, CADPlan validation, fidelity checks, and dry-runs must not modify the DWG.
- Editing requires a specific drawing/editing tool call or
execute_cad_plan(plan, allow_modify=True)after validation and dry-run. - Treat
send_command, modal plotting, screen-pick tools, purge, erase, password, close, and global undo/redo as unsafe unless explicitly requested. - Keep agent memory in SQLite resources, semantic objects, constraints, image trace records, VLM findings, or spatial annotations. Do not create hidden helper layers, XData, blocks, labels, or visible marks for memory.
- For one-image copy/tracing, the VLM call stays on the agent side. MCP prepares the image, validates the VLM JSON, compiles CADPlan, and enforces fidelity; it does not call a model provider directly.
- Never use
draw_raster_imageas a substitute for vectorizing/copying a drawing. Use it only when the user explicitly wants a reference underlay.
What ships with it
4 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.
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.
- 12d ago First seen · 360 lines · 186 tokens per session scan A 7e32f7075554
draw-assembly-diagrams is a skill published in the GitHub repository LokmenoWer/best-cad-mcp (12 stars, last pushed 19d ago), licensed MIT. It adds 186 tokens to every session and 4,008 once invoked, about $0.0009 per session on Opus 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-08-31.
Other skills, from other repositories
cad-viewer
Start CAD Viewer and return review links for CAD and robot-description files. Use when visually reviewing .step, .stp, .glb, .stl, .3mf, .dxf, .urdf, .srdf, or .sdf files, especially when handed off from CAD, URDF, SRDF, or SDF generation skills.
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…
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-assembly
Generate a PartCAD assembly (an ASSY that composes parts with placement and/or mates) from a description, 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, mechanism, or multi-part product.
render
Render a PartCAD object or a CAD file to a 2D image - PNG, JPEG, SVG or DXF - from one or many viewing angles (front, back, left, right, top, bottom, iso, or an arbitrary direction), with pc render for an object a package declares or pc adhoc render for a file that belongs to no package. Use for /pc:render or when the…