raster-logo-svg

raster-logo-svg is a skill for Claude Code from PyModel/designer-skill. It costs 69 tokens per session (843 once invoked), scanned A, original, MIT.

A method for putting an existing PNG, JPG, or WebP logo inside a self-contained SVG file. SVG is a web image format, but this approach embeds the original raster image rather than turning it into editable vector shapes.

In plain words
What is it for?
Creating SVG wrappers for raster logos, preparing logo files for plugins or documentation, and converting existing image assets when no vector source is available.
Why use it?
It preserves an existing logo pixel-for-pixel when an SVG file is required, avoiding inaccurate hand-drawn or automatic vector versions.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the designer-skill plugin — 3 skills, 2 commands shipped together

Good fit Creating SVG wrappers for raster logos, preparing logo files for plugins or documentation, and converting existing image assets when no vector source is available.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pymodel/designer-skill/raster-logo-svg
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add PyModel/designer-skill --skill raster-logo-svg
Clone the repo
git clone --depth 1 https://github.com/PyModel/designer-skill

Made for: Claude Code.

Or install designer-skill, the plugin that ships this one along with the rest of its 3 skills, 2 commands.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for raster-logo-svg

README.md
[![agentmods](https://agentmods.dev/badge/skills/pymodel/designer-skill/raster-logo-svg/github.svg)](https://agentmods.dev/skills/pymodel/designer-skill/raster-logo-svg)
Your own site
<a href="https://agentmods.dev/skills/pymodel/designer-skill/raster-logo-svg"><img src="https://agentmods.dev/badge/skills/pymodel/designer-skill/raster-logo-svg/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for raster-logo-svg

Your own site · 80×15
<a href="https://agentmods.dev/skills/pymodel/designer-skill/raster-logo-svg"><img src="https://agentmods.dev/badge/skills/pymodel/designer-skill/raster-logo-svg.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 843 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00069 $0.00843
Opus 5 $0.00034 $0.00421
Sonnet 5 $0.00014 $0.00169
Haiku 4.5 $0.00007 $0.00084

Measured 8d ago against content hash c4a1451b394d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

raster-logo-svg scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/embed-logo.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/raster-logo-svg/SKILL.md · 89 lines

How it starts

The opening of the file, as written. The whole thing — 89 lines — stays where its author put it; the contents beside it link to each section on GitHub.

raster-logo-svg

Create an SVG wrapper around an existing raster logo so the output is pixel-identical to the source. This is not true vectorization.

Choose the approach

Need Do
Match an existing raster logo exactly Embed (this skill)
Crisp at any size, editable paths Export from Figma/Illustrator, or commission true vector
Quick monochrome outline Potrace (usually wrong for brand logos with color/gold/type)
Hand-redrawn paths Only if no raster exists and user accepts approximation

Default to embed when a .webp, .png, or .jpg logo already exists and the user wants .svg.

Workflow

  1. Source of truth — keep the raster (e.g. docs/logo.webp). Do not delete it.
  2. Generate SVG — run the script from repo root or skill directory:
python3 skills/raster-logo-svg/scripts/embed-logo.py docs/logo.webp -o docs/logo.svg -l "project-name"

Requires ImageMagick (magick identify) for dimensions. Install: brew install imagemagick.

  1. README — prefer the raster in GitHub README for reliable rendering:
<img src="docs/logo.webp" alt="project-name" width="580" />

Use the SVG for plugin manifests, favicons, npm package icons, or anywhere a .svg path is required.

  1. Verify — open the SVG locally; it must look identical to the raster. Do not commit temp traces (icon-traced.svg, potrace output, failed hand-drawn attempts).

Output format

The script produces:

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 W H" role="img" aria-label="…">
  <image width="W" height="H" href="data:image/webp;base64,…"/>
</svg>
  • viewBox matches source pixel dimensions from magick identify.
  • MIME: image/webp, image/png, or image/jpeg from file extension.
  • Self-contained: no external href="logo.webp" (breaks when SVG is copied alone).

Tradeoffs (tell the user when relevant)

  • Pros: Perfect visual match, fast, no design source needed.
  • Cons: Not true vector; upscaling very large may soften (same as the raster).
  • Size: SVG file ≈ base64(raster) + ~200 bytes overhead (~33% larger than raw binary).

Read the full file on GitHub · 89 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 89 lines · 69 tokens per session scan A c4a1451b394d

Subscribe to this mod's changes

raster-logo-svg is a skill published in the GitHub repository PyModel/designer-skill (30 stars, last pushed 2d ago), licensed MIT. It adds 69 tokens to every session and 843 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

canvas-design

Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.

b1rdmania/claude-brand-skills · 59 tokens

design

Use when the user wants the visual/experiential design of a product done systematically — a design system, a screen, a landing page, or a visual identity — grounded in researched real-world prior art and free of AI slop. Establishes/extends the design system, invokes the matching local taste skill, dispatches the…

jeremylongshore/tons-of-skills-marketplace · 126 tokens

illustration-style

Define an illustration style guide — visual language, colour usage, and application rules. Use when commissioning or standardising illustration. For icons, use icon-system (design-systems).

Owl-Listener/designer-skills · 41 tokens

create-motion

Generate motion specification annotations from After Effects timeline data. Use when the user mentions "motion", "motion spec", "animation spec", "timeline", or wants to document a component's animation properties.

redongreen/uSpec · 42 tokens

qiaomu-design

A design review and redesign guide that combines product reasoning, visual design references, interaction patterns, and engineering checks for user interfaces.

joeseesun/qiaomu-design · 118 tokens

morphous-catalog

Create or refresh Morphous website design-system/theme bundles from animal, insect, plant, landscape, mineral, weather, or other nature motifs. Use when Codex is asked to generate Morphous motif images, light/dark design-system boards, reusable image prompts, generated web assets, shadcn/tweakcn theme exports, or the…

Ameyanagi/morphos · 79 tokens