Preface¶
When you only have a paper or screenshot-based engineering drawing and need to modify dimensions or add layers in CAD, the common approach is manual tracing or outsourcing the vectorization. This is time-consuming and prone to missing dimensions. If you are already using an AI programming assistant with Skills, you can delegate “image recognition—parameter extraction—DXF output” to a standardized workflow instead of writing prompts from scratch every time. Below is an introduction to the positioning, capabilities, and installation method of the SkillHub community Skill: “Image to DXF File Tool”.
What is this?¶
“Image to DXF File Tool” is a community Skill on SkillHub, identified as @user_02805512/dxf-engineering-skill. The current version is 1.0.0, categorized under design-media, and published by user_02805512. The official positioning is an Image-to-DXF Engineering Drawing Generator: after the user sends an engineering image, it automatically extracts parameters and generates a dimensioned preview for confirmation; after confirmation, it generates a 1:1 DXF file and can further produce a clean version by removing annotations. The page marks requires_api_key=false, meaning it does not rely on additional API Key configuration (though this depends on the specific Agent and runtime environment).
- SkillHub Page: https://www.skillhub.cn/skills/user_02805512/dxf-engineering-skill
- API Address: https://api.skillhub.cn/user_02805512/dxf-engineering-skill
Core Functions¶
According to the official introduction, the capabilities covered by this Skill can be summarized as a closed loop:
- Input Engineering Image: Receives engineering drawing images provided by the user (photos, scans, screenshots, etc., subject to actual Skill support).
- Automatic Parameter Extraction: Recognizes geometric and dimension-related information from the image for subsequent drafting.
- Dimensioned Preview: Generates a preview with dimension annotations for the user to verify consistency with the original image.
- Output upon Confirmation: After user confirmation, generates a DXF file at a 1:1 scale.
- Clean DXF Version: Based on the annotated version, it can remove annotations to obtain a clean DXF suitable for downstream CAD editing.
The official trigger words include: DXF, 工程图 (engineering drawing), dxf, 转DXF (convert to DXF), 生成工程图 (generate engineering drawing), 图片转DXF (image to DXF), CAD文件 (CAD file). Using these words in a conversation or explicitly expressing “convert this image to DXF” helps the Agent select this Skill.
Installation and Activation¶
The SkillHub page suggests: Let the AI install this Skill based on the installation documentation. The general steps are as follows.
1. Install SkillHub CLI (if not already installed)¶
First, check if the CLI exists:
command -v skillhub && skillhub --version
If not installed, follow the official SkillHub documentation to perform a complete installation (CLI + default Skills):
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
If only the CLI is needed:
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only
Full installation instructions: https://skillhub.cn/install/skillhub.md
2. Install this Skill to the current Agent’s skills directory¶
During installation, you must use --dir to point to the actual skills directory read by the current Agent. Otherwise, it defaults to ./skills/, which the Agent may not recognize.
skillhub install @user_02805512/dxf-engineering-skill --dir <skills directory>
Common client skills paths (subject to official 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 the AI to let it complete the installation according to the documentation:
Please install @user_02805512/dxf-engineering-skill based on https://skillhub.cn/install/skillhub.md.
If the Agent does not load the new Skill immediately after installation, restart or refresh the session according to your client’s instructions.
Typical Usage¶
The official documentation does not provide instructions for an independent command-line sub-tool; the typical usage involves completing the following workflow within a conversation where this Skill is enabled:
- Send Engineering Drawing: Attach the engineering drawing image in the conversation and specify that it needs to be converted to DXF (use the trigger words mentioned above, e.g., “image to DXF”).
- View Dimensioned Preview: Wait for the Skill to extract parameters and display a dimensioned preview. Check key dimensions and contours against the original image.
- Confirm and Generate 1:1 DXF: Once confirmed, follow the Agent’s guidance to complete the generation and obtain the DXF for CAD use.
- (Optional) Clean Version: If a layer without annotations is needed, request the clean DXF with annotations removed via the Skill workflow.
Specific interaction steps are subject to the SKILL.md inside the Skill package and the Agent’s execution results after installation.
Use Cases and Notes¶
Who is it for
- Teams or individuals who need to quickly convert engineering drawing images to DXF and continue editing in CAD.
- Those already working in environments supporting Skills (e.g., Cursor, Claude Code, Codex) who want to reduce repetitive prompt design through a standardized Skill.
Things to Note
- For complex, blurry, or severely distorted drawings, recognition and dimension extraction errors may be significant. Always use the dimensioned preview as a gate before generating the final DXF.
- The output is a 1:1 DXF based on the premise that image recognition and calibration are correct; it is still recommended to spot-check key dimensions in downstream CAD.
- This Skill is from a community source. Maintenance rhythm and capability boundaries are subject to the SkillHub page and the Skill package content. Page statistics (as of data retrieval) are Rating 100000, Downloads 2165, Installations 32, for reference only.
Conclusion¶
“Image to DXF File Tool” converges the path from engineering images to DXF into: parameter extraction via image recognition, dimensioned preview, confirmation, 1:1 drawing output, and optional annotation removal. If you are dealing with similar requirements, you can learn more details from the SkillHub page and install @user_02805512/dxf-engineering-skill according to the documentation: https://www.skillhub.cn/skills/user_02805512/dxf-engineering-skill.