/opendesigner:opendesigner-extractfrom OpenDesigner
Extracts design tokens, CSS values, and visual measurements from websites, screenshots, Figma files, repos, or brand books. Maps them to structured dials and taste indices for design reference.
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 the person offers something to learn from. It can be their own product, a site they admire, a screenshot, a Figma file, a repo, a token file or a brand book. It runs inside the opendesigner interview (stage 00, open at every stage) or on its own before one.
Output: measured values, each with where it came from, mapped to the eight dials and offered as pre-filled answers. Nothing is decided until the person accepts it.
Talk plainly: one idea per message. The first time a term appears, give its plain meaning plus "Designers: X · Code: Y" from references/glossary.json (see references/rules.md in the opendesigner skill).
Knowledge: references/reference-intake.json holds what each source can give, the inverse formulas and the dial maps (from synthesis/LEVERS.md section E). Helpers:
scripts/css_scan.py reads repo CSS, token files or browser output. Repeat --from-json to merge several pages of one site.scripts/read_page.js reads computed styles from a live page.scripts/taste_index.py writes a Taste Index (section 7).practices.md section 3 in the opendesigner skill) is an inspiration. The tag decides what the reference does to the person's taste index: an inspiration pulls it, their own product pulls at half strength, and a competitor never pulls (see references/taste.md in the opendesigner skill).references/research.md section 6 in the opendesigner skill), never to take from.| Source | How | What you get | What you cannot get |
|---|---|---|---|
Repo, CSS, Tailwind config, *.tokens.json | python3 <this skill>/scripts/css_scan.py <path> --json > opendesigner/references/<ref-id>.json | Declared colors, custom properties, fonts, sizes, spacing, radii, shadows, transitions (exact, but "declared" is not always "rendered") | Intent; which values are actually used on screen |
| Live URL with a browser tool | Open the approved page, scroll it once so lazy sections load, run scripts/read_page.js in the tool's JavaScript runner, save the JSON, then css_scan.py --from-json page.json --json > opendesigner/references/<ref-id>.json | Computed values by role across the whole page: text sizes by characters (running text, headings, nav, captions, controls; long unbroken strings are decoration), control and container radii, colors on buttons, links, focus and selected states, coloured words and accent tokens, shadows, borders drawn by ::before/::after, windows, frames and offset slabs drawn with boxes, UI transitions apart from loops that always run, the area share of every background colour, full-width sections, whitespace, type roles, component signatures, voice as counts, :root custom properties, targets under 24 px. Cookie banners are left out | Canvas drawing; hover, focus and open states unless you trigger them (:focus and selected-state rules are read from same-origin stylesheets, and count only when the component they style is on the page); anything behind a login |
| Live URL without a browser | Fetch HTML and linked CSS if the host allows, then css_scan.py on the saved files | Declared values only | Motion and states; say so explicitly |
| Screenshot or image | taste_index.py screenshot shot.png --id <ref-id> --estimate radius=0 --estimate body=16 ... (PNG) writes opendesigner/references/<ref-id>.json with kind: "screenshot"; then engine.py intake it | Colours and their area shares, the ground, full-width bands and blank space measured from the pixels; sizes, radii, depth and fonts are your estimates | Motion, exact spacing, dark mode, states; everything but the pixel measurements is marked estimated |
| Figma file | Figma MCP: get_variable_defs (variables), get_design_context (styles, components), get_screenshot | Variables and styles exactly, including timing and easing variables where used | Raw values used without variables; more than one mode per read |
| Brand book PDF | Read text, colors, font names, embedded logos | Brand colors, typefaces (often with licence notes), voice | Editable logo masters: ask for the SVG |
css_scan.py measures. Then engine.py intake opendesigner/references/<ref-id>.json fits the measurements to the formulas. It prints proposed dial positions and inputs, each with a confidence and a basis, and stores them as pending. Check its output instead of redoing the math:
headingRatio is the largest heading ÷ body size.air), and the share of the page height left blank across its whole width (blankRows). Small type in a lot of space reads spacious.#0000ee) and error, warning and success states never count. Colorfulness is 3 parts the share of the page painted in colour and 2 parts the accent's chroma. Full-width sections of one flat colour are recorded in page order ("colour as a place").cubic-bezier(...), steps(...) and linear(...) curves are kept whole. An overshooting curve lowers damping. Take motion only from a live source.summary gives each measurement a confidence (high, medium, low) and the number of elements or rules behind it. Say how sure you are; offer a low one as a question, not a proposal.identity names the reference's accent hue and typefaces as measurements, never as values to adopt. System font stacks (for example -apple-system or Segoe UI) and faces under 5% of the text are not listed as the reference's typeface.| Dial | From | Confidence |
|---|---|---|
| Roundness | most common button and input radius | high (URL, Figma), medium (screenshot) |
| Density | body size, control heights, the gap between blocks of text, blank bands | high |
| Depth | shadow layers, hard shadows, borders (drawn ones too), windows and frames, blur | high (URL, Figma), medium (screenshot) |
| Colorfulness | share of the page in colour, accent chroma | high |
| Warmth (color) | neutral hue and chroma | high |
| Energy | UI durations, easing overshoot, loops by their easing | medium (URL), low (Figma), none from screenshots |
| Expression | display-to-body ratio, containment, colored chrome | medium; one page can mislead |
| Brand presence | never inferred | always ask |
Carry: layout rhythm, scales and ratios, density, depth model, motion character, component anatomy, quality bar. Never carry: brand name, logo, the reference's exact accent hue, proprietary typefaces, photography, illustration, custom icons, signature shapes, surfaces or devices, verbatim copy. The exact hue and the typeface names are kept only in a Taste Index (below).
signature when the reference feeds a direction (research.md section 9). Learn from at least two references, so no single site's look carries over.system-ui, -apple-system, Segoe UI) are nobody's identity: don't list them as "not taken".hooks.md H-type), say "your own licensed font, not taken from the reference". Its licence scope per platform still applies.taste_index.py prints: what the person keeps or changes is their call and their responsibility. Logos, brand names, imagery and written copy stay out, and font files are never downloaded or shipped. Its values reach the person's system only through taste_index.py use, after they choose it.use, after they choose it. Never record the colour as their brand any other way.Show one card per stage the reference touches. Use plain words; the dial numbers are for the record (example values):
What I learned from example.com (inspiration: lessons, not looks) · measured in the browser
Corners 6 px on buttons -> roundness 42 measured [Accept] [Adjust] [Ignore]
Density 14 px text, 32 px buttons -> density 70 measured
Depth a thin ring and a faint shadow -> depth 25 measured
Motion most moves take 150 ms -> speed x0.55 measured (CSS only; springy motion is not visible)
Accent one strong color, only on buttons, chroma 0.19 (their exact color is not copied: what is yours?)
Not taken logo, wordmark, their own display font (a free look-alike is offered), their words, their signature device (edge ruler ticks)
OD:accept <ref-id>:<path> or OD:ignore <ref-id>:<path>.engine.py set <path> <value> --set-by reference --source-ref <ref-id> --why "measured: <basis>". When they accept all, run engine.py intake <file> --accept.--set-by chosen. An ignored value records nothing.Use this when the person wants everything new to look like a site they love ("make it feel like this", "a taste index of X"), or asks to make their product look like another brand (offer it; section 5). The format follows davecto's Taste Index reel (learn/analysis/davecto-taste-index-reel-deddoxeujet.json): one index per look, written for any agent to follow.
read_page.js on each page and save each result. Merge them: css_scan.py --from-json a.json --from-json b.json --json > scan.json. Merge only pages that share one look: if css_scan.py warns that a page looks different, that page gets its own index. For a screenshot, run taste_index.py screenshot (section 2) and use its file instead.python3 <this skill>/scripts/taste_index.py draft scan.json --id <the look's name, not the brand's> [--tag our-product]. It writes opendesigner/taste-indexes/<id>/: index.json, TASTE-INDEX.md, taste.css (a variable for every value, plus component classes that use only those variables) and specimen.html (every swatch, type role, component and motion, live). It registers the index as a reference, so its dials reach the taste index as an inspiration. It decides nothing.
taste_index.py set <id> picture "...". set <id> principles numbers every principle found; rewrite any why that is wrong (set <id> why N "..."), keep 5 to 7 (set <id> principle N --keep|--drop), and add what the page never does but the counts cannot see (set <id> never "...", always marked inferred). Never invent a rule the site does not follow. Drafting again (more pages) keeps what you wrote.taste_index.py build <id> and check <id> (no errors). Open specimen.html. Present the picture, the principles and the swatches with the notice it prints, in plain words. Say what you were not sure about (the index lists it).taste_index.py list). Ask which one, if any, their system should follow, and whether to keep the exact fonts (they need their own licence; nothing is downloaded) or use the free substitutes. Never decide either for them. Then taste_index.py use <id> --fonts exact|free and engine.py build. DESIGN.md then tells every agent to read the index first; offer the AGENTS.md line the index prints.If something was missing, wrong or confusing, record it with engine.py feedback "..." --kind gap|bug|confusing|idea, and follow references/improve.md in the opendesigner skill. Nothing is posted without the person's OK.
If profile.tracking is on, log the steps as references/rules.md section 11 in the opendesigner skill says. Never put a reference's URL or content in a note.
The engine is scripts/engine.py in this skill when it was installed from a release zip. Otherwise it is the sibling opendesigner skill's scripts/engine.py. If neither is present, give the accepted values as a list, and say the engine is needed to generate tokens.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
design-tokens, css-extraction, visual-analysis, design-system
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