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 wzyn20051216/solidworks-automation-skill --skill solidworks-threaded-holesgit clone --depth 1 https://github.com/wzyn20051216/solidworks-automation-skillWrote 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/wzyn20051216/solidworks-automation-skill/solidworks-threaded-holes)<a href="https://agentmods.dev/skills/wzyn20051216/solidworks-automation-skill/solidworks-threaded-holes"><img src="https://agentmods.dev/badge/skills/wzyn20051216/solidworks-automation-skill/solidworks-threaded-holes/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/wzyn20051216/solidworks-automation-skill/solidworks-threaded-holes"><img src="https://agentmods.dev/badge/skills/wzyn20051216/solidworks-automation-skill/solidworks-threaded-holes.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00150 | $0.01379 |
| Opus 5 | $0.00075 | $0.00690 |
| Sonnet 5 | $0.00030 | $0.00276 |
| Haiku 4.5 | $0.00015 | $0.00138 |
Grade A, and why
solidworks-threaded-holes 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 12d 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 — 72 lines — stays where its author put it; the contents beside it link to each section on GitHub.
SolidWorks Threaded Holes
先判定能力等级
当前稳定脚本是 scripts/create_threaded_hole_template.py,它在新建矩形样件上生成 ISO 公制内螺纹孔。
verified:M3/M4/M5/M6/M8/M10/M12 粗牙内螺纹,盲孔或真正Through All底孔,孔口倒角,右旋/左旋,公差属性,真实Metric TapThread 特征,STEP 和审查证据。已在 SolidWorks 2026 实测盲孔与贯穿孔。reviewed:表外 ISO 公制规格;必须由用户显式提供--tap-drill,不得猜测底孔。pilot:对现有零件定位并改孔、Hole Wizard/Advanced Hole、外螺纹、英制/UN/UNF/NPT/BSP、多头螺纹、显式牙型与钻尖/退刀槽。执行前读取 扩展路线图。
稳定工作流
- 从仓库根目录运行
python scripts/sw_preflight.py。 - 确认螺纹规格、内/外螺纹、公差等级、旋向、盲孔/贯穿、螺纹深度、底孔深度、孔位和是否要求真实牙型。
- 在 COM 前校验所有值为有限数,底孔小于公称直径,螺纹深度不超过底孔/零件厚度,孔位保留螺纹大径和倒角边界。
- 先创建真实底孔几何:盲孔用
swEndCondBlind=0,贯穿孔必须用swEndCondThroughAll=1,不得用“板厚 + 1 mm”盲孔伪装。 - 按圆心、半径和入口面枚举圆边,不依赖
Edge1或屏幕坐标。 - 尝试真实 Thread:
Type="Metric Tap",平面圆边使用选择标记1,不要把同一圆边写入StartEntity,不要调用不存在的LoadReferences,不要用公称直径覆盖底孔圆柱直径。 - Thread 失败时尝试
InsertCosmeticThread3;贯穿装饰螺纹用swEndConditionThrough=2。COM 返回非空不等于持久化成功,必须重建后遍历特征树。 - 只有真实/装饰螺纹均未留在特征树时,
--visible-thread fallback才创建 3D 草图螺旋线。螺旋线允许小数圈以保持真实螺距;单独导出*_thread_evidence.bmp后将草图隐藏,避免污染标准预览。 - 创建孔口倒角,写入螺纹规格、底孔、深度、公差、旋向、终止条件和最终表达状态。
- 隐藏参考平面,保存 SLDPRT,导出 STEP,运行
sw_review.run_review(),目视检查等轴测/三视图。
模板用法
默认 M6×1 右旋 6H 盲孔:
python subskills/solidworks-threaded-holes/scripts/create_threaded_hole_template.py `
--thread M6 `
--output-dir C:\CADAutomationWorkbench\solidworks_threaded_hole_output
M8×1 表外细牙、左旋、贯穿孔:
python subskills/solidworks-threaded-holes/scripts/create_threaded_hole_template.py `
--thread M8x1 `
--tap-drill 7.0 `
--through `
--handedness left `
--thread-class 6H `
--output-dir C:\CADAutomationWorkbench\m8x1_lh_output
--visible-thread 支持 fallback(默认)、always 和 never。正常交付保持 fallback;调试螺旋线时才使用 always。
交付与验证
必须生成:
*.SLDPRT*.step*_parameters.json*_review_report.json*_isometric.bmp及三视图- 仅在创建可见螺旋线时生成
*_thread_evidence.bmp
*_parameters.json 中必须同时检查 thread_attempts、thread_evidence 和 thread_status。只有下列条件同时满足才可交付:
What ships with it
6 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.
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.
- 12d ago First seen · 72 lines · 150 tokens per session scan A 03b1ef72ec3e
solidworks-threaded-holes is a skill published in the GitHub repository wzyn20051216/solidworks-automation-skill (890 stars, last pushed 5d ago), licensed MIT. It adds 150 tokens to every session and 1,379 once invoked, about $0.0007 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.
Other skills, from other repositories
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.
ifoxcad
Use when developing AutoCAD plugins with .NET/C# — entity creation, layer management, block references, transaction handling. iFoxCAD: AutoCAD .NET secondary development framework with simplified API wrappers.
tongwen
Use when translating engineering CAD drawings between languages — DWG text extraction, translation workspace with terminology management, quality-checked write-back. TongWen (同文): local-first CAD/BIM lossless translation suite for AutoCAD 2019-2026.
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…
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…
openfoam-agent
Prepare, run, debug, and postprocess OpenFOAM CFD cases using the installed distribution's documentation and tutorials. Use for case dictionaries, solver selection, meshing, boundary conditions, parameter studies, residual interpretation, and field exports. Check distribution compatibility and native execution before…