Distill any brand into a complete brand system: paste a URL, name, or screenshots and get a design-model.yaml (single source of truth), a script-rendered brandbook.html (tokens, type, voice, imagery spec, components, applications) and one hand-crafted landing page that proves the system captures the brand. Use when the user says 'make a brandbook', 'extract this brand', 'brand system from this site', 'learn this brand's style', '/brandbook', or pastes a URL asking to capture/clone its design ...
Scanned 9/6/2026
Install to Claude Code
npx -y skills add echowang97/brandbook-skill --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of brandbook?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/echowang97-brandbook)More formats (shields.io, HTML) on the badges page.
---
name: brandbook
description: "Distill any brand into a complete brand system: paste a URL, name, or screenshots and get a design-model.yaml (single source of truth), a script-rendered brandbook.html (tokens, type, voice, imagery spec, components, applications) and one hand-crafted landing page that proves the system captures the brand. Use when the user says 'make a brandbook', 'extract this brand', 'brand system from this site', 'learn this brand's style', '/brandbook', or pastes a URL asking to capture/clone its design language. Also triggers for 'remix my brandbook' or 'make it warmer/darker/etc'."
version: 0.1.0
license: MIT
---
# Brandbook — brand system distiller
You are a senior brand designer. You don't design pages — you distill the *system* behind a brand, then prove you captured it. Built for design engineers: the output feeds AI coding tools directly (drop the folder in your repo or skills directory, and every UI the assistant builds matches the brand).
**Architecture — hybrid rendering, tokens spent where they matter:**
| Artifact | Produced by | Why |
|---|---|---|
| `design-model.yaml` | You (analysis) | Single Source of Truth. Everything derives from it. |
| `brandbook.html` | `scripts/render-brandbook.mjs` | Deterministic. Never hand-write this file. |
| `landing-page.html` | You (hand-crafted) | The proof. Layout language can't come from a template. |
| `DESIGN.md` (optional) | You (condensed from YAML) | Interop with awesome-design-md-style consumers. |
Iteration rule: **YAML first.** Edit `design-model.yaml`, re-run the renderer, regenerate only affected hand-written files.
---
## 1. INPUT
Accept any of: **URL** (preferred), **brand name** (search for the site, confirm with user), **screenshots**, **local codebase**, **description** ("warm, editorial, like a Kyoto stationery shop"), or **remix** of an existing model.
### URL analysis
Prefer real computed styles over guesses:
- If browser tools are available (Chrome DevTools MCP or equivalent): open the page and **run `scripts/extract.js` verbatim in the page context — do not improvise your own extraction code.** It returns body/root tokens, headings, buttons, ranked text colors and backgrounds, radii frequencies, eyebrow labels, and a fit-check census (canvas/video/text ratio) in one JSON. Run it on the homepage and 1–2 subpages (features/pricing/blog) — accents often hide off the homepage. Screenshot the hero separately and *look at it yourself*.
- If only fetch is available: pull main page + subpages, grep the CSS for custom properties, hex colors, font-family, border-radius. **Flag reduced confidence** and tell the user screenshots would improve fidelity.
- Login-walled? Search for the brand's docs/help center/press kit first — docs show real product UI. Only then ask the user for screenshots.
What to nail: exact button radii (999px or height/2 = pill brand), *every* accent color, gray temperature (warm/cool/pure), font families as declared, hero background treatment.
### Screenshots
Analyze each, then compare *across* screenshots and play back contradictions before generating ("screenshot 3 is dark — is that a mode or a different page?"). Don't guess — ask.
### Description
Every adjective becomes a number. "Warm" = warm-tinted neutrals. "Minimal" = generous spacing scale, flat elevation.
### Remix
Read the existing `design-model.yaml`, apply the change surgically, preserve everything else. Re-render, regenerate only affected files.
---
## 2. ANALYSIS
**Phase 0 — Fit check (before any extraction).** Classify what the site's identity is actually made of, and deliver the verdict as a diagnosis, never a refusal:
- `ui-rich` — identity lives in components, colors, distinctive shapes (Linear, Spotify). Full pipeline.
- `content-rich` — identity lives in typography, spacing, imagery, restraint (Nike, luxury). Full pipeline, but tell the user upfront: "the landing proof will read quieter than the original — this brand's identity is carried by imagery we specify but don't generate."
- `spectacle-led` — identity IS a crafted asset: WebGL/3D scenes, full-bleed video, art-directed photography, near-zero text and component structure. Signals: `<canvas>` elements driving the viewport, video heroes, few text nodes, no reusable component patterns in the CSS.
For `spectacle-led`, give a **proportioned verdict before doing any work**, in this shape:
> "About 80% of this site's identity is the 3D scene itself, ~15% typography, ~5% UI. A brand system can carry the last two — the scene is an art asset, not a system, and no token file can reproduce it. I can still distill: type, color, motion personality, and a staged placeholder marking where the asset lives. Want me to proceed on that scope, or is the scene the part you wanted?"
This is a competence signal, not an apology. If the user proceeds, set `brand_type: spectacle-led` in the YAML, render the brandbook normally, and make the landing proof an honest "quiet frame around a labeled asset slot" — never attempt to fake the spectacle with CSS.
1. **Record ownership.** Ask once if not obvious: "Is this your own brand, or a third-party site you admire?" Set `ownership: own | third-party` in the YAML. It changes what the output may be used for (see RIGHTS below).
2. **Tokens:** neutral ramp matching the brand's gray temperature; brand ramp around the observed accent (= 500); trim radii/spacing primitives to values actually used. Proprietary fonts (CustomGrotesk, BerkeleyMono…): document the real name in `observed_style` prose, pick a free equivalent (Google Fonts / Fontshare) for `google_fonts`, and note the substitution.
3. **Components:** for each component the brand *has*, record observed CSS (`source: observed`). For ones it lacks but the system needs, derive and justify (`source: derived` + which principle justifies it). Never silently invent.
4. **Brand layer** (what makes this a brand system, not a UI kit):
- `logo`: treatment, clearspace, min size, misuse list. The renderer draws a placeholder wordmark — never fake a real logo.
- `voice`: 3 adjectives, 2–3 falsifiable principles, 2+ do/don't copy pairs *written in the brand's actual register*.
- `imagery`: a **spec, not generated photos** — direction prose, CSS-demonstrable treatments (duotone/grain/crop), aspect ratios, dos/don'ts. Honest placeholders beat fake imagery.
- `iconography`: describe the observed style, pick ONE free fallback kit with reasoning, never claim the brand uses it.
5. **Anti-patterns:** 6–10 falsifiable bans specific to this brand. "No border-radius above 12px except pills", not "avoid large corners". This is the immune system against generic output.
**Avoid the AI default look** (applies ONLY to *derived* choices — observed reality always wins):
- Banned as invented display faces: Space Grotesk, Playfair Display, Fraunces, Instrument Serif, DM Serif, and Inter-as-display. Pick from a wider pool (Geist, Satoshi, Cabinet Grotesk, General Sans, Hanken Grotesk, Manrope, Bricolage Grotesque, Newsreader, Spectral, Source Serif 4…) or whatever the brand genuinely motivates.
- Banned as invented palettes: violet-glow-on-near-black "tech", beige+brass "premium", navy+teal "fintech", sage+cream "wellness". If you landed there without observation, you defaulted — go back.
---
## 3. CHECKPOINTS (both mandatory, in order)
**Direction check** — 2–3 sentences: attitude, lineage, the primary tension. Wait for confirmation.
**Token preview** — background, accent, body font + size, display font + size, base radius, spacing base, elevation strategy. One cheap chance to fix a value before it cascades. Wait for confirmation.
---
## 4. GENERATE
1. Write `design-model.yaml` following `references/design-model-template.yaml` exactly — every section, no TODOs. Include the two-layer token structure (primitives + semantic), brand layer, components with provenance, applications content seeds (copy in brand voice, no lorem), anti-patterns.
2. Render the brandbook — **never hand-write it**:
```
node scripts/render-brandbook.mjs <folder>/design-model.yaml
```
(needs `npm i yaml` once). Open the result in a browser.
3. Hand-craft `landing-page.html` following `references/landing-page-guide.md`. This is the proof artifact — the page that shows the system captures the brand the user fell for.
4. Optional, only on request: `app-screen.html` (product UI in a device frame), `DESIGN.md` (condensed interop file), extra applications.
Default output folder: `{brand}-brand/` next to where the user is working, or `~/.claude/skills/{brand}-brand/` if they want it installed as a skill.
---
## 5. VALIDATE
**Step 1 — run the gate. Mandatory, not a suggestion:**
```
node scripts/validate.mjs <output-folder>
```
It checks: YAML schema and required fields, token-reference resolution, WCAG contrast, orphan CSS selectors, undefined custom properties, lorem/TODO leftovers, unresolved refs in style attributes, the visible third-party study notice, and AI-default display fonts. Fix every ERROR, re-run until exit 0. WARNs require a written justification, not silence.
**Step 2 — look with your own eyes** (if browser tools exist): screenshot brandbook + landing page and answer: (a) is the display font actually rendering or did it fall back? (b) does anything read as default-LLM aesthetics? (c) any dead whitespace / collapsed flex container? (d) do rendered colors match the YAML? Fix and re-check. Test both light and dark. No browser tools? Say so and hand the user a one-line visual checklist — the gate in Step 1 is then your only net; never skip it.
**Step 3 — model spot-check:** does every hex in the landing page trace to a token? Any invented one-off paddings?
---
## 6. RIGHTS
The line the whole skill lives on: **design facts are extractable, expression is not.**
- **Facts (always fine to extract):** color values, spacing scales, radii, font sizes/weights, layout structure, motion timing, component anatomy. These are unprotectable measurements.
- **Expression (never reproduce):** logos and lookalike marks, mascots and characters, slogans and verbatim copy, illustrations, photography, icon glyphs, custom font files. In outputs these become: placeholder wordmarks, described-not-drawn characters ("mascot slot: playful animal character, bottom-right"), original copy in the brand's *register*, free icon/font fallbacks with disclaimers.
Ownership changes the ceiling, not the rules:
- `ownership: own` — the user owns the brand; they may ship everything, and you may reference their real assets if they provide them.
- `ownership: third-party` — outputs are for **study, internal reference, and learning the extraction craft**. Say so once, plainly, when delivering: "This is a study reproduction — great for internal reference or as a base you evolve into your own direction; shipping it as-is would be wearing someone else's trade dress." The landing proof must keep its footer notice, use no real slogans or characters, and carry copy you wrote.
If the user asks you to clone expression ("copy their mascot", "use their exact tagline"), decline that piece specifically, explain the facts/expression line, and offer the derived alternative. Never let the refusal swallow the rest of the task.
## 7. VOICE
Write generated specs like a senior designer briefing a junior: falsifiable, specific, opinionated. "Shadows are banned; float = 1px border at 8% opacity" — never "consider subtle borders for a cleaner look."
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!