/opendesigner:opendesigner-illustratefrom OpenDesigner
Finds open-licence illustrations, stock photos, and icons, recolors them to match design tokens, and wires them into empty states, onboarding, hero sections, and error pages. Outputs SVG/React components with a license ledger.
Ships in OpenDesigner. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Use this when someone asks for illustrations, "make it more visual", art for an empty state, onboarding, a 404 or error page, a sign-in panel, a hero or feature tiles. It is also the open-library path of the H-illus hook (hooks.md in the opendesigner skill), and of H-icons when the person has a few icons of their own and needs more. It works with or without an OpenDesigner system; with one, the art takes the system's colors and follows its theme.
Output: SVG files (or React components) recolored to the tokens, one CSS file that switches their colors with the theme, a licence ledger and ATTRIBUTION.md, all in the person's repo. Nothing is final until the person picks it.
Talk plainly: one idea and one question per message, and recommend one option with its reason. The first time a term appears, give its plain meaning plus "Designers: X · Code: Y" (references/rules.md in the opendesigner skill).
Helper: scripts/illustrate.py (called illustrate.py below; run it from the person's project). Knowledge:
references/directory.md: every source (46, photo sources included), with its licence, credit rule, formats, search link, tips and steps. Generated from references/sources.json.references/sources.json, icon_sets: 24 open icon sets with their licence and construction (grid, line, caps, joins), read live from Iconify.references/searching.md: where to look first, how to word a search, file formats, and how to move through each kind of source.references/purposes.json: slots and their search words.references/ranking.md: how to judge fit.To show the person every source at once, run illustrate.py directory --open. It opens one page with filters (kind, no credit, agent can fetch) and a single search box that searches every site for the same words.
sources.json):
illustrate.py searches and downloads by itself.illustrate.py add. unDraw also bans AI training, packs and competing services.search and fetch call only the agent-fetch sources, over HTTPS, with each file capped at 3 MB. With --offline, or when the network fails, they print the requests as curl lines instead. Fetch those with your own tools, save each to the path given, and run the same command again.hooks.md rule 6). Keep only what the person picked.guardrails.md). Their art is their identity.aria-hidden="true"; the heading and text carry the meaning. Art that carries meaning gets a label (apply --label), and its key shapes need 3:1 contrast. Words drawn inside art cannot be translated or read by screen readers, so avoid them. Animated art follows the house motion rules (STD-when-to-animate-11) and needs a still version for reduced motion.H-illus hook stays open until the person accepts it.*.svg and *.png under public/, assets/, static/, src/), for opendesigner/illustrations/ledger.json, and for DESIGN.md's illustration section.opendesigner/state.json for hooks.H-illus.status and the answer to Q-img-04 (style: line, flat, hand-drawn, mascot, none).illustrate.py add FILE --source other --licence "<their words>", then go to step 5. Recommend commissioning for anything customers should recognise as theirs, and offer the brief at the end of hooks.md.List the slots that need art, one line each: slot (from purposes.json), screen, message it supports, size. Example: empty-state · Inbox with no mail · "You're all caught up" · 160 px. Ask the person to confirm or cut it. It stops one idea being searched in ten styles, and keeps every piece in the same style.
Tie the style to the system (DC-L05-19): the icon stroke weight, the corner radius (Roundness dial) and the palette. Illustration density follows Expression: at low Expression use neutral spot art for routine empty states and save color for first-run and celebration (DC-L05-20). The mono and tint variants exist for that.
python3 illustrate.py search "<the message in plain words>" --slot <slot> Openverse, Commons, Open Doodles, Lukasz Adam, CocoMaterial
python3 illustrate.py search "<object>" --slot feature --source iconify multicolor spot art for small tiles
python3 illustrate.py sources --q "<words>" [--kind people] [--no-credit] -v every source's search link for these words, with tips
python3 illustrate.py directory --open the browsable directory page
"<subject>" illustration svg CC0, "<subject>" illustration "public domain" svg. Keep only items whose own page states a licence that allows commercial use and changes. Download only from sources that allow it, then illustrate.py add FILE --source other --licence "<licence as stated>" --url <page>.references/searching.md says: the object you would draw, one or two nouns, three tries across two sources, then stop.directory.md, then illustrate.py add FILE --source <id> --url <item page>.python3 illustrate.py rank --slot <slot> [--style flat|line] scores 0-100: relevance 50, licence 20, format and fit 15, style 15
python3 illustrate.py sheet --candidates opendesigner/illustrations/candidates.html
The score reads titles and tags only, so it is a first filter, not a verdict. Look at the top 8-12 before you recommend anything: open the sheet in a browser tool, or read the preview images. Judge each on references/ranking.md: message fit, style fit with the system, how well it will recolor, clutter at the target size, people and representation, text inside the art, and consistency with the style lock.
Show the person the best 3 or 4 (the option-gallery template, a published page, or the sheet), each with one line on why, and recommend one. Once one piece is applied, the project's style is locked to its source; later rankings mark other sources down (illustrate.py style). Mixing libraries reads like mixing three typefaces.
python3 illustrate.py fetch <candidate-id> [--name inbox-empty] downloads, strips scripts and remote loads, logs the ledger row
python3 illustrate.py recolor inbox-empty uses opendesigner/build/css/tokens.css
python3 illustrate.py recolor inbox-empty --accent "#2563eb" no tokens yet: a quick palette from one color
python3 illustrate.py sheet inbox-empty opendesigner/illustrations/variants.html
How recoloring works: each color keeps its lightness and moves to a ramp. Grays go to the neutral ramp, the most-used hue to accent, the next ones to accent2 and accent3 (any further hue joins the nearest), each at the ramp step with the closest OKLCH lightness. Skin tones are kept; --recolor-skin changes them, which is rarely right.
| Variant | Use it for |
|---|---|
themed | Recommended. One inline SVG whose colors follow light and dark mode through CSS variables |
light, dark | Fixed files, for <img> tags, emails, native apps |
tint | Every hue on the accent ramp: calm, clearly on-brand |
mono | Neutral ramp only: routine empty states in dense tools |
swap | accent and accent2 traded, for a second section or a campaign |
Fix a wrong mapping with --map "#f9a826=accent2" or --map "#f9a826=accent-7" or keep a color with --map "#f9a826=#f9a826". Look at the variant sheet in light and dark before you show it. Then ask the person to pick a variant.
python3 illustrate.py apply inbox-empty --to src/components/illustrations --as react --slot empty-state
python3 illustrate.py apply inbox-empty --to public/illustrations --as svg --variant light --label "..." (only if it carries meaning)
python3 illustrate.py check src/components/illustrations/*.svg safety, palette, contrast, text
apply removes fixed width and height (size it with CSS), prefixes ids and class names and confines the drawing's CSS to itself, so two different drawings on one page cannot restyle each other. It sets aria-hidden or the label, and writes the theme CSS next to it. The same drawing placed twice on one page repeats its ids; that renders correctly because the copies are identical, but apply it under a second --name if you change one. Import that CSS once, after the token CSS. A themed SVG must be inline (or a component): an <img> cannot read CSS variables and shows the light fallback colors.purposes.json (size, role). Keep the message and the action next to it; art never replaces them.ATTRIBUTION.md lists the exact line; put it in the footer, an about page or a credits screen.engine.py pick Q-img-04 <line|flat|hand-drawn|mascot|none> --set-by chosen --quote "<their words>". This resets the hook to placeholder, so record the hook after it.engine.py set hooks.H-illus.status '"open-library"' --why "<source>, <slots>" (have for their own art, commissioning, placeholder, or not-needed).engine.py review, and re-read DESIGN.md. Commit opendesigner/illustrations/ledger.json and ATTRIBUTION.md with the art. src/ holds the untouched originals; keep or delete them, but keep the ledger.For the research step's three directions (references/research.md section 9 in the opendesigner skill), and any photo a page needs. Files, ledger.json and CREDITS.md go in opendesigner/research/photos/.
python3 illustrate.py photos search "<the scene, not a company>" --grade natural Openverse, Wikimedia Commons, Pexels (with PEXELS_API_KEY)
python3 illustrate.py --dir opendesigner/research/photos sheet --candidates look at every candidate before you fetch
python3 illustrate.py photos fetch <id> or photos add FILE --source unsplash --url <photo page>
python3 illustrate.py photos review <name> --brands none|found --grade <grade> --alt "..."
python3 illustrate.py photos check [--page site/index.html] licence, looked at, no "AI generated" caption
--brands found and another photo. Pexels' terms bar using a photo that shows a trademark, logo or brand commercially for goods or services.photos add FILE --ai --tool "<model>". Tell the person once. Never caption it on the page, and never strip the file's own provenance data.The H-icons path when the person has a handful of icons and needs more. Offer it before a designer brief. Files, ledger.json and ATTRIBUTION.md go in opendesigner/icons/.
python3 illustrate.py icons measure public/icons/*.svg [--sizes 20,40] their construction: badge or ring, glyph box, line, caps, colour
python3 illustrate.py icons sets open sets ranked by how close they are
python3 illustrate.py icons find "<object>" --set <set> glyph names in that set
python3 illustrate.py icons fetch <name> [...] --set <set> drawn into their construction, stroke scaled to their line
python3 illustrate.py icons sheet the new icons beside theirs, at their sizes
python3 illustrate.py icons keep <name> [...] --to <their icon folder> after a yes: status, ATTRIBUTION.md, the files
measure and sets work offline. Run both first, so you can recommend the one set at the top; find and fetch call Iconify, so ask before them as for any search.measure says the glyph box or line is an estimate, check one icon and pass --glyph-box or --line.sets ranks them lower.keep prints, and the icon stroke with the line measure printed.search --offline, fetch the printed requests with your web-fetch tool, save each response at its save_as path, and run the same search again. If you cannot fetch, ask the person to upload the SVGs they pick, and run add, recolor and apply on the uploads.If something was missing, wrong or confusing, record it with engine.py feedback "..." --kind gap|bug|confusing|idea (references/improve.md in the opendesigner skill). Nothing is posted without the person's OK.
The engine is the sibling opendesigner skill's scripts/engine.py, or scripts/engine.py in this skill when it came from a release zip.
references/directory.md (opens in a new tab)references/glossary.json (opens in a new tab)references/purposes.json (opens in a new tab)references/ranking.md (opens in a new tab)references/searching.md (opens in a new tab)references/sources.json (opens in a new tab)scripts/illustrate.py (opens in a new tab)scripts/test_illustrate.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
illustrations, icons, stock-photos, open-licence, design-tokens, svg
10 skills in this plugin
/opendesignerCreates or sets up a design system (tokens, theme, colours, fonts, DESIGN.md). Use for "make my app look good", a look like a brand's, a landing page, an app or a redesign. One question at a time./opendesigner-exportExports an OpenDesigner system to CSS variables, Tailwind, DTCG, Swift, Compose, Figma or Paper, and writes it into Figma or Paper when connected. Use for "export tokens" or "put it in Figma"./opendesigner-extendChanges an existing OpenDesigner system (an opendesigner/ folder), such as a new colour, rounder corners, dark mode or a component. Reads DESIGN.md, decisions and locks first, asks only what is new.npx claudepluginhub ckryptickunal/opendesigner --plugin opendesignerOther plugins' skills for the same job