daftai-image-to-svg SKILL.md skillA

daftai-image-to-svg from daftai2026/daftai-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add daftai2026/daftai-skills/daftai-image-to-svg@git:20260704.214568e

Pins git:20260704.214568e in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
daftai2026/daftai-skills
Path
skills/daftai-image-to-svg/SKILL.md
Versions recorded
1
Latest version
git:20260704.214568e, committed Jul 4, 2026
Size
6,748 bytes
Repository stars
18
License
none declared

Converts transparent or solid-background single-color PNG files and SVG files containing one embedded or local PNG into verified path-only SVG output. Removes pure-color backgrounds automatically. Uses Potrace threshold and parameter scans with alpha error metrics to preserve detailed logos, stamps, engravings, and line art. Use when the user asks to convert images to SVG, vectorize PNG, convert bitmap to true SVG, remove embedded raster data from SVG, 图片转矢量, PNG 转 SVG, 真矢量, or 位图描摹.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Image to SVG

Convert transparent or solid-background single-color artwork into a genuine SVG containing paths rather than an embedded bitmap.

Automatic tracing approximates the raster boundary. Only the original vector source can provide mathematically exact curves.

## Scope

Supported:

- Transparent PNG.
- PNG on a pure-color background, including white, red, green, or other flat colors.
- SVG containing exactly one Base64 or local PNG.
- Single-color logos, stamps, engravings, silhouettes, and detailed line art.

Reject:

- Photos, gradients, textured backgrounds, and multicolor artwork.
- Remote image URLs.
- SVG mixing raster artwork with existing paths.
- Centerline or editable-stroke reconstruction.

For multicolor artwork, recommend VTracer instead of forcing this workflow.

## Script Directory

**Important**: All scripts are located in the `scripts/` subdirectory of this skill.

**Agent Execution Instructions**:

1. Determine this SKILL.md file's directory path as `SKILL_DIR`.
2. Set command working directory to `${SKILL_DIR}`.
3. Execute `bun ${SKILL_DIR}/scripts/vectorize.ts`.
4. Replace `${SKILL_DIR}` with the absolute path.

| Script | Purpose |
|---|---|
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add daftai2026/daftai-skills/daftai-image-to-svg@sha256:0167f21afc0db4f7

The line at the top of this page pins the label git:20260704.214568e, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_qvtvr2juhae3zic4.svg)](https://markdownregistry.com/a/art_qvtvr2juhae3zic4)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Jul 4, 2026.

versioncommittedcommitsizeaudit
git:20260704.214568e latest2026-07-04 214568e 6,748 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (6748 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

daftai2026/daftai-skills · 18 stars · license none declared · pushed 2026-11-05 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_qvtvr2juhae3zic4
GET https://markdownregistry.com/api/v1/resolve?ref=daftai2026/daftai-skills/daftai-image-to-svg
GET https://markdownregistry.com/api/v1/blob/0167f21afc0db4f7a0b1b37a31c75bcf134d93564f7ba7bda60b901c41d2e835

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from daftai2026/daftai-skills

AGENTS.md AGENTS.md file
daftai2026/daftai-skills · AGENTS.md
git:20261014.d220237 · audit B · 18 stars
CLAUDE.md CLAUDE.md file
daftai2026/daftai-skills · CLAUDE.md
git:20261014.d220237 · audit B · 18 stars
daftai-chinese-copywriting SKILL.md skill
daftai2026/daftai-skills · skills/daftai-chinese-copywriting/SKILL.md · Checks and fixes Chinese copywriting with autocorrect-backed workflows for text and single-file Markdown/TXT inputs…
git:20261014.677457a · audit B · 18 stars
daftai-chinese-technical-writing SKILL.md skill
daftai2026/daftai-skills · skills/daftai-chinese-technical-writing/SKILL.md · Writes, rewrites, and reviews Chinese technical documentation, product copy, and UI microcopy using…
git:20261014.3b0326f · audit A · 18 stars
CLAUDE.md@skills/daftai-cloudflare-billing-audit CLAUDE.md file
daftai2026/daftai-skills · skills/daftai-cloudflare-billing-audit/CLAUDE.md
git:20261014.5acb415 · audit A · 18 stars
daftai-cloudflare-billing-audit SKILL.md skill
daftai2026/daftai-skills · skills/daftai-cloudflare-billing-audit/SKILL.md · Audits a Cloudflare application repository for code paths and configuration that may create usage-based billing…
git:20261014.d220237 · audit A · 18 stars
CLAUDE.md@skills/daftai-cloudflare-billing-audit/references CLAUDE.md file
daftai2026/daftai-skills · skills/daftai-cloudflare-billing-audit/references/CLAUDE.md
git:20261014.d220237 · audit A · 18 stars
daftai-extracting-video-subtitles SKILL.md skill
daftai2026/daftai-skills · skills/daftai-extracting-video-subtitles/SKILL.md · Extracts timed subtitles from local video/audio files using Whisper. Outputs SRT format with accurate timestamps…
git:20260327.38c81a4 · audit A · 18 stars
daftai-gpt-image-2-5-prompt-optimizer SKILL.md skill
daftai2026/daftai-skills · skills/daftai-gpt-image-2-5-prompt-optimizer/SKILL.md · Optimizes natural-language image requests and rough prompts into ready-to-use GPT Image 2.5 prompts using the official…
git:20260910.0f5afd5 · audit A · 18 stars
daftai-subtitle-translator SKILL.md skill
daftai2026/daftai-skills · skills/daftai-subtitle-translator/SKILL.md · Translate subtitle files (SRT/VTT) between languages. Auto-detect source language, batch translate with count…
git:20260327.38c81a4 · audit A · 18 stars
daftai-url-to-markdown SKILL.md skill
daftai2026/daftai-skills · skills/daftai-url-to-markdown/SKILL.md · Fetch any URL and convert to markdown using Chrome CDP, with automatic image downloading. Supports auto-capture and…
git:20260327.38c81a4 · audit B · 18 stars
daftai-video-compositor SKILL.md skill
daftai2026/daftai-skills · skills/daftai-video-compositor/SKILL.md · Embeds a local video into an exact rectangular or rounded region of a screenshot or static image, preserving…
git:20261014.677457a · audit A · 18 stars

Every file in daftai2026/daftai-skills

Browse by kind, by grade A, or by owner.