Skip to main content
BuildReviewed Aug 31, 2026

Visual Brand Extractor

Extract visual branding (colors, typography, layout patterns) from a client's website and generate a style preset compatible with the HTML slides skill and a brand config JSON for the content asset creator. Uses WebFetch to read pages and analyzes CSS/HTML to identify the color palette, font pairings, and aesthetic patterns.

v1.0.01 install

Unsigned, install at your own risk

Unverified

This skill has no cryptographic signature attached. We can't verify the contents match what the publisher intended.

Install this skill

No account required. Pick your tool, or use the command that detects it for you.

Run in your terminal. It detects your AI tool.

npx @skills-hub-ai/cli install goose-skills-visual-brand-extractor
Or get the file:
Browse all CLI commands →
Manual setup by platform

Claude Code

~/.claude/skills/goose-skills-visual-brand-extractor/SKILL.md

Setup guide →
0Save

Instructions

Visual Brand Extractor

Extract a client's visual identity from their website and generate reusable style presets for slides and content assets. This is an agent-executed skill — the AI reads pages via WebFetch and performs the analysis directly.

Quick Start

Extract visual branding from https://vapi.ai for the Vapi client.

Inputs

InputRequiredDescription
Website URLYesClient's homepage or landing page URL
Client nameYesFor naming the output files
Additional pagesNoProduct page, docs page, etc. for richer extraction

Output

Two files saved to clients/<client-name>/brand/visual-identity.md:

  1. Slide preset — CSS custom properties, typography, and signature elements matching the format in skills/create-html-slides/STYLE_PRESETS.md
  2. Brand config JSON — Simple color/font config matching skills/content-asset-creator format

Process

Phase 1: Fetch Target Pages

Fetch 2-3 pages to get a representative sample of the brand:

  1. Homepage (mandatory) — the primary brand expression
  2. Product/feature page (if available) — deeper color and layout usage
  3. Blog or about page (optional) — secondary design context

Use WebFetch on each URL with a prompt like:

"Extract the full content of this page. I need: all color values (hex, rgb, hsl), font family names, CSS class names (especially Tailwind utility classes), any CSS custom properties/variables, meta tags, and the general structure of the page layout. Preserve exact color codes and font names."

Phase 2: Extract Color Palette

Analyze the fetched content to identify the color palette. Look for these sources in priority order:

2.1 CSS Custom Properties

Look for :root, html, or body blocks containing color variables:

--color-primary, --primary, --brand, --accent
--bg-*, --background-*
--text-*, --foreground-*

2.2 Meta Tags

Check for:

  • <meta name="theme-color" content="#..."> — often the primary brand color
  • <meta name="msapplication-TileColor" content="#...">

2.3 Explicit CSS Color Declarations

Search for color values in these properties:

  • background-color, background (including gradients)
  • color (text colors)
  • border-color, border
  • box-shadow (accent/glow colors)
  • fill, stroke (SVG logo colors)

2.4 Tailwind Utility Classes

If the site uses Tailwind CSS, map utility classes to hex values using the reference table below.

2.5 Classify Colors into Roles

RoleHow to Identify
bg-primarybackground-color on body, html, or outermost container. The most common background.
bg-secondaryBackground on cards, sections, or secondary containers. Slightly different from primary.
text-primarycolor on body or the most common text color.
text-secondaryMuted text variant — used on subtitles, descriptions, .text-gray-* elements.
accentMost prominent non-bg, non-text color. Found on buttons, links, CTAs, highlights. Also check <meta name="theme-color">.
accent-secondarySecond accent color, or gradient partner. Found on secondary buttons, hover states.
card-bgBackground of cards, modals, or elevated surfaces (if different from bg-primary).

2.6 Determine Theme Type

Check the luminance of bg-primary:

  • Dark theme: Dark background (black, navy, charcoal) with light text
  • Light theme: White or cream background with dark text
  • Mixed: Note if the site uses both (e.g., dark hero + light content sections)

Phase 3: Extract Typography

3.1 Find Font Sources

Look for font loading in this order:

  1. Google Fonts <link> tags — Font name is in the URL:

    fonts.googleapis.com/css2?family=Inter:wght@400;700
    

    → Font: Inter, weights: 400, 700

  2. Fontshare <link> tags — Similar URL pattern:

    api.fontshare.com/v2/css?f[]=clash-display@400,700
    

    → Font: Clash Display

  3. @font-face declarations — Extract the font-family value

  4. font-family CSS properties — Direct declarations on elements

3.2 Classify into Display vs Body

RoleHow to Identify
Display fontFont on h1, h2, .title, .heading, .hero-title, or the largest/boldest text.
Body fontFont on body, p, or general content elements.

