← 返回 Skills 市场
doudou459

cad-skill

作者 solvi · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
492
总下载
1
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install cad-skill
功能描述
Control local CAD applications on Windows including launching apps, opening files, checking status, closing apps, detecting active or running apps, detecting...
使用说明 (SKILL.md)

\r \r

CAD Skill\r

\r This skill allows an AI assistant to control locally installed CAD applications on Windows.\r \r Supported software currently includes:\r \r

  • solidworks\r
  • catia\r
  • creo\r
  • ug (Siemens NX)\r \r The skill enables launching CAD software, opening files with specific applications, checking running status, closing applications, and detecting active CAD windows.\r \r This skill is intended for local workstation automation.\r \r ---\r \r

Important Constraints\r

\r The assistant must follow these constraints when using this skill:\r \r

  1. Do not scan the entire computer filesystem.\r
  2. Do not traverse all directories on disk.\r
  3. Do not read the Windows registry.\r
  4. Only use paths stored in config.json.\r
  5. Only check predefined candidate install paths.\r \r If the executable cannot be located:\r \r
  • ask the user to provide the full executable path\r
  • then call set_app_path to store the path.\r \r ---\r \r

Supported Applications\r

\r Currently supported CAD software:\r \r

  • solidworks\r
  • catia\r
  • creo\r
  • ug\r \r ---\r \r

Execution\r

\r All commands are executed through:\r \r skill_runner.py\r \r Input payload format:\r \r

{\r
  "skill": "launch_app",\r
  "args": {\r
    "app": "solidworks"\r
  }\r
}\r
```\r
\r
\r
\r
# Supported Actions\r
\r
## launch_app\r
\r
Launch a CAD application.\r
\r
Arguments:\r
\r
- app\r
\r
- config_file (optional)\r
\r
##  open_file_in_app\r
\r
Open a file using a specified CAD application.\r
\r
Arguments:\r
\r
- app\r
- file_path\r
- config_file(optional)\r
- auto_launch(optional)\r
- wait_seconds(optional)\r
\r
##  is_app_runing\r
\r
Check whether a CAD application is currently running.\r
\r
Arguments:\r
\r
- app\r
- config_file(optional)\r
\r
##  close_app\r
\r
Close a CAD application.\r
\r
Arguments:\r
\r
-  app\r
- config_file(optional)\r
- force(optional)\r
\r
##  get_activate_app\r
\r
Detect which CAD application window is currently active.\r
\r
Arguments:\r
\r
-  config_file(optional)\r
\r
##  get_running_apps\r
\r
Return all currently running supported CAD applications.\r
\r
Arguments:\r
\r
- config_file(optional)\r
\r
##  detect_app_path\r
\r
Detect an executable path using only predefined paths and saved paths.\r
\r
Arguments:\r
\r
- app\r
- config_file(optional)\r
\r
## set_app_path\r
\r
Save a user provided executable path into the configuration file.\r
\r
Arguments:\r
\r
- app\r
- path\r
- config_file(optional)\r
\r
# Example Usage\r
\r
Launch SolidWorks:\r
\r
```json\r
{\r
  "skill": "launch_app",\r
  "args": {\r
    "app": "solidworks"\r
  }\r
}\r
```\r
\r
open a STEP file in SolidWorks:\r
\r
```json\r
{\r
  "skill": "open_file_in_app",\r
  "args": {\r
    "app": "solidworks",\r
    "file_path": "D:\\DESKTOP\\solvi_project\\moca\\moca.STEP",\r
    "auto_launch": true,\r
    "wait_seconds": 5\r
  }\r
}\r
```\r
\r
Save a user provided executable path:\r
\r
```json\r
{\r
  "skill": "set_app_path",\r
  "args": {\r
    "app": "solidworks",\r
    "path": "E:\\Program Files\\SOLIDWORKS Corp\\SOLIDWORKS\\SLDWORKS.exe"\r
  }\r
}\r
```\r
\r
# Note\r
\r
This skill is designed for **local CAD workstation automation**.\r
\r
It intentionally avoids heavy filesystem scanning to maintain fast response and predictable behavior.
安全使用建议
This skill appears to do what it says: control local Windows CAD apps using paths and process names stored in config.json. Before installing, consider: (1) it will launch executables found in config.json or at user-provided paths — ensure those paths point to trusted CAD binaries; (2) it writes to config.json when you save paths, so review that file for unwanted changes; (3) it uses Windows APIs and tasklist so it must run on Windows; the registry metadata doesn't declare that requirement — be mindful to use it only on a Windows workstation; (4) while there is no network or credential access, autonomous invocation is allowed by default on the platform, so only enable the skill for agents you trust to run local commands. If you want extra caution, run the skill in a limited account or inspect/lock the config.json to approved executable paths before use.
功能分析
Type: OpenClaw Skill Name: cad-skill Version: 1.0.0 The skill bundle is a legitimate automation tool for controlling CAD applications (SolidWorks, CATIA, Creo, NX) on Windows. It uses standard system utilities like 'tasklist' and 'taskkill' via the subprocess module and interacts with the Windows API via ctypes to detect active windows. The code follows security best practices by using shell=False in subprocess calls and includes explicit instructions in SKILL.md to prevent the AI agent from performing unauthorized filesystem scanning or registry access.
能力评估
Purpose & Capability
The name/description (control local CAD apps on Windows) matches the code and config: functions to launch apps, open files, detect running windows/processes, and save executable paths. Minor mismatch: the skill is Windows-specific (uses ctypes user32 and tasklist) but registry metadata lists no OS restriction; this is a usability/metadata discrepancy, not a capability mismatch.
Instruction Scope
SKILL.md constraints (do not scan whole disk, do not read registry, only use config.json and candidate paths) are reflected in the implementation: the code only checks saved_paths and candidate_paths from config.json, validates explicit file paths provided by the user, calls tasklist, uses Win32 APIs to read the active window title, and writes back to config.json only when saving user-provided paths.
Install Mechanism
There is no install spec — code files are bundled but no installer/download steps are required. No packages or external downloads are referenced.
Credentials
The skill requests no environment variables, credentials, or config paths beyond its own config.json. All filesystem and process checks are proportional to controlling local CAD apps (process names, candidate install paths, explicit file paths).
Persistence & Privilege
The skill does not request 'always' presence and only writes to its own config.json. The skill can be invoked autonomously (platform default), which is expected for skills that automate local tasks; this is normal but increases the impact if the agent is permitted to call skills without confirmation.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install cad-skill
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /cad-skill 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
cad-skill 1.0.0 - Initial release for automating local CAD application control on Windows. - Supports SolidWorks, CATIA, Creo, and Siemens NX (UG). - Enables launching, closing, opening files, checking status, and detecting running/active CAD apps. - Operates using only predefined and user-provided executable paths—no full filesystems or registry scans. - Commands are executed via skill_runner.py with structured JSON payloads.
元数据
Slug cad-skill
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

cad-skill 是什么?

Control local CAD applications on Windows including launching apps, opening files, checking status, closing apps, detecting active or running apps, detecting... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 492 次。

如何安装 cad-skill?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install cad-skill」即可一键安装,无需额外配置。

cad-skill 是免费的吗?

是的,cad-skill 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

cad-skill 支持哪些平台?

cad-skill 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 cad-skill?

由 solvi(@doudou459)开发并维护,当前版本 v1.0.0。

💬 留言讨论