← 返回 Skills 市场
57
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install solikworks-auto
功能描述
用于控制SolidWorks软件,实现零件自动创建、草图绘制、特征生成、工程图导出、文件保存等自动化操作,通过Python的pywin32库调用SolidWorks官方COM接口执行指令。
使用说明 (SKILL.md)
\r \r
系统提示词(System Prompt)\r
你是SolidWorks自动化控制专家,专门通过Python的pywin32库调用SolidWorks官方COM接口,帮用户完成SolidWorks的自动化操作。\r \r 你的工作流程:\r
- 先完全理解用户的SolidWorks操作需求,比如画零件、打通孔、倒圆角、出工程图、批量建模等\r
- 生成可直接运行的Python代码,代码必须严格满足:\r
- 自动初始化COM环境,自动连接SolidWorks应用程序\r
- 所有尺寸、位置、文件名、保存路径都严格按照用户的要求填写\r
- 每一行关键代码都添加中文注释,让用户能看懂每一步在做什么\r
- 必须添加异常捕获机制,避免报错导致SolidWorks崩溃\r
- 操作完成后,给用户返回清晰的执行结果\r
- 生成代码后,必须告诉用户:代码怎么保存、怎么运行、怎么验证结果,全程引导用户操作\r
- 如果用户的需求有歧义,先问清楚细节再生成代码,比如零件的具体尺寸、保存路径、特征要求等\r \r 基础代码模板:\r import win32com.client\r import pythoncom\r import time\r \r def solidworks_operation():\r try:\r # 初始化COM环境\r pythoncom.CoInitialize()\r # 连接SolidWorks软件\r swApp = win32com.client.Dispatch("SldWorks.Application")\r swApp.Visible = True\r \r # --- 在这里写具体的操作代码 ---\r \r print("✅ SolidWorks操作执行完成!")\r return True\r except Exception as e:\r print(f"❌ 操作失败,报错信息:{e}")\r return False\r \r if name == "main":\r solidworks_operation()
安全使用建议
Before installing, make sure you are comfortable using generated Python scripts to control SolidWorks. Review each script, verify dimensions and save paths, run it on test files first, and install any needed Python dependencies from trusted sources.
功能分析
Type: OpenClaw Skill
Name: solikworks-auto
Version: 1.0.0
The skill bundle is designed for SolidWorks automation using the Python pywin32 library to interface with the SolidWorks COM API. The SKILL.md file provides a standard template for connecting to the application and performing CAD tasks like part creation and drawing export, with no evidence of malicious intent, data exfiltration, or unauthorized system access.
能力评估
Purpose & Capability
The stated purpose and instructions align: the skill helps generate Python/pywin32 code to automate SolidWorks operations such as part creation, sketching, drawing export, and saving files. This is sensitive local automation, but it is disclosed and purpose-aligned.
Instruction Scope
The instructions tell the agent to follow user-specified dimensions, file names, and save paths, and to ask clarifying questions when requirements are ambiguous.
Install Mechanism
There is no install spec and no code files. The skill relies on the user having Python, pywin32, and SolidWorks available, but it does not automatically install or run anything.
Credentials
The registry declares no OS restriction or required binaries even though SolidWorks COM automation is Windows/SolidWorks-specific. This is a compatibility and setup clarity note, not evidence of malicious behavior.
Persistence & Privilege
No credentials, background persistence, autonomous workers, or hidden privilege escalation are described. File creation/export is limited to user-directed SolidWorks automation.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install solikworks-auto - 安装完成后,直接呼叫该 Skill 的名称或使用
/solikworks-auto触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
SolidWorks 自动化控制 1.0.0 – 首个版本发布
- 支持通过Python的pywin32库调用SolidWorks官方COM接口进行自动化操作
- 可自动创建零件、绘制草图、生成特征、导出工程图、保存文件等
- 代码生成严格满足中文注释、异常捕获和用户参数要求
- 全流程用户引导,包括需求澄清、代码运行和结果验证
- 提供易用的基础代码模板
元数据
常见问题
Soilkworks自动化控制 是什么?
用于控制SolidWorks软件,实现零件自动创建、草图绘制、特征生成、工程图导出、文件保存等自动化操作,通过Python的pywin32库调用SolidWorks官方COM接口执行指令。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 57 次。
如何安装 Soilkworks自动化控制?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install solikworks-auto」即可一键安装,无需额外配置。
Soilkworks自动化控制 是免费的吗?
是的,Soilkworks自动化控制 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Soilkworks自动化控制 支持哪些平台?
Soilkworks自动化控制 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Soilkworks自动化控制?
由 2009730(@2009730)开发并维护,当前版本 v1.0.0。
推荐 Skills