If both use the same font family, it's a single-family pairing (like "Manrope + Manrope"). Note the different weights used for display (700-900) vs body (400-500).

3.3 Handle Proprietary Fonts

If the site uses a font NOT available on Google Fonts or Fontshare, map it to the closest available equivalent using the Font Fallback Table below.


Phase 4: Analyze Visual Patterns

Examine the CSS and page structure for these aesthetic signals:

SignalWhat to Look ForAesthetic Implication
Border radiusborder-radius values — large (12px+, 9999px) vs small (2-4px) vs noneRounded = friendly/modern. Sharp = corporate/bold.
Gradientslinear-gradient, radial-gradient in backgroundsGradient-forward = modern SaaS aesthetic
Shadowsbox-shadow frequency and intensityHeavy shadows = depth/elevation. None = flat/minimal.
SpacingPadding/margin sizes — generous (4rem+) vs tight (1rem)Airy = premium/minimal. Dense = information-rich.
Animations@keyframes, transition, transform presenceMotion-forward = energetic. Minimal = calm/professional.
Grid patternsBackground grid/dot patterns, decorative overlaysTechnical/developer aesthetic
Gradient orbsradial-gradient on positioned pseudo-elementsModern, atmospheric aesthetic
Borders as accentsColored border-left or border-top on sectionsEditorial, organized aesthetic

Synthesize the Vibe

Based on the signals above, compose:

  1. Vibe: 2-4 adjectives (e.g., "Clean, technical, developer-focused, modern")
  2. Layout description: 1 sentence (e.g., "Full-width dark sections with centered content and generous whitespace")
  3. Signature elements: 3-4 reproducible CSS patterns from the site

Phase 5: Generate Output

Create the file clients/<client-name>/brand/visual-identity.md with both output formats.

Output Template

# Visual Brand Identity: [Company Name]

**Extracted from:** [URL(s)]
**Date:** [YYYY-MM-DD]

---

## Slide Preset

**Vibe:** [2-4 adjectives]

**Layout:** [1 sentence describing dominant layout pattern]

**Typography:**
- Display: `[Font Name]` ([weight, e.g., 700/800])
- Body: `[Font Name]` ([weight, e.g., 400/500])

**Colors:**
```css
:root {
    --bg-primary: [hex];
    --bg-secondary: [hex];
    --text-primary: [hex];
    --text-secondary: [hex];
    --accent: [hex];
    --accent-secondary: [hex];
}
```

**Signature Elements:**
- [Element 1, e.g., "Subtle gradient orbs as background decoration"]
- [Element 2, e.g., "Rounded cards with 12px border-radius and light shadow"]
- [Element 3, e.g., "Accent-colored left border on feature blocks"]
- [Element 4, e.g., "Grid dot pattern overlay on hero sections"]

**Font Loading:**
```html
<link href="https://fonts.googleapis.com/css2?family=[Font1]:wght@[weights]&family=[Font2]:wght@[weights]&display=swap" rel="stylesheet">
```

---

## Brand Config (JSON)

For use with `content-asset-creator` and other skills:

```json
{
  "name": "[Company]",
  "primary_color": "[accent hex]",
  "secondary_color": "[accent-secondary hex]",
  "accent_color": "[accent hex]",
  "background": "[bg-primary hex]",
  "text_color": "[text-primary hex]",
  "font_heading": "[Display Font]",
  "font_body": "[Body Font]",
  "logo_url": "[if discovered, otherwise omit]"
}
```

---

## Extraction Notes

[Any notes about the extraction — proprietary fonts that were mapped, multiple themes detected, sparse CSS from JS-rendered sites, etc.]

Font Fallback Table

When a site uses a proprietary font not available on Google Fonts or Fontshare, use this mapping to find the closest available alternative:

Font CategoryProprietary ExamplesGoogle Fonts AlternativeFontshare Alternative
Geometric sansCircular, Roobert, Graphik, Product SansPlus Jakarta Sans, Outfit, ManropeGeneral Sans, Satoshi
Humanist sansProxima Nova, Calibri, Gill SansSource Sans 3, DM Sans, Work Sans—
Neo-grotesqueAkkurat, Aktiv Grotesk, Suisse Int'lSpace Grotesk, Archivo, Albert SansSwitzer
Modern serifTiempos, Canela, GT SectraFraunces, Cormorant, Playfair DisplayZodiak, Sentient
Slab serifSentinel, Clarendon, RockwellZilla Slab, Roboto Slab—
Classic serifMercury, Chronicle, MinionSource Serif 4, Lora, Libre BaskervilleBespoke Serif
MonospaceSF Mono, Berkeley Mono, Dank MonoJetBrains Mono, Fira Code, Space MonoJet Brains Mono
Display / decorativeGT Walsheim, Recoleta, CamptonSyne, Archivo Black, Bricolage GrotesqueClash Display, Cabinet Grotesk

