vectorize-pipeline
Skill2 starsChanged 4 months agoMITView on GitHub
Rebuild wordmarks from licensed font outlines or convert suitable high-contrast raster artwork into clean SVG candidates with the Portable Web Toolkit vectorization pipeline. Use for low-resolution logo recovery, trace preparation, SVG cleanup, or deciding when automatic tracing is inappropriate. Do not replace an approved vector master or imply that traced artwork is authoritative.
In this repository15 other files it gives its agents.
- AGENTS.mdAGENTS.md
- Web_Toolkit/AGENTS.mdAGENTS.md
- brand-doctorSkill
- discovery-doctorSkill
- image-pipelineSkill
- instagram-cloneSkill
- pagespeed-diagnosticsSkill
- portable-web-toolkit-routerSkill
- portable-web-toolkitSkill
- site-maintenanceSkill
- site-onboardingSkill
- site-readinessSkill
- site-starterSkill
- toolkit-updateSkill
- wcag-auditorSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Read the client repository's applicable instructions and Brand Guide, preserve unrelated work, and confirm the input and output paths are …
- Distinctive: line 17
If a logo PNG looks stair-stepped at 200% zoom, do not auto-trace it — rebuild from fonts:
- Very specific: line 61
Use --current-color with <img src="*.svg">
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Vectorize Pipeline
Preflight
Read the client repository's applicable instructions and Brand Guide, preserve unrelated work, and confirm the input and output paths are inside the intended project. Establish ownership, licensing, modification rights, and the status of any approved vector master before processing.
Prefer from-font for type
If a logo PNG looks stair-stepped at 200% zoom, do not auto-trace it — rebuild from fonts:
node ./Web_Toolkit/vectorize_pipeline/bin/vectorize-pipeline.mjs from-font \
--title "Example Studio" \
--subtitle WORKS \
--serif ./brand/fonts/ExampleSerif.ttf \
--sans ./brand/fonts/ExampleSans.ttf \
--fill '#f4fffe' \
--output ./public/brand/example-wordmark.svg \
--applyFirst time: cd Web_Toolkit/vectorize_pipeline && npm install
Inspect package scripts before installing. Use the repository-approved environment and do not install VTracer, Python packages, or fonts globally without authorization.
Raster path (vectorize)
node ./Web_Toolkit/vectorize_pipeline/bin/vectorize-pipeline.mjs vectorize \
--input ./logo.png --preset logo_smooth --fill '#f4fffe' --apply| Preset | Use |
logo | Clean high-contrast masters |
logo_smooth | Low-res/aliased — upscale+blur then VTracer |
logo_polygon | Smaller / sharper corners |
Flags
| Flag | Effect |
--apply | Write output |
--fill '#hex' | For <img src> SVGs |
--current-color | Inline SVG only |
--scale / --blur | Prep overrides (vectorize) |
Never
- Expect auto-trace to beat a hand SVG or font outlines on a soft/aliased master
- Use
--current-colorwith<img src="*.svg"> - Trace artwork without confirming ownership, licensing, and allowed modification
- Discard the original raster, font, or approved master
Verify
Inspect the SVG at multiple scales, validate its XML, compare its silhouette and spacing to the authorized source, and check fill behavior in its real embedding mode. Treat output as a review candidate until brand approval is established.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

