An AI agent skill designed to write, edit, debug, and execute ZW3D CAD macro files for streamlined design automation.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install zw3d-macro
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install zw3d-macro using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The ZW3D Macro Writer is an advanced automation asset designed for mechanical engineering and CAD design workflows. This capability allows AI coding agents using Openclaw Skills to seamlessly generate, analyze, test, and execute ZW3D CAD macro (.mac) files. By translating natural language instructions into precise ZW3D API calls, UI interactions, and geometry declarations, it automates complex physical modeling tasks, drastically reducing manual engineering overhead.
With native support for control structures (IF, WHILE, BUFFER), history manager selection, automatic view range extension, and complex geometric features, this skill bridges the gap between conversational AI and desktop CAD software. Whether generating high-precision fixture base plates, constructing parametric hole arrays, or editing existing model histories, it provides a highly reliable syntax engine to interact with ZW3D.
Ensure that the ZW3D CAD application is installed and its executable directory is registered within your system's Environment Variables.
To trigger an automated macro execution directly within ZW3D, use the following execution pattern from your terminal:
Start-Process "zw3d.exe" "path/to/macro.mac"
Always initialize macro structures with correct header comments (Author, Date, Version, Description) and close the macro with mandatory environment cleanup commands to ensure workspace integrity:
MACRO main
[QaBlVersion,1]
[vxBuildDate,01/01/2026]
[vxConfigDefault,2800]
# Macro commands go here
[vxConfigRestore]
ENDMACRO
The ZW3D Macro Writer organizes outputs into standard CAD macro files (.mac) utilizing a structured instruction schema:
| Command Class | Syntax Pattern | Target Application |
|---|---|---|
| GUI Commands | [vxSend, "$CdFileNew"] |
Direct UI operations, new files, and template loads |
| Template Commands | [vxSend, "!FtAllBox"] |
Initiates geometric primitives, sketches, and extrusions |
| Special Commands | [vxSend, "~CdFiMorePick"] |
Advanced selections, auto-selection sweeps, and wizard triggers |
| UI Events | [vxSendEvt, "UiHistoryManager", ...] |
Direct simulation of clicks, history selections, and field focus events |
| Initialization Values | [vxInitCmd, FtAllBox, <8,0>...] |
Low-level geometric constraint declarations and dimensions |
vxInitCmd and QaAllowRetry to execute one line earlier than written for proper timing synchronization with active dialogs.~CdFiMorePick to instantly identify and select all edge sets for complex chamfers and fillets without requiring coordinate mapping.BUFFER and ENDBUFFER boundaries to isolate and perform rapid rollbacks of pattern modifications in the history queue.[DebugOn], single-line breakpoints (+), and baseline validations via barycenter coordinates ([QaOutBary]).Loading
A powerful browser automation skill that connects a local Python CLI with a Chrome extension to automate search, messaging, account details, and ad flows on Gumtree.

A structured workflow skill that enables AI agents to systematically investigate, analyze, and resolve project maintenance and operations issues.

A highly precise text preprocessing engine that refines Chinese scripts for text-to-speech (TTS) engines to eliminate AI-sounding tones and pronunciation glitches.

A highly specialized, compliance-driven AI marketing kit designed specifically for licensed trauma scene, biohazard, and meth lab remediation professionals.

The Daily Digest skill scans specified directories for Markdown files and automatically generates structured summary reports with content analysis and metrics.

A fast and efficient CLI skill designed for automated deployment of static assets and HTML files directly from your terminal or AI workflows.








