Decision heuristic: If unsure which category a font falls into, look at its characteristics:

  • Round dots and geometric 'o' → Geometric sans
  • Varies stroke widths, warm feel → Humanist sans
  • Uniform strokes, neutral → Neo-grotesque
  • Serifs with high contrast → Modern serif

Tailwind CSS Color Reference

If the site uses Tailwind utility classes, map them to hex values:

Grays

ClassHexClassHex
gray-50#F9FAFBgray-500#6B7280
gray-100#F3F4F6gray-600#4B5563
gray-200#E5E7EBgray-700#374151
gray-300#D1D5DBgray-800#1F2937
gray-400#9CA3AFgray-900#111827
gray-950#030712

Slate (common for dark themes)

ClassHexClassHex
slate-50#F8FAFCslate-500#64748B
slate-100#F1F5F9slate-600#475569
slate-200#E2E8F0slate-700#334155
slate-300#CBD5E1slate-800#1E293B
slate-400#94A3B8slate-900#0F172A
slate-950#020617

Blues

ClassHexClassHex
blue-400#60A5FAblue-700#1D4ED8
blue-500#3B82F6blue-800#1E40AF
blue-600#2563EBblue-900#1E3A8A

Greens

ClassHexClassHex
green-400#4ADE80green-600#16A34A
green-500#22C55Egreen-700#15803D

Common Accent Colors

ClassHexClassHex
indigo-500#6366F1purple-500#A855F7
indigo-600#4F46E5violet-500#8B5CF6
emerald-500#10B981amber-500#F59E0B
teal-500#14B8A6rose-500#F43F5E
cyan-500#06B6D4orange-500#F97316

Note: Tailwind classes appear as bg-blue-600, text-gray-900, border-indigo-500, etc. Strip the property prefix (bg-, text-, border-) to get the color token, then look up the hex value above.

For custom Tailwind themes (e.g., bg-brand, text-brand-light), check the page's <script> tags for a tailwind.config object that defines custom colors.


Edge Cases

JS-Rendered Sites (Sparse CSS)

Many modern sites (Next.js, React) inject styles via JavaScript. WebFetch may return minimal inline CSS. In this case:

  • Focus on Tailwind utility classes in class attributes
  • Check <script> tags for embedded config objects
  • Look for <style> tags that contain CSS-in-JS output
  • If still sparse, ask the user: "The site appears to use dynamic styling. Could you share a screenshot or provide their brand guidelines directly?"

Multiple Color Schemes (Light/Dark Mode)

Some sites define both light and dark themes via prefers-color-scheme. Extract the default (non-media-query) theme. If a dark mode variant is detected, note it in the Extraction Notes section.

Too Many Colors

Enterprise sites may use dozens of colors. Focus on:

  • The hero/above-the-fold section for the primary palette
  • Button/CTA colors for accent identification
  • Frequency analysis — top 5-7 unique colors define the brand

No Usable Font Information

If font detection fails completely:

  1. Check if the site mentions font names in its CSS comments or config
  2. Look at the overall aesthetic and pick a matching pairing from the existing slide presets
  3. Default to a safe, distinctive pairing based on vibe: serif display + sans body for premium; geometric sans for modern tech

Example

Running this skill on https://vapi.ai might produce:

# Visual Brand Identity: Vapi

**Extracted from:** https://vapi.ai, https://docs.vapi.ai
**Date:** 2026-02-26

---

## Slide Preset

**Vibe:** Technical, developer-focused, clean, modern

**Layout:** Dark full-width sections with centered content, card-based feature grids, generous spacing

**Typography:**
- Display: `Inter` (700/800)
- Body: `Inter` (400/500)

