modbender/skill-library-mcp/dxf-to-image
Claude Code and agent skill by modbender/skill-library-mcp
- community
- ext:[{"type":"plugin","description":"Custom plugin integration"}]
Checking that the SKILL.md file is still in the repository.
Convert DXF to PNG, JPG, or SVG for sharing (e.g. Telegram) or further editing.
Install
npx vskill@latest install modbender/skill-library-mcp/dxf-to-imageSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as modbender/skill-library-mcp/dxf-to-image.
DXF to Image / SVG
Convert DXF (CAD) files to PNG, JPG, or SVG. Useful when you have DXF from map-grabber, Rhino, or other CAD tools and need a raster image to send in chat or a vector SVG for editing.
Dependencies
ezdxf(DXF read + drawing add-on)matplotlib(for PNG/JPG only)Pillow(for JPG only)
Setup: OpenClaw does not install Python packages automatically. After installing this skill, run once: pip install -r requirements.txt (from the skill folder). If a script fails with ModuleNotFoundError, install the missing package.
Usage
Convert DXF to PNG, JPG, or SVG
Parameters:
input: Path to the DXF file.-o,--output: Output file path (default: same name as input with .png, .jpg, or .svg).-f,--format:png(default),jpg, orsvg.--width,--height: Output size in pixels for PNG/JPG only (keeps aspect ratio if only one is set).--dpi: DPI for PNG/JPG (default 150).--margin: Margin in mm for SVG (default 2).
Sending images to Telegram
Used from the OpenClaw Telegram conversation. Run the script with -o <path>.png or -o <path>.jpg, then send that file to the user via the OpenClaw message/media tool.
OpenClaw allowed paths: The message tool only sends files from allowed dirs (~/.openclaw/media/, ~/.openclaw/agents/, or /tmp). Use e.g. -o ~/.openclaw/media/out.png or -o /tmp/out.png; do not use the skill install directory or sending will fail.
Agent behavior: When the user asks to convert a DXF to PNG, JPG, or SVG (or "send DXF as image"), run the script directly with exec: use convert_dxf.py <dxf_path> -o <output> with -f png/jpg/svg and output path under an allowed dir; then send the generated file. Do not ask for confirmation; execute and return the file.
Examples
User: "Convert this DXF to PNG so I can send it in Telegram." Action: Run convert_dxf.py <path> -o /tmp/out.png, then send the PNG to the user.
User: "Export the DXF as SVG." Action: Run convert_dxf.py <path> -f svg -o /tmp/out.svg, then send or return the SVG path.
User: "Turn the site DXF into a JPG, 1200px wide." Action: Run with -f jpg -o /tmp/site.jpg --width 1200, then send the JPG.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingdata/dxf-to-image/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Extension points
pluginCustom plugin integration
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/modbender/skill-library-mcp/dxf-to-image)