Preface¶
Common approaches to writing CAD within Agents involve asking the model to “describe shapes” or generate scripts in isolation. However, these methods rarely stably result in exchangeable STEP files, reusable parametric models, or assembly-level inspection and verification. Manually modifying dimensions in desktop CAD or reconstructing parts based on 2D drawings or reference images interrupts the flow of collaboration with AI.
Below is an introduction to the community Skill on SkillHub: “Text to CAD File” (@user_64e186fe/txt-to-cad, v1.0.0). It accepts natural language, specifications, reference images, and 2D technical drawings as input. Centered around STEP-first parametric parts and assemblies, it covers creation, modification, inspection, and verification, while supporting build123d modeling and various secondary export formats.
What is this?¶
“Text to CAD File” is a Skill of the dev-programming category sourced from the SkillHub community (community), maintained by the publisher user_64e186fe. The page marks requires_api_key=false, meaning it is used after installation according to SkillHub instructions without relying on additional API Key configuration.
One-sentence positioning: In clients supporting Agent Skills, this tool drives a parametric CAD workflow using natural language (optionally combined with CAD specifications, reference images, and 2D technical drawings). It primarily delivers STEP/STP files while also producing Python CAD source code, geometric measurements, snapshots, and secondary outputs like STL, 3MF, and native GLB.
Core Features¶
The following capabilities are derived from the official SkillHub description; details not present in the provided materials are not expanded upon.
-
STEP-First Parametric Parts and Assemblies
Creates, modifies, inspects, and verifies parts and assemblies centered on STEP, supporting the direct generation or inspection of STEP/STP files. -
Multi-Source Input
In addition to natural language, it explicitly applies to input forms such as CAD specifications, reference images, and 2D technical drawings. -
Python CAD and build123d
May involve Python CAD source code; the modeling stack supports build123d, including parametric design, assembly creation, and automatic verification. -
Geometric Info and Visualization Aids
Supports geometric facts, measurements, and snapshots to verify if the model matches descriptions or drawings. -
Secondary Format Export
Can generate STL, 3MF, native GLB, and other outputs based on CAD geometry for printing, previewing, or downstream tool chains.
Installation and Activation¶
The installation method provided on the SkillHub page is: instruct the current Agent to handle the coordinate @user_64e186fe/txt-to-cad according to the official installation documentation. The documentation address is SkillHub Installation and Priority Source Configuration.
1. Verify skillhub CLI¶
First, check if the CLI is already present on your machine:
command -v skillhub && skillhub --version
If not installed, execute the full installation (CLI + default Skills) or CLI-only according to the installation documentation:
# Full installation (CLI + default Skills, recommended)
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
# Install CLI only
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only
2. Install to the current Agent’s skills directory¶
During installation, you must use --dir to point to the skills directory recognized by the current client; the documentation notes that installing to the default ./skills/ may not be loaded by the Agent.
skillhub install @user_64e186fe/txt-to-cad --dir <skills directory>
Common paths (excerpted from SkillHub installation documentation):
- Cursor:
~/.cursor/skills/ - Claude Code:
~/.claude/skills/ - Codex:
~/.codex/skills/or.agents/skills/under the project
You can also send the following prompt to an AI supporting Skills to complete the installation based on the same documentation:
Please install `@user_64e186fe/txt-to-cad` according to https://skillhub.cn/install/skillhub.md.
After installation, refresh or restart as required by your client to activate the new Skill. The materials do not distinguish additional configuration items for Cursor, Codex CLI, or Claude Code, so no speculative differences are described here.
Typical Usage¶
The official page does not provide step-by-step tutorials with specific dimensions or filenames; the reproducible parts are mainly the installation coordinates and capability boundaries. Combining this with the introduction, you can use it in conversation in the following order (expressions should match your specific specifications and drawings):
-
State Goals and Constraints
Clearly write out the parts or assembly relationships in natural language; if you have a CAD specification table, reference images, or 2D technical drawings, provide them to the Agent along with the expectation that the primary deliverable is STEP/STP. -
Iterate Parameters and Assembly
When changes to dimensions, adding features, or adjusting assemblies are needed, continue to describe the changes in natural language; the Skill supports parametric design and assembly creation with an orientation towards automatic verification. -
Inspect and Measure
Request inspection of existing STEP files, or output geometric facts, measurement results, and snapshots for comparison against drawings or specifications. -
Export Secondary Formats
Once geometry is confirmed, request the generation of STL, 3MF, or native GLB from the same CAD geometry for printing or preview pipelines.
Example installation prompt (consistent with the SkillHub page, can be copied directly):
Please install `@user_64e186fe/txt-to-cad` according to https://skillhub.cn/install/skillhub.md.
Use Cases and Notes¶
Who it is for
- Developers or mechanical design collaborators who need to quickly transition from text/drawing intent to STEP parametric models or assemblies within an Agent session.
- Those who wish to retain the build123d/Python modeling path and perform automated verification, rather than just obtaining untraceable mesh files.
- Scenarios requiring multi-format delivery with STEP as the primary format and STL/3MF/GLB as auxiliary.
Limitations and Notes
- Community Skill (
community); behavior and documentation are subject to the SkillHub page and theSKILL.mdwithin the package. This article does not describe tool versions or environment dependencies not appearing in the official introduction. - SkillHub Statistics (as of page display): Rating 100000, Downloads 2035, Installations 0—the installation count is a platform statistical field; whether it is actually installed locally needs to be confirmed in your skills directory.
- Complex assemblies and drawing ambiguities still depend on the quality of the specifications you provide; automatic verification can reduce obvious errors but cannot replace engineering drawing review or physical fitting.
- No API Key is required, but if your local Python/CAD runtime environment is missing, you still need to complete it yourself; the materials do not provide a fixed installation list.
Conclusion¶
“Text to CAD File” connects natural language and drawing inputs to a STEP-first parametric CAD process, covering build123d modeling, inspection verification, and multiple exports. It is suitable for exchangeable and iterative mechanical geometry work within Agents. Installation and coordinates are subject to SkillHub:
- Skill Page: https://www.skillhub.cn/skills/user_64e186fe/txt-to-cad
- API Coordinate Page: https://api.skillhub.cn/user_64e186fe/txt-to-cad