← Back to Skills Marketplace
doudou459

cad-skill

by solvi · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
492
Downloads
1
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install cad-skill
Description
Control local CAD applications on Windows including launching apps, opening files, checking status, closing apps, detecting active or running apps, detecting...
README (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.
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install cad-skill
  3. After installation, invoke the skill by name or use /cad-skill
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug cad-skill
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is cad-skill?

Control local CAD applications on Windows including launching apps, opening files, checking status, closing apps, detecting active or running apps, detecting... It is an AI Agent Skill for Claude Code / OpenClaw, with 492 downloads so far.

How do I install cad-skill?

Run "/install cad-skill" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is cad-skill free?

Yes, cad-skill is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does cad-skill support?

cad-skill is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created cad-skill?

It is built and maintained by solvi (@doudou459); the current version is v1.0.0.

💬 Comments