by simpsoka
Free, open-source embroidery software for Mac and Windows. Turn SVG artwork into machine embroidery, edit stitches visually, and create designs with AI agents via MCP.
# Add to your Claude Code skills
git clone https://github.com/simpsoka/zigzagzigzag is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by simpsoka. Free, open-source embroidery software for Mac and Windows. Turn SVG artwork into machine embroidery, edit stitches visually, and create designs with AI agents via MCP. It has 1,311 GitHub stars.
zigzag's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/simpsoka/zigzag" and add it to your Claude Code skills directory (see the Installation section above).
zigzag is primarily written in Rust. It is open-source under simpsoka on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh zigzag against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
Visit zigzag.diy · Download for Mac, Windows or Linux
ZigZag is a visual embroidery editor built in Rust for performance, with built-in MCP (Model Context Protocol) support so AI agents can create and edit designs alongside you. Turn SVG artwork into stitches, fine-tune it in the editor, and export PES, DST, EXP, JEF, or VP3 for broad compatibility with embroidery machines—or send designs directly to a Brother Skitch (PP1) over Bluetooth, or to a Brother or Baby Lock machine with Wireless LAN over your network.
Draw in Illustrator, draw in ZigZag, or let an agent draw. The Rust engine
and zigzag command-line tool power the same workflow outside the editor.
https://github.com/user-attachments/assets/94812f25-82f4-429f-85db-5e20c1d5e723
Stitching on a Brother Skitch (PP1)
Download the video (MP4, 1080p) · Original post on X.
For Apple Silicon and Intel Macs, macOS 11 or later. Open the DMG, then drag ZigZag into Applications. The release is signed and notarized by Apple. No Rust installation is needed.
Or with Homebrew:
brew install --cask simpsoka/zigzag/zigzag
To update a Homebrew installation:
brew upgrade --cask --greedy simpsoka/zigzag/zigzag
ZigZag also updates itself: it tells you when there's a newer release and installs it when you say (ZigZag › Check for Updates…).
Download ZigZag for Windows
— the ZigZag-<version>-x86_64-windows-setup.exe asset on the latest release.
For 64-bit Windows 10 (version 1709 or later) and Windows 11. Run the
installer: it needs no administrator rights, adds ZigZag to the Start menu
and to Open with for SVG and stitch files, and can put zigzag-cli on the
PATH. Uninstall it from Settings › Apps. The
ZigZag-<version>-x86_64-windows.zip asset holds the same files without an
installer: unzip it and double-click ZigZag.exe. Windows SmartScreen may
warn the first time a download runs; click More info → Run anyway. No
Rust installation is needed.
Download ZigZag for Linux
— the ZigZag-<version>-x86_64-linux.tar.gz asset on the latest release.
For x86-64 Linux desktops with glibc 2.35 or newer (Ubuntu 22.04+, Debian 12+),
X11 or Wayland, and OpenGL. Extract the archive and run ./zigzag-studio
inside the extracted folder. It also includes the zigzag CLI and
zigzag-mcp bridge; no Rust installation is needed. See the included
README.txt for runtime dependencies and Bluetooth setup.
Release notes and checksums · Changelog · Publishing a release
ZigZag works without an account, sends no usage statistics or crash reports, and keeps your designs on your computer unless you share them. It asks GitHub whether there's a newer release (Settings › General turns that off) and talks to zigzag.diy only when you sign in, sync or share a design. The details are in the privacy policy.
Windows releases are built and signed on GitHub Actions from the tagged source (windows-release.yml), and the run fails if any of those files comes out without a valid signature. Nothing built anywhere else is signed.
cargo build --release # CLI + MCP bridge, no system deps
cargo build --release --features gui,ble # + the studio editor and Skitch upload
Linux needs the usual X11/Wayland and OpenGL dev libraries for gui. libdbus
is vendored for ble.
zigzag/
src/svg.rs SVG import (usvg): fill and stroke parts, transforms, text
src/document/ editable document; settings saved back into SVG ids,
layout edits as SVG transforms, lettering
src/params.rs stitch settings tokens + fabric presets
src/stitch/fill.rs tatami fill (scanline sections, staggered rows)
src/stitch/satin.rs satin columns: two rails, auto-satin, underlays, short stitches, lean
src/stitch/cat.rs letters into satin columns by their chordal axis (strokes, joins, mitres)
src/stitch/columns.rs shapes that branch or have holes, cut into satin columns (`cut`)
src/stitch/stroke.rs running / triple-run stitch
src/boolean.rs polygon booleans and offsets (i_overlay)
src/design.rs planner: overlap removal, cap order, routing, trims
src/route.rs travel out of sight: a way through fills and under what covers
src/checks.rs digitizing checks (sizes, widths, lettering, hoop, travel in sight)
src/machine/profile.rs machine profiles: hoops and file format, built in (profiles.json) or your own
src/formats/ PES (+PEC), DST, EXP, JEF, VP3, Skitch PEN writers;
PES/PEC/DST/EXP/JEF/VP3/CSE readers; preview; worksheet;
ZigZag's stitch-plan file (plan.rs)
src/machine/ Skitch Bluetooth protocol (+ btleplug client, `ble` feature),
Brother Wireless LAN send (wlan.rs, over the system's curl)
src/studio/ editor (egui on OpenGL via glow) + MCP server (`gui` feature)
src/mcp_bridge.rs stdio ↔ HTTP bridge for MCP clients that launch a command
Run the studio's tests with cargo test --features gui (plain cargo test
skips them).
Letter census: tools/census/census.sh NAME sets every letter and digit of about 50 popular fonts of every kind of type (tools/census/fonts.txt) as a satin and counts how many come out clean on every measure (no filled parts, stitches off the letter, extra cuts, travel in sight, bare cloth, off-square stitches, seams or satin piled three deep), with trims and letters sewn in one piece. It takes about half a minute; quick sweeps every 8th installed family and full all of them. Each process is stopped past 2 GB. ZIGZAG_FONT_SIZE=11 sets letters about 8 mm tall. tools/census/summary.py compares runs in target/census/. To try a change, tools/census/try.sh [VAR=VALUE …] runs the popular fonts at 8 and 15 mm as sewn and with the settings given, in one go, and shows each against the last try (results for code that hasn't changed are kept). tools/census/letter.sh FAMILY CHAR [8|15] [VAR=VALUE …] plans one letter and says where each trim is and why (ZIGZAG_TRIMS=1 does that for any zigzag convert); tools/census/trims.py sorts a census's trims that way, for a census run with ZIGZAG_TRIMS=1. tools/census/sheet.py OUT.png [8|15] FAMILY=CHARS … draws letters' stitches in a few settings side by side over their outlines, to judge by eye; tools/census/judged.txt is a set judged that way and tools/census/judge.py checks the census's faults against it (the census counts stitches crowded into one place, the narrow end of a fan, and needle points outside the letter, but judges fans poorly). They build with the trial profile: as fast as release, but an edit rebuilds in seconds.
App icons: the embroidered icons live in packaging/macos/AppIcon.png
(light) and packaging/macos/AppIcon-dark.png (dark). The Mac build
regenerates both .icns files; bash packaging/macos/make-icons.sh does it
separately. Finder and the unopened app use the light icon; while the studio
runs, its Dock icon follows the app's theme.
Screenshots and videos: start the studio with ZIGZAG_CAPTURE=<folder>
and ⌃⌥⌘S saves the window as a full-resolution PNG; ⌃⌥⌘R starts and stops
recording it. packaging/media/encode.sh <folder>/take-001 demo turns a
recording into demo.mp4 and demo.gif (needs ffmpeg).
| Type | What it does | Works on |
|---|---|---|
| Fill (tatami) | Staggered rows, any angle, with underlay (edge walk + rows) and pull compensation | Filled shapes |
| Satin | Zigzag column between two rails, with center/contour/zigzag underlay, pull compensation and short stitches on tight curves; plain, S-stitch or zig-zag top stitching; an even zigzag (each step shared between the stitch over and the stitch back; even=0 for one straight across and one stepping); stitches square across or leaning (lean=8); several threads across the column (multicolor satin) |
Strokes (any width); Ink/Stitch-style two-rail paths with rungs (open rails or closed ones, a ring; the rails are the pair every rung crosses, or the ones rails=1+2 names); filled shapes: rings use inner/outer outline, bars and crescents split at their tips, letters and other shapes that branch or have a counter are read as strokes by their chordal axis (the middle line of the t |