solidworks-mcp: Skill for Claude Code

.github/skills/solidworksmodeling/SKILL.md

solidworksmodeling is a skill for Claude Code, Codex from just1step/solidworks-mcp. It costs 47 tokens per session (2,512 once invoked), scanned A, original, MIT.

A set of instructions for editing SolidWorks parts and assemblies, which are 3D models of individual components and how they fit together. It guides geometry changes, sketches, cuts, extrusions, and assembly checks through connected tools.

In plain words
What is it for?
Use it to fix collisions between parts, modify 3D geometry, create face-based sketches, add assembly mates, save changes, and verify the result.
Why use it?
It reduces errors caused by editing the wrong document, component, face, or sketch location. It also helps locate the actual part responsible for interference in large assemblies.

Skill for Claude CodeCodex

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

This is just1step/solidworks-mcp's own configuration. It tells Claude Code and Codex how to work on solidworks-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything solidworks-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to just1step/solidworks-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.

Copy the file
curl -O https://raw.githubusercontent.com/just1step/solidworks-mcp/main/.github/skills/solidworksmodeling/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/just1step/solidworks-mcp

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 solidworksmodeling

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/just1step/solidworks-mcp/solidworksmodeling"><img src="https://agentmods.dev/badge/skills/just1step/solidworks-mcp/solidworksmodeling.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,512 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.
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.00047 $0.02512
Opus 5.5 $0.00019 $0.01005
Sonnet 5.5 $0.00009 $0.00502
Haiku 4.5 $0.00005 $0.00251

Measured 2mo ago against content hash 434721d1bba7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

solidworksmodeling 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 2mo 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.

.github/skills/solidworksmodeling/SKILL.md · 142 lines

How it starts

The opening of the file, as written. The whole thing — 142 lines — stays where its author put it; the contents beside it link to each section on GitHub.

SolidWorks Modeling Skill

Use this skill when the task involves editing a SolidWorks part or assembly through MCP tools, especially for interference fixes, topology-driven selection, sketch-based feature work, or assembly verification.

Core Rules

  • Confirm the active document first. Do not assume the visible window is the part you intend to edit.
  • Opening a document is not the same as activating it. If a document is already open, explicitly confirm that it became the active document before reading components, replacing parts, or editing geometry.
  • Treat SolidWorks as a selection-first UI. Use the FeatureManager tree to identify the real target object, then use commands or MCP tools against that confirmed target.
  • For assembly interference issues, identify the actual component file paths before changing geometry.
  • In large or nested assemblies, do not stop at the top-level component list. Prefer ListComponentsRecursive to locate the concrete part file that owns the interfering geometry.
  • Before any sketch-based operation, clear the current selection, select a real planar face on the target solid, and only then start the sketch.
  • Do not create sketches in free space when the intent is to modify model geometry. Face-hosted sketches are materially more stable.
  • When reasoning about SolidWorks APIs, prefer official API names and official preconditions. Do not invent wrapper-style method names and then reason from those invented semantics.
  • Before reading the FeatureManager tree or deleting features or loose sketches, call GetEditState first. If IsEditing is true, finish the active sketch before ListFeatureTree, DeleteFeatureByName, or DeleteUnusedSketches.
  • If a face-based cut or boss fails, verify the feature direction. A top-face relief cut often needs the direction flipped so the feature goes into the body.
  • In localized SolidWorks environments, do not rely on English plane labels. Prefer semantic plane resolution or topology-driven selection.
  • If the target part is reused in the assembly, first determine how many instances reference that same part file and explicitly tell the user which other placements will also change before editing the geometry.
  • If only one reused placement needs to change, prefer replacing that single instance with a separate part file instead of editing the shared source part.
  • ReplaceComponents2 only replaces top-level components in the active assembly. For nested content, open the owning subassembly, activate it, replace the child there, save, then return to the parent assembly for verification.
  • Preserve functional geometry unless the user explicitly requests otherwise. For pulley brackets, keep pulley hole size and pulley center position unchanged while adjusting only clearance material.
  • Prefer the smallest edit that removes the issue, such as a shallow relief cut or reducing a non-functional top surface.
  • Treat extrude, cut, revolve, shell, and other shape-changing feature edits as high-risk operations. After each such edit, export and inspect at least front, top, and right views before trusting the result.
  • Never rely on a single view after a high-risk geometry edit. If the shape still looks ambiguous, also inspect an isometric view.
  • If the three-view check shows an unexpected silhouette, floating geometry, or any unclear result, stop and show the views to the user before continuing with more edits.
  • Save the edited part before reopening or checking the parent assembly.
  • After saving, verify the result in the assembly and confirm there is visible clearance rather than coplanar overlap.
  • After any replacement-based fix, rerun a directed interference check against the intended target pair. An alternate part name or file does not prove that clearance now exists.
  • When named selection is unreliable, inspect topology first and select faces or edges by index.
  • If document or assembly queries suddenly start failing with 0x800706BA, assume the cached COM session may be stale and verify Hub health before editing geometry.

Read the full file on GitHub · 142 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. 2mo ago First seen · 142 lines · 47 tokens per session scan A 434721d1bba7

Subscribe to this mod's changes

solidworksmodeling is a skill published in the GitHub repository just1step/solidworks-mcp (31 stars, last pushed 7mo ago), licensed MIT. It adds 47 tokens to every session and 2,512 once invoked, about $0.0002 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

solidworksmodeling compared with skills from other repositories

solidworksmodeling next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
solidworksmodelingjust1step/solidworks-mcpSkill317mo agoMITA47Claude 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/partcadSkill515yesterdayApache-2.0A111Claude Code
gen-partpartcad/partcadSkill515yesterdayApache-2.0A114Claude Code
gen-sketchpartcad/partcadSkill515yesterdayApache-2.0A201Claude Code