skills$openclaw/trace-to-svg
ajmwagar7.2k

by ajmwagar

trace-to-svg – OpenClaw Skill

trace-to-svg is an OpenClaw Skills integration for data analytics workflows. Trace bitmap images (PNG/JPG/WebP) into clean SVG paths using potrace/mkbitmap. Use to convert logos/silhouettes into vectors for downstream CAD workflows (e.g., create-dxf etch_svg_path) and for turning reference images into manufacturable outlines.

7.2k stars4.4k forksSecurity L1
Updated Feb 7, 2026Created Feb 7, 2026data analytics

Skill Snapshot

nametrace-to-svg
descriptionTrace bitmap images (PNG/JPG/WebP) into clean SVG paths using potrace/mkbitmap. Use to convert logos/silhouettes into vectors for downstream CAD workflows (e.g., create-dxf etch_svg_path) and for turning reference images into manufacturable outlines. OpenClaw Skills integration.
ownerajmwagar
repositoryajmwagar/trace-to-svg
languageMarkdown
licenseMIT
topics
securityL1
installopenclaw add @ajmwagar/trace-to-svg
last updatedFeb 7, 2026

Maintainer

ajmwagar

ajmwagar

Maintains trace-to-svg in the OpenClaw Skills directory.

View GitHub profile
File Explorer
6 files
.
references
examples.md
586 B
scripts
trace_to_svg.sh
1.7 KB
_meta.json
278 B
SKILL.md
1.3 KB
SKILL.md

name: trace-to-svg description: Trace bitmap images (PNG/JPG/WebP) into clean SVG paths using potrace/mkbitmap. Use to convert logos/silhouettes into vectors for downstream CAD workflows (e.g., create-dxf etch_svg_path) and for turning reference images into manufacturable outlines. metadata: openclaw: requires: bins: ["potrace", "mkbitmap"] install: - id: apt kind: apt package: potrace bins: ["potrace", "mkbitmap"] label: Install potrace + mkbitmap (apt) - id: brew kind: brew formula: potrace bins: ["potrace", "mkbitmap"] label: Install potrace + mkbitmap (brew)

trace-to-svg

Convert a bitmap into a vector SVG using mkbitmap + potrace.

Quick start

# 1) Produce a silhouette-friendly SVG
bash scripts/trace_to_svg.sh input.png --out out.svg

# 2) Higher contrast + less noise
bash scripts/trace_to_svg.sh input.png --out out.svg --threshold 0.6 --turdsize 20

# 3) Feed into create-dxf (example)
# - set create-dxf drawing.etch_svg_paths[].d to the SVG path `d` you want, or
# - store the traced SVG and reference it in your pipeline.

Notes

  • This is best for logos, silhouettes, high-contrast shapes.
  • For photos or complex shading, results depend heavily on thresholding.
  • Output is usually one or more <path> elements.
README.md

No README available.

Permissions & Security

Security level L1: Low-risk skills with minimal permissions. Review inputs and outputs before running in production.

Requirements

  • OpenClaw CLI installed and configured.
  • Language: Markdown
  • License: MIT
  • Topics:

FAQ

How do I install trace-to-svg?

Run openclaw add @ajmwagar/trace-to-svg in your terminal. This installs trace-to-svg into your OpenClaw Skills catalog.

Does this skill run locally or in the cloud?

OpenClaw Skills execute locally by default. Review the SKILL.md and permissions before running any skill.

Where can I verify the source code?

The source repository is available at https://github.com/openclaw/skills/tree/main/skills/ajmwagar/trace-to-svg. Review commits and README documentation before installing.