sample-models-guide

A reference guide to SolidWorks 2026 learning samples and the tools and prompts used to recreate their parts from scratch. SolidWorks is software for designing 3D mechanical models.

In plain words
What is it for?
Use it when locating SolidWorks sample models, selecting a complexity level, or testing part-creation tool calls against those samples.
Why use it?
It helps an agent find the sample files and choose an appropriate workflow for rebuilding a part with SolidWorks.

Agent

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.

agentmods
npx agentmods add agents/andrewbartels1/solidworksmcp-python/sample-models-guide
Clone the repo
git clone --depth 1 https://github.com/andrewbartels1/SolidworksMCP-python
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,141 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.03141
Opus 5 $0.00000 $0.01571
Sonnet 5 $0.00000 $0.00628
Haiku 4.5 $0.00000 $0.00314

Measured yesterday against content hash d04c04eff70f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

sample-models-guide 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 yesterday.

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.

docs/agents/sample-models-guide.md · 308 lines

How it starts

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

Sample Models Guide

This guide describes the SolidWorks 2026 learn samples shipped with SolidWorks and explains which MCP tools and prompting strategies best recreate each part from scratch. Reference files live at:

C:\Users\Public\Documents\SOLIDWORKS\SOLIDWORKS 2026\samples\learn\

Sample Path Detection (Integration Harness)

The integration harness now auto-discovers sample paths in this order:

  1. SOLIDWORKS_MCP_SAMPLE_MODELS_DIR (explicit override)
  2. C:\Users\Public\Documents\SOLIDWORKS\SOLIDWORKS 2026\samples\learn
  3. C:\Users\Public\Documents\SOLIDWORKS\SOLIDWORKS 2025\samples\learn
  4. C:\Users\Public\Documents\SOLIDWORKS\SOLIDWORKS 2024\samples\learn
  5. C:\Users\Public\Documents\SOLIDWORKS\SOLIDWORKS 2023\samples\learn
  6. C:\Users\Public\Documents\SOLIDWORKS\SOLIDWORKS 2022\samples\learn

Set the override for non-standard installations:

$env:SOLIDWORKS_MCP_SAMPLE_MODELS_DIR = "D:\CAD\SOLIDWORKS Samples\learn"
pytest tests/test_all_endpoints_harness.py -k "TestLevelCRealCOM and c09" -v

Complexity Tiers

The four tiers determine which MCP tools are needed. Choose your starting point based on how many features the model requires:

flowchart LR
    A(["Start here"])
    T1(["Tier 1<br/>Simple"])
    T2(["Tier 2<br/>Intermediate"])
    T3(["Tier 3<br/>Advanced"])
    T4(["Tier 4<br/>Assembly"])
    A --> T1 --> T2 --> T3 --> T4
Tier Description Key Tools
1 – Simple Single sketch + one feature create_sketch, add_rectangle/circle, create_extrusion/revolve
2 – Intermediate 2–4 sketches, multiple features, fillets + set_dimension, add_sketch_constraint, create_extrusion (multi-step)
3 – Advanced Lofts, sweeps, multi-body, sheet metal + generate_vba_part_modeling, execute_macro
4 – Assembly Multiple parts mated together create_assembly, load_part, generate_vba_assembly_insert

Baseball Bat — Tier 1 (Revolve)

Read the full file on GitHub · 308 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. yesterday First seen · 308 lines · 0 tokens per session scan A d04c04eff70f

Subscribe to this mod's changes

sample-models-guide is an agent published in the GitHub repository andrewbartels1/SolidworksMCP-python (65 stars, last pushed 5d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 3,141 tokens. 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 agents, from other repositories

Demonstrate

Agent for demonstrating VS Code features.

microsoft/vscode · 10 tokens

playwright-test-generator

Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.

microsoft/playwright · 151 tokens

.NET-Notebook-Migration-Agent

Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.

microsoft/ai-agents-for-beginners · 33 tokens

AVM Owner Triage

Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.

github/awesome-copilot · 61 tokens

Ultimate Transparent Thinking Beast Mode

Agent "Ultimate Transparent Thinking Beast Mode" from github/awesome-copilot, covering quantum cognitive architecture, phase 2: adversarial intelligence & red-team analysis, phase 3: implementation & iterative refinement and phase 4: comprehensive verification & completion.

github/awesome-copilot · 11 tokens

code-reviewer

Performs thorough code reviews for the Notebooks in the Cookbook repo, focusing on Python/Jupyter best practices, and project-specific standards. Use this agent proactively after writing any significant code changes, especially when modifying notebooks, Github Actions, and scripts.

anthropics/claude-cookbooks · 52 tokens