solidworks-design
hashgraph-online/awesome-codex-plugins · Agent Skill
建立、修改和匯出 SolidWorks 3D 模型、圖紙和元件,處理材料、公差和 STEP/IGES/STL/PDF 格式。
前往安裝 ↓總覽
| 發布者 | |
|---|---|
| 儲存庫 | hashgraph-online/awesome-codex-plugins ↗ |
| 技能資料夾 | solidworks-design |
| 星 | 857 |
| 附帶檔案 | 1 |
| 授權 | Apache-2.0 |
| 最近更新 | 2026年7月19日 |
| 連結 | 技能原始碼 ↗ · 儲存庫 ↗ |
Mozgi 檢查
我們在技能檔案中發現的內容。詳細資訊需訂閱。
安裝
技能就是一個含 SKILL.md 的資料夾。選擇你的代理,在專案根目錄的終端機(macOS、Linux 或 Windows 的 Git Bash)執行指令。
把提示貼到 Claude、Codex 或其他助理:它會自行檢查並安裝技能。
Install the “solidworks-design” skill from mozgi.io (https://mozgi.io/skills/solidworks-design/) for me. 1. Download the archive: https://mozgi.io/skills/solidworks-design/download If it fails, take the skill folder from the source: https://github.com/hashgraph-online/awesome-codex-plugins/tree/main/plugins/Erfouni/solidworks-GPT-plugin/plugins/solidworks-gpt-plugin/skills/solidworks-design 2. Read SKILL.md and the other files. Check the skill is safe: no hidden commands, no sending data elsewhere, no scripts doing something other than described. If anything looks suspicious, stop and tell me. 3. Put the “solidworks-design” folder into your agent's skills folder: .claude/skills/ for Claude Code, .agents/skills/ for Codex, .cursor/skills/ for Cursor, .gemini/skills/ for Gemini CLI. Inside the project if we are in one, otherwise in the home folder (~/.claude/skills/ etc.). 4. Make sure <skills folder>/solidworks-design/SKILL.md exists. 5. Briefly tell me what this skill does and offer to try it on my task. If you cannot do a step yourself, tell me what to click or type.
git clone --depth 1 --branch main https://github.com/hashgraph-online/awesome-codex-plugins.git /tmp/awesome-codex-plugins mkdir -p .claude/skills cp -r /tmp/awesome-codex-plugins/plugins/Erfouni/solidworks-GPT-plugin/plugins/solidworks-gpt-plugin/skills/solidworks-design .claude/skills/solidworks-design
重新啟動 Claude Code — 技能就會出現在清單中,手動呼叫:/solidworks-design。要套用到所有專案,請放在 ~/.claude/skills。
git clone --depth 1 --branch main https://github.com/hashgraph-online/awesome-codex-plugins.git /tmp/awesome-codex-plugins mkdir -p .agents/skills cp -r /tmp/awesome-codex-plugins/plugins/Erfouni/solidworks-GPT-plugin/plugins/solidworks-gpt-plugin/skills/solidworks-design .agents/skills/solidworks-design
Codex 會從目前資料夾往上到儲存庫根目錄,在 .agents/skills 中尋找技能;用 /skills 或 $solidworks-design 呼叫。所有專案:~/.agents/skills。
git clone --depth 1 --branch main https://github.com/hashgraph-online/awesome-codex-plugins.git /tmp/awesome-codex-plugins mkdir -p .cursor/skills cp -r /tmp/awesome-codex-plugins/plugins/Erfouni/solidworks-GPT-plugin/plugins/solidworks-gpt-plugin/skills/solidworks-design .cursor/skills/solidworks-design
Cursor 啟動時會載入技能;在 Agent 聊天輸入「/」呼叫。Cursor 也會讀取 .claude/skills 與 .agents/skills。所有專案:~/.cursor/skills。
git clone --depth 1 --branch main https://github.com/hashgraph-online/awesome-codex-plugins.git /tmp/awesome-codex-plugins mkdir -p .gemini/skills cp -r /tmp/awesome-codex-plugins/plugins/Erfouni/solidworks-GPT-plugin/plugins/solidworks-gpt-plugin/skills/solidworks-design .gemini/skills/solidworks-design
任務符合時,Gemini CLI 會提議啟用技能,由你確認。所有專案:~/.gemini/skills。
安裝前請先檢視 SKILL.md 與相關檔案。點擊檔案即可預覽。
SKILL.md 內容
作者原文 · 唯讀SolidWorks Design
Treat this skill as the entry point for every SolidWorks task. Use the available
SolidWorks automation surface for CAD operations; this plugin supplies the
engineering and knowledge workflow rather than a SolidWorks installation.
Start the task
1. On the first SolidWorks request in the current Codex task, resolve the
plugin root from this file and run:
```text
python <plugin-root>/scripts/sw_session.py start
```
Echo the returned UUID as SESSION_ID in working context. Run this command
only once per Codex task and never replace the ID mid-task.
2. Establish the design goal, units, geometry-driving dimensions, material,
tolerances or fits, manufacturing process, and deliverables.
3. Ask one concise question when missing data changes geometry, safety, fit, or
the requested output. Do not guess engineering values. If the user
explicitly delegates a non-geometry default, apply the active KB convention
and disclose it.
4. Invoke $sw-pre-start, then $sw-kb-api, in that exact order before
opening SolidWorks, generating CAD code, or calling a SolidWorks API.
Plan before editing
Write a compact implementation plan that identifies:
- files and document types to create;
- datums, origins, coordinate systems, and reference geometry;
- ordered sketches and features with named driving dimensions;
- sketch relations and the fully-defined condition;
- material, tolerance, fit, fastener, clearance, and manufacturing decisions;
- assembly mates and intended remaining degrees of freedom;
- measurable acceptance criteria and required exports.
Query the KB standards tables when each material, fit, tolerance, fastener, or
clearance decision is made. Never substitute remembered nominal values when a
standards lookup is available.
Build and verify parts
Create each part separately. For every part:
1. Use metric model units unless the user explicitly overrides them.
2. Build parametric, fully-defined sketches with stable references and named
dimensions.
3. Rebuild after meaningful feature groups and inspect returned API values.
4. Before each SolidWorks API method, check the part-specific and global known
errors loaded by $sw-kb-api; apply a resolved prevention first.
5. Assign the verified material and record its source and units.
6. Inspect rebuild status, document errors, feature tree, mass properties,
bounding box, and a representative image.
7. Use deterministic document validation as pass/fail. Treat screenshots as
visual evidence only.
8. Save the native part, export requested formats, then close it before
starting an assembly.
Do not report success when rebuild or document validation has not passed.
Build and verify assemblies
Create an assembly only after all component parts are saved and closed.
Insert components from explicit saved paths, add mates in a stable order, and
verify mate status, interference or clearance requirements, component count,
and remaining degrees of freedom. Rebuild and run deterministic document
validation before saving or exporting.
Drawings and exports
Create requested drawings from the validated final model. Include specified
views, dimensions, tolerances, fits, GD&T, material notes, and title-block
metadata. Export only after final design-rule validation passes.
Prefer project folders named work/ for native working files and exports/
for deliverables unless the user explicitly chooses other paths.
Finish the task
1. Invoke $sw-pre-start Phase 6 with final parameters and resolve every
fail. Record advisories.
2. Report native files and exports, explicit units, measured mass and bounding
box, validation result, errors, and limitations.
3. Track the corrected feature sequence, every final code artifact, repeatable
failures and resolutions, and non-obvious lessons.
4. After delivering the CAD result, invoke $sw-session-reporter. Do not skip
reporting merely because the KB was offline during the build.
常見問題
solidworks-design 技能有什麼用途?
建立、修改和匯出 SolidWorks 3D 模型、圖紙和元件,處理材料、公差和 STEP/IGES/STL/PDF 格式。
如何安裝 solidworks-design?
打開本頁的「安裝」區塊並選擇你的代理 — Claude Code、Codex、Cursor 或 Gemini CLI:那裡有把技能資料夾複製到正確位置的現成指令。也可以複製「透過助理」分頁中的提示,讓助理自行檢查並安裝技能。
solidworks-design 適用哪些 AI 模型?
技能是純 Markdown 指示(Agent Skills 格式),因此 solidworks-design 適用任何讀取 SKILL.md 的代理:Claude Code、Codex、Cursor、Gemini CLI、GitHub Copilot、OpenCode 等。只有在任務符合技能描述時,模型才會載入指示。
solidworks-design 是免費的嗎?
此技能由 hashgraph-online 公開發布,採用 Apache-2.0 授權。技能本身免費 — 你只需向 AI 供應商支付實際使用的 token 費用。
安裝技能安全嗎?
技能是代理會遵循的指示,安裝前請閱讀 SKILL.md 及相關檔案。技能資料夾中的腳本只有在代理執行時才會運行 — 留意它的動作,不要授予多餘權限。
技能和 MCP 伺服器或外掛有何不同?
MCP 伺服器或外掛為模型提供新工具 — 會執行並回傳結果的程式碼。技能提供的是知識與流程:如何處理任務、要遵循哪些步驟、好的成果長什麼樣子。它不需要伺服器或 API 金鑰。