skills/image-to-svg/SKILL.md
Convert raster images (JPEG, PNG) to SVG vector graphics using Potrace. Use when the user asks to vectorize an image, convert a logo to SVG, trace a bitmap, or create vector graphics from a raster image.
npx skillsauth add razbakov/skills image-to-svgInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Convert logos and icons from raster formats to clean SVG vectors using Potrace.
# macOS
brew install potrace imagemagick
# Ubuntu/Debian
sudo apt install potrace imagemagick
Convert to PBM (portable bitmap) format for Potrace:
# For clean logos with solid colors
magick input.jpg -colorspace Gray -threshold 50% output.pbm
# Adjust threshold (0-100%) based on image:
# - Lower values: more black, captures finer details
# - Higher values: more white, cleaner shapes
potrace output.pbm -s -o output.svg
Potrace options:
| Option | Effect |
|--------|--------|
| -s | Output SVG format |
| -t 5 | Suppress speckles smaller than 5 pixels |
| -a 1.0 | Smoother curves (0=polygon, 1.34=default) |
| -O 0.2 | Optimize paths (0=least, 1=most) |
Potrace outputs monochrome SVG. To add colors:
fill="#000000" to desired colors<g> groups with different fillsExample color edit:
<!-- Before -->
<g fill="#000000">
<path d="...lips..."/>
<path d="...hand..."/>
</g>
<!-- After: separate groups with colors -->
<g fill="#C21E1E"> <!-- Red for lips -->
<path d="...lips..."/>
</g>
<g fill="#FFFFFF"> <!-- White for hand -->
<path d="...hand..."/>
</g>
For logos with distinct color regions:
# Extract red channel (for red elements)
magick input.jpg -channel R -separate -threshold 50% red.pbm
potrace red.pbm -s -o red.svg
# Combine manually or use SVG editor
| Issue | Solution |
| ------------------- | --------------------------------------------------- |
| Too much noise | Increase threshold or use -t to suppress speckles |
| Missing details | Decrease threshold value |
| Jagged edges | Use -a 1.5 for smoother curves |
| File too large | Use -O 1 for maximum optimization |
| Background included | Use -k 0.5 to set black level cutoff |
Always verify the SVG renders correctly:
tools
--- name: handoff description: Get an agent past a browser/UI wall it can't (or must not) cross on its own — a login-gated dashboard, a CAPTCHA, a 2FA prompt, an API that keeps rejecting the write, or an irreversible click that policy says a human must make. This skill is an ESCALATION LADDER, not a first move: it tells you to try the automated browser surfaces FIRST (Chrome-in-Claude, computer-use, an autonomous browser sub-agent) and only fall back to the Handoff app — a wrapper browser that h
documentation
Summarize one or more YouTube videos from their links. Use this whenever the user pastes a youtube.com or youtu.be URL (or several) and wants to know what it's about — phrasings like "summarize to telegram", "tldr these videos", "what do these say", "summary of this talk", or just dropping links with no instruction at all. Fetches each video's real transcript via yt-dlp (not the page text, which never contains the transcript), cleans the captions, and writes a per-video summary. Default delivery is Telegram; honor any other surface the user names ("to my notes", "just here in chat", "email it"). Trigger even when the user only pastes bare links — bare YouTube links almost always mean "tell me what's in these".
data-ai
Daily Digest — Chief-of-Staff role consolidates the six top-managers into one Telegram message to the Commander, instead of six. Implements the protocol from agent-proactivity.md.
development
Seed a new or empty Instagram account with a 9-post grid (3×3) so the profile looks established the moment a new visitor lands. Designed for festivals, new businesses, product launches, conferences, communities — any time an empty IG profile would hurt conversion from external traffic (QR scans, flyer drops, cross-promo). Generates assets via /image-from-gemini (per content-publishing rules — never HTML), writes captions with hashtag sets, and outputs a posting order + cadence plan. Trigger generously: phrases like '9 posts for instagram', 'fill my IG', 'starter grid', 'launch grid', 'instagram seed', '9-post grid', 'IG account not to look empty', 'first instagram posts', 'feed bootstrap', '3x3 grid', 'instagram launch content'. Even if the user mentions only one piece (just the images, just the captions, just the order), use this skill — the grid only works as an integrated bundle.