solidworks-vibecad

solidworks-vibecad is a skill for Claude Code, Codex from wzyn20051216/solidworks-automation-skill. It costs 96 tokens per session (1,018 once invoked), scanned A, original, MIT.

A planning guide for turning natural-language mechanical design requests into structured, parameterized SolidWorks plans that can be reviewed before execution.

In plain words
What is it for?
Use it to plan parts such as CNC mounts, connecting blocks, brackets, base plates, and hole patterns, then validate the plan and produce a SolidWorks execution outline.
Why use it?
It helps make repeated part designs consistent and check manufacturing rules such as hole sizes, wall thickness, chamfers, and fillets before creating geometry.

Skill for Claude CodeCodex

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

Good fit Use it to plan parts such as CNC mounts, connecting blocks, brackets, base plates, and hole patterns, then validate the plan and produce a SolidWorks execution outline.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wzyn20051216/solidworks-automation-skill/solidworks-vibecad
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 wzyn20051216/solidworks-automation-skill --skill solidworks-vibecad
Clone the repo
git clone --depth 1 https://github.com/wzyn20051216/solidworks-automation-skill

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-vibecad

README.md
[![agentmods](https://agentmods.dev/badge/skills/wzyn20051216/solidworks-automation-skill/solidworks-vibecad/github.svg)](https://agentmods.dev/skills/wzyn20051216/solidworks-automation-skill/solidworks-vibecad)
Your own site
<a href="https://agentmods.dev/skills/wzyn20051216/solidworks-automation-skill/solidworks-vibecad"><img src="https://agentmods.dev/badge/skills/wzyn20051216/solidworks-automation-skill/solidworks-vibecad/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-vibecad

Your own site · 80×15
<a href="https://agentmods.dev/skills/wzyn20051216/solidworks-automation-skill/solidworks-vibecad"><img src="https://agentmods.dev/badge/skills/wzyn20051216/solidworks-automation-skill/solidworks-vibecad.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 96 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,018 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: 2 findings, 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 Agent Snooping · line 58
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Agent Snooping · line 64
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
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.00096 $0.01018
Opus 5 $0.00048 $0.00509
Sonnet 5 $0.00019 $0.00204
Haiku 4.5 $0.00010 $0.00102

Measured 13d ago against content hash c6c8df937f7b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

solidworks-vibecad 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 13d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/plan_from_brief.py, scripts/sw_execution_outline.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.

subskills/solidworks-vibecad/SKILL.md · 78 lines

What it actually says

SolidWorks VibeCAD

核心定位

本子技能把“自然语言想法”转成可执行、可审查的 SolidWorks 参数化设计计划。它不是临时生成 VBA 宏,而是把重复机械设计固化成:

行业知识库 + 参数 schema + 提示词模板 + 稳定 API 封装 + 自动审查

LLM 负责理解意图和补齐参数;SolidWorks API 负责确定性执行;知识库负责工程正确性;审查链路负责防止“看起来成功但几何错误”。

适用任务

  • 用户用自然语言描述零件,希望生成参数化建模计划。
  • 需要把高频机械件模板化,如 CNC 安装座、连接块、L 型支架、底板、孔阵列。
  • 需要沉淀行业知识库,如攻丝底孔、通孔、沉孔、倒角、圆角、最小壁厚。
  • 需要给 SolidWorks 自动化执行器提供 JSON 计划和风险门禁。
  • 需要把成功案例变成可复用模板,而不是每次重新写宏。

工作流

  1. 读取用户需求,确认零件族、工艺、材料、输出格式和约束。
  2. 参考 knowledge/manufacturing_rules.yaml 补齐保守默认值。
  3. prompts/solidworks_parametric_planner.md 约束 LLM 输出结构化计划。
  4. schemas/design_plan.schema.json 校验计划字段。
  5. 运行 scripts/plan_from_brief.py 生成本地规则计划,或把 LLM 输出保存为同 schema JSON。
  6. 运行 scripts/sw_execution_outline.py 生成 SolidWorks 执行摘要。
  7. 后续执行时交给父技能 scripts/sw_session.pyscripts/sw_part.pyscripts/sw_review.py 和相关专项子技能。

快速命令

py subskills\solidworks-vibecad\scripts\plan_from_brief.py `
  --brief-file subskills\solidworks-vibecad\examples\motor_mount_brief.txt `
  --out subskills\solidworks-vibecad\examples\motor_mount_plan.json

py subskills\solidworks-vibecad\scripts\sw_execution_outline.py `
  --plan subskills\solidworks-vibecad\examples\motor_mount_plan.json `
  --out subskills\solidworks-vibecad\examples\motor_mount_execution.md

与父技能的关系

  • solidworks-automation:连接 SolidWorks、建模、导出、审查的主技能。
  • solidworks-vibecad:自然语言 -> 参数化设计计划。
  • solidworks-fillet-chamfer-cnc:复杂 CNC 圆角/倒角执行经验。
  • solidworks-threaded-holes:螺纹孔、攻丝底孔和螺纹表达执行经验。

当计划中出现圆角/倒角密集的 CNC 件,继续读取:

subskills/solidworks-fillet-chamfer-cnc/SKILL.md

当计划中出现 M3/M4/M5/M6/M8 螺纹孔,继续读取:

subskills/solidworks-threaded-holes/SKILL.md

少走弯路

  • 不要让 LLM 直接输出 SolidWorks 长参数 COM 调用。
  • 不要把计划 JSON 当作几何成功;必须经过真实 SolidWorks 执行和 sw_review 审查。
  • 不确定参数可以用保守默认值,但必须写入 assumptions
  • 螺丝固定孔要区分通孔、沉孔、攻丝孔;不能把 M5 螺丝固定孔 默认误建成 M5 攻丝孔。
  • 输出计划必须包含 review_plan,否则不能进入自动建模。

当前状态

当前阶段已实现需求文本到设计计划和执行摘要的最小闭环。真实 SolidWorks 执行器应作为下一阶段接入父技能稳定 API。

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. 13d ago First seen · 78 lines · 96 tokens per session scan A c6c8df937f7b

Subscribe to this mod's changes

solidworks-vibecad is a skill published in the GitHub repository wzyn20051216/solidworks-automation-skill (890 stars, last pushed 5d ago), licensed MIT. It adds 96 tokens to every session and 1,018 once invoked, about $0.0005 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-30.

Related

Other skills, from other repositories

solidworks-api

SolidWorks 2023 API/SDK coding assistant. Covers part modeling, sketches, features (extrude/revolve/cut), patterns, mates, materials, STEP export, and shield machine cutterhead design. Triggers: SolidWorks, SOLIDWORKS, SLDWORKS, ISldWorks, IModelDoc2, IFeatureManager, sketch, extrude, revolve, cut, pattern, mate…

guoleizhen717/solidworks-api-skill · 118 tokens

kompas-mcp-operator

Operate KOMPAS-3D MCP for 2D drawings, 3D parts, CAD-as-Code scripts, screenshots, exports, runtime memory, remote/local recovery, and Graph Brain diagnostics. Use when Codex needs to create, edit, inspect, validate, or debug geometry through mcpkompas3d, especially for sketch-feature chains, reusable scenarios…

dwnmf/KOMPAS-3D-MCP-bin · 95 tokens

kicad-agent

Inspect and modify KiCad schematics and PCB layouts, run ERC/DRC, and prepare traceable fabrication exports using the installed version's CLI or documented APIs. Use for board edits, library and footprint issues, stale checks after edits, copper-zone refill, Gerber/drill/BOM exports, and saved-state verification.

walterkken/doc-driven-engineering-software-skills · 70 tokens

autocad-agent

Automate AutoCAD drafting and CAD workflows through doc-driven execution: discover installed AutoCAD/Core Console/API access, retrieve official/local command and API documentation, generate AutoLISP, scripts, .NET guidance, DXF transformations, or command sequences, validate drawings, diagnose blockers, and search…

walterkken/doc-driven-engineering-software-skills · 111 tokens

solidworks-agent

Automate SOLIDWORKS modeling, assembly, drawing, and export workflows through doc-driven execution: discover installed SOLIDWORKS/API access, retrieve official/local API documentation, generate VBA/API macro or COM automation guidance, diagnose blockers, and search trusted SOLIDWORKS forums when needed. Use when Codex…

walterkken/doc-driven-engineering-software-skills · 107 tokens

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.

earthtojake/text-to-cad · 79 tokens