solidworks-automation

solidworks-automation is a skill for Claude Code, Codex from delancy827/solidworks-skills. It costs 37 tokens per session (1,204 once invoked), scanned A, original, MIT.

A SolidWorks automation guide for creating 3D models, assemblies, drawings, simulations, sheet-metal designs, molds, surfaces, and electrical designs through Python, C#, or VBA. SolidWorks is computer-aided design software used for mechanical engineering.

In plain words
What is it for?
Use it when automating SolidWorks modeling, assembly creation, engineering drawings, or analyses, including clevis-and-pin mechanisms.
Why use it?
It provides procedures and safety checks for turning drawings and design requirements into SolidWorks work through its programming interface.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when automating SolidWorks modeling, assembly creation, engineering drawings, or analyses, including clevis-and-pin mechanisms.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/delancy827/solidworks-skills/solidworks-automation
Install

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.

Any agent
npx skills add delancy827/solidworks-skills --skill solidworks-automation
Clone the repo
git clone --depth 1 https://github.com/delancy827/solidworks-skills

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for solidworks-automation

README.md
[![agentmods](https://agentmods.dev/badge/skills/delancy827/solidworks-skills/solidworks-automation/github.svg)](https://agentmods.dev/skills/delancy827/solidworks-skills/solidworks-automation)
Your own site
<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.

agentmods 80×15 button for solidworks-automation

Your own site · 80×15
<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>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,204 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
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 content
    Fix: Review the flagged content for security risks. Ensure no credentials, secrets, or sensitive data are exposed.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 29d ago against content hash 69afb3ea5a37, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

The scan reads SKILL.md. This mod also ships 7 executable files (examples/01_basic_part.py, examples/02_assembly.py, examples/03_drawing.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

solidworks-automation/SKILL.md · 61 lines

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 to Dispatch when no usable instance exists.
  • Reuse sw.ActiveDoc when it matches the task. Create a new document only when explicitly required or no suitable document exists.
  • Wrap temporary documents in try...finally and 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.
  1. 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.
  2. 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.
  3. 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 FeatureExtrusion2 for 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.
  4. Implement in the project workspace. Keep builder code modular, parameter-driven, and testable without loading the full manual.
  5. 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.
  6. Report truthfully. Distinguish completed geometry, markers-only holes, approximations, and unsupported features. Never describe an uncut marker as a through hole.

Read the full file on GitHub · 61 lines

Changes

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.

  1. 29d ago Changed · +1 lines 69afb3ea5a37
  2. 1mo ago Changed · -3,357 lines · -41 tokens per session 02060724df63
  3. 2mo ago First seen · 3,417 lines · 78 tokens per session scan A 92b44307d36d

Subscribe to this mod's changes

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.

Related

solidworks-automation compared with skills from other repositories

solidworks-automation next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
solidworks-automationdelancy827/solidworks-skillsSkill1531mo agoMITA37Claude Code, Codex
solidworks-vibecadwzyn20051216/solidworks-automation-skillSkill1.8k2d agoMITA96Claude Code, Codex
bdf_font_converterespressif/esp-clawSkill2.4k5d agoApache-2.0A27Claude Code, Codex
fluidcad-assemblyFluid-CAD/FluidCADSkill693yesterdayMITA154Claude Code, Codex
gen-assemblypartcad/partcadSkill515todayApache-2.0A111Claude Code
gen-sketchpartcad/partcadSkill515todayApache-2.0A201Claude Code
gen-partpartcad/partcadSkill515todayApache-2.0A114Claude Code