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 delancy827/solidworks-skills --skill solidworks-automationgit clone --depth 1 https://github.com/delancy827/solidworks-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/delancy827/solidworks-skills/solidworks-automation)<a href="https://agentmods.dev/skills/delancy827/solidworks-skills/solidworks-automation"><img src="https://agentmods.dev/badge/skills/delancy827/solidworks-skills/solidworks-automation/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/delancy827/solidworks-skills/solidworks-automation"><img src="https://agentmods.dev/badge/skills/delancy827/solidworks-skills/solidworks-automation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium analysis-evasion · line 1 Suspicious Unicode normalization or mixed-script contentFix: Review the flagged content for security risks. Ensure no credentials, secrets, or sensitive data are exposed.
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.00037 | $0.01204 |
| Opus 5.5 | $0.00015 | $0.00482 |
| Sonnet 5.5 | $0.00007 | $0.00241 |
| Haiku 4.5 | $0.00004 | $0.00120 |
Grade A, and why
solidworks-automation 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 29d 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 — 61 lines — stays where its author put it; the contents beside it link to each section on GitHub.
SolidWorks Automation
Use this skill when the task requires executable SolidWorks automation code or a live COM session for parts, assemblies, drawings, Simulation, Flow Simulation, sheet metal, weldments, molds, or tooling. For design-only decisions or parameterization methodology without implementation, use sw-designer instead.
Operating rules
- Reuse an active SolidWorks instance with
GetActiveObject("SldWorks.Application"); only fall back toDispatchwhen no usable instance exists. - Reuse
sw.ActiveDocwhen it matches the task. Create a new document only when explicitly required or no suitable document exists. - Wrap temporary documents in
try...finallyand close them by title; do not leave orphan windows or COM references. - Treat units as meters inside the API. Keep user-facing dimensions in millimeters and convert explicitly.
- Before any mutation, capture a geometry fingerprint: feature count, body count, bbox, volume, and relevant dimensions.
- After each mutation, force a rebuild, re-read the fingerprint, and assert the expected change. Do not report success from a return value alone.
- If an assertion fails, stop the current strategy, print the traceback and current feature-tree state, and propose a concrete fallback. Do not silently catch the failure.
- Do not guess API names, argument counts, or COM null handling. Probe the live object with
dir(),get_com_member, or a tiny subprocess before using an uncertain API. - Keep real project files and generated models under
F:\codexspace\...; do not copy full projects to the Desktop or C drive.
Recommended workflow
- Preflight capability. State whether the current runtime can inspect images/PDFs and whether SolidWorks is available. For drawing-driven work, identify the drawing source and who or what performed visual verification.
- Build a dimension ledger. Separate exact, inferred, designer-choice, and unsupported dimensions. Bounding-box matching is not sufficient; account for recesses, lands, grooves, PCD holes, chamfers, and secondary features.
- Choose an execution channel.
- Prefer Python COM for connection, sketching, additive extrudes, measurements, and file I/O.
- Prefer one sketch with outer and inner closed loops plus
FeatureExtrusion2for through holes and rings. - Use C# or a generated VBA macro for methods that Python COM cannot call reliably, especially complex cut features with more than 12 parameters.
- Implement in the project workspace. Keep builder code modular, parameter-driven, and testable without loading the full manual.
- Execute and validate. Compile the script first. If SolidWorks is available, run it, force a rebuild, then assert feature/body counts, bbox, volume, and output-file existence. Use screenshots or rendered views when geometry intent matters.
- Report truthfully. Distinguish completed geometry, markers-only holes, approximations, and unsupported features. Never describe an uncut marker as a through hole.
What ships with it
14 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.
- examples/01_basic_part.py 5.4 KB runs code
- examples/02_assembly.py 4.3 KB runs code
- examples/03_drawing.py 4.4 KB runs code
- examples/04_simulation.py 4.5 KB runs code
- examples/verified/assemble_two_link_arm.py 7.7 KB runs code
- examples/verified/make_typelib_wrapper.py 1.1 KB runs code
- examples/verified/README.md 1.5 KB
- examples/verified/sw_common.py 10 KB runs code
- references/assembly-debugging-lessons.md 3.8 KB
- references/automation-manual.md 113 KB
- references/com-dualinterface-quirks.md 9.1 KB
- references/drawing-to-3d-lessons.md 6.7 KB
- references/materials-forming-mold-lessons.md 15 KB
- test-prompts.json 2.6 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.
- 29d ago Changed · +1 lines 69afb3ea5a37
- 1mo ago Changed · -3,357 lines · -41 tokens per session 02060724df63
- 2mo ago First seen · 3,417 lines · 78 tokens per session scan A 92b44307d36d
solidworks-automation is a skill published in the GitHub repository delancy827/solidworks-skills (153 stars, last pushed 1mo ago), licensed MIT. It adds 37 tokens to every session and 1,204 once invoked, about $0.0001 per session on Opus 5.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-30.
solidworks-automation compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| solidworks-automationdelancy827/solidworks-skills | Skill | 153 | 1mo ago | MIT | A | 37 | Claude Code, Codex |
| solidworks-vibecadwzyn20051216/solidworks-automation-skill | Skill | 1.8k | 2d ago | MIT | A | 96 | Claude Code, Codex |
| bdf_font_converterespressif/esp-claw | Skill | 2.4k | 5d ago | Apache-2.0 | A | 27 | Claude Code, Codex |
| fluidcad-assemblyFluid-CAD/FluidCAD | Skill | 693 | yesterday | MIT | A | 154 | Claude Code, Codex |
| gen-assemblypartcad/partcad | Skill | 515 | today | Apache-2.0 | A | 111 | Claude Code |
| gen-sketchpartcad/partcad | Skill | 515 | today | Apache-2.0 | A | 201 | Claude Code |
| gen-partpartcad/partcad | Skill | 515 | today | Apache-2.0 | A | 114 | Claude Code |