**Colors:**
\```css
:root {
    --bg-primary: #0F172A;
    --bg-secondary: #1E293B;
    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;
    --accent: #22C55E;
    --accent-secondary: #3B82F6;
}
\```

**Signature Elements:**
- Subtle gradient orbs in background (green-to-blue radial gradients)
- Rounded cards with slate-800 background and subtle border
- Code-style monospace accents for technical terms
- Green accent on CTAs and interactive elements

**Font Loading:**
\```html
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700;800&display=swap" rel="stylesheet">
\```

(This is an illustrative example — actual extraction results will vary based on the live site.)


Tips

  • Homepage is usually enough. If the homepage has clear branding, you don't need additional pages. Fetch a second page only if the homepage is sparse or uses a different aesthetic from the rest of the site.
  • Buttons reveal the accent color. The most reliable way to identify the primary accent is to find the button/CTA background color.
  • Check the favicon/logo. SVG logos often contain the exact brand colors as fill values.
  • Don't over-extract. The goal is 5-7 colors, 1-2 fonts, and 3-4 signature elements. More than that creates noise, not signal.
  • When in doubt, simplify. A 3-color palette (bg + text + accent) with one font family at two weights makes a clean, usable preset.

Dependencies

  • Web fetch capability (for reading website pages)
  • No API keys or paid tools required
This skill doesn’t include stateful context yet, instructions only. Learn about stateful skills.

Security

Loading security scan...

Reviews (0)

Browse all →
send-sms-textbeltSend SMS text messages to phone numbers. Use when the user asks to send a text, send an SMS, text someone, message a phone number, or send a notification via text message.2 installsget-brand-assetsGet company logos, brand colors, fonts, and style guides2 installsmeta-ads-analyzerDiagnose Meta Ads campaign performance and account gaps using Meta's actual system mechanics — including customer-journey coverage, Breakdown Effect, Learning Phase, Auction Overlap, Pacing, and Creative Fatigue. Use for performance diagnosis, account audits, full-funnel or TOF/MOF/BOF gap analysis, deciding what to test or create next, and producing novice-friendly recommendations without forcing every campaign or ad into a funnel stage.2 installslinkedin-outreachEnd-to-end LinkedIn outreach campaign builder. Takes leads from Supabase, upstream skills, or CSV. Aligns on campaign goal and tone, writes personalized LinkedIn message sequences (connection request + follow-ups + optional InMail), presents for review, and exports for the user's outreach tool (Dripify, Botdog, Expandi, or manual CSV). Logs to Supabase outreach_log.1 installssales-call-prepPre-sales-call intelligence composite. Deep dives on the person AND their company before a sales call, then maps findings to your product to generate talking points, objection prep, and a call strategy. Goes beyond generic attendee research — this is sales-specific intelligence that helps SDRs, AEs, and founders walk into calls with a plan. Tool-agnostic — works with any CRM, research source, and calendar.1 installsmeta-ad-managerFront door and loop owner of a Meta (Facebook/Instagram) ad harness. Reads the brand's ads/ docs, works out which campaign the user means and which stage it is at, hands off to the stage skill that runs it (intake, strategy, creative, launch, checks, fixes, answers), and writes every stage change back to the docs. Use it when someone wants to run ads on Meta, comes back to ads they started earlier, a stage skill hands back, or a scheduled check fires.1 installs

More from goose-skills

View source →

More Build skills

Browse category →
senior-frontendBuild and review React, Next.js, TypeScript or Tailwind frontends: components, scaffolding, performance and bundle size. Use whenever the user wants a new component or app, a page feels slow, the bundle is too big, or asks for a frontend code review.650 installsui-design-systemUse when building a design system: tokens, component docs, responsive scales or developer handoff. Generates tokens with design_token_generator.py.550 installsfrontend-designGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.361 installssenior-backendBuild and fix backend services: REST or GraphQL APIs, auth, microservices, PostgreSQL queries, migrations and load tests. Use whenever the user's API is slow or broken, needs login or auth added, a schema change, or a new endpoint or service scaffolded.264 installsself-improving-agentCurate what the agent has learned into durable project knowledge. Reviews Claude Code auto-memory (MEMORY.md and its topic files) for learnings worth keeping, promotes proven ones into CLAUDE.md or .claude/rules/, records a correction as a lesson that persists across sessions, prunes stale or duplicate entries, and turns a recurring fix into a reusable skill. Use whenever the user asks what you have learned or saved about the project, which memories should become permanent rules, to remember a lesson or stop repeating a mistake, or to clean up, audit or check memory health.183 installsusing-superpowersUse when starting any conversation - establishes how to find and use skills, requiring skill invocation before ANY response including clarifying questions147 installs

Frequently asked questions about visual-brand-extractor

What does the visual-brand-extractor skill do?

Extract visual branding (colors, typography, layout patterns) from a client's website and generate a style preset compatible with the HTML slides skill and a brand config JSON for the content asset creator. Uses WebFetch to read pages and analyzes CSS/HTML to identify the color palette, font pairings, and aesthetic patterns. It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.

How do I install the visual-brand-extractor skill?

Run `npx @skills-hub-ai/cli install goose-skills-visual-brand-extractor` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/goose-skills-visual-brand-extractor/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.

Which AI tools does visual-brand-extractor work with?

visual-brand-extractor runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.

Is the visual-brand-extractor skill free?

Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.

How do I use visual-brand-extractor after installing it?

In Claude Code, type `/goose-skills-visual-brand-extractor` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.

Can I share the visual-brand-extractor skill with my team?

Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.