Recipes
52 workflows. CLI commands, AI agent prompts, and full pipelines — copy and run.
Two ways to run these workflows
CLI — explicit commands
Run exact flags yourself. Full control, works anywhere.
MCP + Skills — natural language
With MCP and dembrandt-skills active, the agent picks the right flags and runs the extraction itself.
Extraction
1.Basic token extraction
Point Dembrandt at any live website and get every visual property back as structured data: colors, fonts, spacing, borders, shadows. No DevTools, no guesswork.
CLI commands
Extract and print JSON
Save to output folder
Run this as an agent prompt (MCP)
Complete token JSON: colors, typography scale, spacing, border radii, shadows.
2.Multi-page crawl
A homepage extraction misses what lives on pricing pages, dashboards, and docs. Crawling maps the full visual surface of a product, not just what's above the fold.
CLI commands
Crawl up to 5 pages
Extract two pages to compare
Discover via sitemap
Run this as an agent prompt (MCP)
Merged token set across all crawled pages. Catches brand values that only appear in secondary UI.
3.Dark mode analysis
Extract both light and dark mode token sets. Compare them to verify that dark mode is a proper inversion, not just a color swap that breaks spacing, type, and component density.
Extract light mode
Extract dark mode
Two token files. Load both in the Dembrandt App to diff them side-by-side.
4.Screenshot + token visual audit
Extract tokens and capture a screenshot in one command. Feed both to an AI agent to find what the JSON missed: textures, gradients, image-based backgrounds, icon weight, and visual elements that tokens don't capture.
Extract + screenshot
Visual gap report: design elements present in the screenshot but absent from the token JSON.
5.DTCG export to Tokens Studio or Figma Variables
Export extracted tokens in W3C DTCG format and convert them to a Tokens Studio-compatible structure with semantic group nesting — ready to import directly into Tokens Studio or as Figma Variables.
Export DTCG format
DTCG JSON restructured for Tokens Studio or Figma Variables import. No manual token entry.
6.Extract and merge tokens across key pages
Pass multiple paths in one command to build a single token set spanning your most important pages. Tokens that recur across pages are promoted to higher confidence; page-specific outliers stay visible by their low frequency.
CLI commands
Merge tokens across key pages
For per-page analysis, extract each path separately
...then the page you want to compare
Run this as an agent prompt (MCP)
One merged token set across the given paths, with confidence boosted for tokens seen on multiple pages.
7.Raw vs. filtered color analysis
Extract both the filtered palette and the full raw color set. Ask an AI what Dembrandt filtered out and whether any filtered colors are meaningful brand values worth keeping.
Extract filtered palette
Extract with raw colors
Filtered vs. raw color comparison with candidates for palette promotion.
8.Extract Cloudflare-protected sites with Firefox
Some sites block Chromium-based extraction. Switch to Firefox or enable stealth mode to bypass bot protection. Use only on sites you are authorized to extract.
Try Firefox
Firefox + stealth
Full disguise
Successful extraction from bot-protected sites where Chromium fails.
9.Extract authenticated views via CDP
Connect Dembrandt to an existing Chrome session via CDP to extract pages that require login — dashboards, account settings, gated product UIs — without automating the auth flow.
Launch Chrome with remote debugging
Extract authenticated view
Token extraction from authenticated product UIs, dashboards, and gated views.
AI Pipelines
10.Clone a brand's design language
Extract a site's visual language, then ask an AI to build a complete on-brand page from it. One command captures the tokens. One prompt produces a page that matches the typography, palette, spacing, and component density of the original.
Extract + export DESIGN.md
On-brand landing page: matching palette, type scale, spacing, and component density.
11.Build a design system in Claude Code
Extract tokens and feed them into Claude Code. The agent scaffolds CSS variables, a Tailwind theme, and React primitives, all derived from exact brand values, not defaults.
Generate DESIGN.md
CSS variables + Tailwind theme + React primitives. All values from the live brand.
12.Rebrand an existing application
Extract the new brand's tokens. Feed the JSON and your existing codebase to Claude Code. The agent applies the new visual language (colors, type, spacing, radii) across the whole product.
Extract new brand tokens
Complete visual rebrand: hardcoded values replaced with new brand tokens.
13.Brand guide PDF vs. live site
Your brand guide says one thing. Your live site says another. Extract what actually shipped, compare it against the PDF, and get a concrete list of exactly where the brand broke down.
Extract live tokens
Gap report: which production values diverge from the brand guide, by how much, and where.
14.Cross-app token comparison
Large organizations often have a main site, a SaaS app, and a docs site, all drifting from each other without anyone noticing; extract all three and ask an AI to map what is shared versus what has diverged.
Extract main site
Extract app
Extract docs
Token overlap map: shared baseline vs. per-product overrides vs. unintentional drift.
15.Build a design system in Figma via MCP
Crawl any live site with Dembrandt, then use the Figma MCP to push the extracted tokens directly into a linked Figma frame or section: colors as styles, type as text styles, and spacing as variables.
Crawl the live site
Figma file populated with color styles, text styles, and local variables derived from the live brand. Ready to build components on top of.
16.Paste tokens to Figma Make
Figma Make generates components fast, but without brand context it guesses colors and type. Add extracted tokens as context first. The AI now builds components on the actual brand values, saving hours of manual correction.
Extract tokens
Figma Make components built on real token values, not AI-guessed brand colors.
17.Improve a Google Stitch prompt with brand context
Generic prompts produce generic-looking UI. Extract the brand's tokens first, then inject them into your Stitch prompt. The output matches the actual brand instead of defaulting to Material or Tailwind styles.
Extract brand tokens
Stitch output that reflects the real brand palette and type system.
18.Turn a live site plus brand guide into a Figma design system
A design system written into Figma by the agent, from two real inputs: a Dembrandt extraction of the live site and the existing brand guide PDF. The agent reconciles them, creates color styles, text styles, spacing and radius variables, and starter components over MCP, and lists every token where the guide and production disagree.
Crawl the live site to DESIGN.md
Add a gated surface (app, dashboard)
A Figma design system authored over MCP from the live site reconciled against the brand guide, plus a conflict list of tokens where the two disagree.
19.Author a design system from screenshots, brand guide, and tokens in Figma or Penpot
Tokens carry measured values. Screenshots and brand imagery carry what never reaches CSS: layout, illustration, photography, density. Give the agent all of it at once, plus the brand guide PDF and any reference images, and it authors color styles, text styles, variables, and components into Figma or Penpot over MCP. This is the most expensive recipe here: large image context, a long agentic session. Use it for a high-value handoff, not a quick draft.
Capture tokens, screenshot, and brand guide in one run
Add a gated surface
A design system authored in Figma or Penpot over MCP, grounded in measured tokens plus the visual language carried by screenshots and reference images, with a list of what the agent inferred from images beyond the tokens.
20.Build on-brand UI in Claude artifacts
An on-brand interactive component in the chat, no project to set up. Extract the tokens, paste the JSON into Claude, ask for an artifact. It renders inline on the real palette, type scale, and spacing. Without the tokens, artifacts default to generic colors and system fonts.
Extract tokens
A live, on-brand Claude artifact built on the extracted tokens, ready to iterate on in the conversation.
21.Generate a branded presentation
Marketing teams build decks, one-pagers, and campaign assets constantly, and keeping them on-brand without a designer in the loop is the default failure mode. Extract the brand palette and type, then generate a themed deck in Gamma, Canva Magic, or Plus AI.
Extract brand tokens
Branded presentation deck. Colors and type match the live product.
22.Find tokens that fit a page's purpose
Describe the purpose of a page or a token you want to create. Ask an AI to find a reference site that uses that approach well, then extract it to get the actual values.
Reference site identified + extracted token set + explanation of which values create the intended emotional register.
23.Brand guardrail for AI-generated UI
Give your AI coding agent a brand baseline it cannot drift from. The agent extracts your live brand, builds UI, then scores its own output before you ever see it.
CLI commands
Run this as an agent prompt (MCP)
AI-built UI that is provably on-brand: a drift score under threshold, with the agent self-correcting colors, type, and spacing before handoff.
Brand & Docs
24.Generate a brand guide PDF
Turn any live website into a structured brand guide PDF in seconds. Use it as a client deliverable, hand it to a new designer on day one, or as AI context to protect the brand in every future AI-generated asset. When no current guide exists, extract every shipped surface and build the guide from what actually ships.
Export PDF
Crawl then export
Pull a legacy surface too, then export
Brand guide PDF: color palette, typography system, spacing scale, component samples.
25.Does the brand feel like what it claims to be?
A brand says it is 'bold, human, and trustworthy'. Extract the live site's tokens and ask an AI if the visual choices actually support those values, or contradict them.
Brand alignment report: which tokens support the stated values, which contradict them, and what to change.
Code & Tokens
26.Design-system-aware Cursor project
Extract DESIGN.md and add it to Cursor project rules. Every AI suggestion in the editor now has brand context: correct colors, type scale, and spacing before you write a line.
Generate DESIGN.md
Cursor project with brand context. Agent suggestions stay on-token.
27.Give GitHub Copilot brand context
Put the brand tokens where Copilot already reads: .github/copilot-instructions.md. Generate DESIGN.md, paste it in. Completions and Copilot Chat then have the real colors, type scale, and spacing as context. Without it Copilot fills styling with invented hex values.
Generate DESIGN.md
Repo-wide Copilot context. Completions and Copilot Chat stay on the brand token system.
28.Refactor hardcoded colors to token variables
Extract tokens from the live site. Use Cursor to find every hardcoded color, spacing, or radius value in the codebase and replace it with the correct token variable.
Extract live tokens
Codebase with hardcoded values replaced by token variables.
29.Tailwind defaults to brand theme
Extract the brand's real tokens. Generate a Tailwind theme extension that replaces generic defaults with actual brand values.
Extract brand tokens
tailwind.config.js with brand-accurate color, type, spacing, and radius scales.
30.Legacy CSS to design tokens
Extract the current live site to capture what actually shipped. Use that as ground truth to generate CSS custom properties and replace scattered hardcoded values across the codebase.
Extract live site
CSS custom properties file + refactored stylesheets using var() references.
31.Generate a shadcn/ui theme from any website
Extract a site's design tokens and convert them into a shadcn/ui theme. CSS variables mapped to shadcn's semantic token names, ready to drop into globals.css.
Extract tokens
Complete shadcn/ui theme block for globals.css, derived from the extracted brand tokens.
32.Export design tokens to Storybook
Extract a site's tokens and generate a Storybook design token page. Colors, typography, spacing, and radii documented as living components that stay in sync with the live product.
Extract tokens
tokens.stories.tsx with visual documentation of all extracted design tokens.
33.Extract design tokens for a Next.js application
Extract a live site's tokens and generate a Next.js-compatible token file. CSS custom properties for the App Router, Tailwind theme extension, and typed TypeScript constants.
Extract tokens
globals.css + tailwind.config.ts + tokens.ts — complete Next.js token setup from a live brand.
Audit & Compliance
34.WCAG accessibility audit
EU accessibility legislation (EAA) requires WCAG 2.1 compliance for most digital products from 2025. This runs a contrast check against the real rendered page, not theoretical values, and flags exactly what fails and where.
CLI commands
Full WCAG audit
Crawl then audit
Run this as an agent prompt (MCP)
Per-pairing contrast ratios with WCAG 2.1 AA/AAA pass/fail verdicts.
35.Design due diligence for M&A
Before acquiring a company, audit its design system from the outside in five minutes: brand quality, design debt, WCAG compliance, and a low/medium/high estimate of the effort to align it with yours.
CLI commands
Audit the acquisition target
Run this as an agent prompt (MCP)
A due-diligence summary of the target's design system: quality, debt, WCAG level, and per-category alignment effort, ready for the negotiation table.
36.Mobile vs desktop token consistency
Responsive coherence breaks quietly: type stops scaling, spacing rhythm shifts, touch targets shrink. Extract both viewports and flag every inconsistency between them.
CLI commands
Desktop (default viewport)
Mobile viewport
Run this as an agent prompt (MCP)
A list of responsive inconsistencies between mobile and desktop, with recommended fixes for coherence.
37.Full audit pack in one command
Combine brand guide PDF, screenshot, and raw JSON into one extraction run. Attach all three to a bug report, client handoff, or audit trail as proof of the site state at that moment.
Full audit pack
With crawl
Three files: brand guide PDF, PNG screenshot, and token JSON. Full audit record from a single run.
38.Agency pre-sales audit
Before walking into a pitch, run the prospect's website through Dembrandt. Show them their own WCAG failures, inconsistent brand colors, and typography drift. With a PDF in hand.
Extract prospect site
Brand guide PDF + WCAG failure report for the prospect's live site. Ready to present.
39.Cultural color and token audit
Extract a site's design tokens with the target locale set, then ask an AI to flag colors, visual patterns, or density choices that carry cultural risk in a specific market or region.
CLI commands
Extract with target locale
Extract Middle Eastern market
Extract with Finnish locale
Run this as an agent prompt (MCP)
Per-token cultural risk assessment with ⚠️ flags, market-specific associations, and suggested alternatives.
40.Staging vs production drift check
Verify staging matches production before you promote. Extract both, diff the tokens, and see exactly which colors, sizes, or spacing moved.
CLI commands
Pin production as the baseline
Compare staging against it
Run this as an agent prompt (MCP)
Drift score plus an itemized changed / added / removed list across colors, type, spacing, radius, and shadows.
41.Pre-sales brand and accessibility audit
Walk into the pitch with the prospect's own problems on a slide. Run their live site for WCAG contrast failures and brand inconsistency before the first meeting.
CLI commands
Audit contrast on the prospect's site
Crawl key pages to surface cross-page inconsistency
Run this as an agent prompt (MCP)
A personalized audit: failing WCAG pairs, off-system colors, and cross-page inconsistencies, in a shareable HTML report.
42.Client delivery sign-off report
Prove the delivered product matches the client's brand. Compare the build against a baseline extracted from the client's own live site, and hand over the score.
CLI commands
Pin the client's live brand as the baseline
Compare the delivered build, write the sign-off report
Run this as an agent prompt (MCP)
A drift score and itemized token comparison as an HTML sign-off report: objective proof the delivery matches the client's brand.
Competitive Research
43.Competitor benchmarking
Extract design tokens from your top competitors and compare them side by side. Structured data instead of screenshots in a slide: actual color values, type scales, and spacing systems.
Extract competitor A
Extract competitor B
Extract competitor C
Per-brand token JSON files ready for side-by-side comparison, charting, or AI analysis.
44.Discover a competitor's visual strategy
What visual language does each competitor use before a user reads a single word? Extract tokens from multiple brands in the same category, then ask an AI agent to compare color temperature, type personality, and UI density.
Extract competitor A
Extract competitor B
Extract competitor C
Visual strategy analysis: brand tone, density positioning, and design language compared across competitors.
45.Compare Stripe, Linear and Notion design systems
Extract design tokens from three of the most-referenced product design systems and compare them. Stripe's precision, Linear's density, Notion's openness -- in actual numbers.
Extract Stripe
Extract Linear
Extract Notion
Side-by-side token comparison of three benchmark design systems with actual values.
Integrations
46.Extract tokens via MCP
With the Dembrandt MCP server installed, your AI agent extracts design tokens mid-conversation. No terminal switching, no file management. Just ask.
Tokens extracted and available in the agent's context.
47.Design review with Dembrandt Skills
Dembrandt Skills give AI agents structured design knowledge. Combine with an extraction to get a review grounded in real token data, not generic best-practice advice.
Structured design review: contrast failures, token inconsistencies, and brand deviation.
Automation
48.Docker and CI pipeline extraction
Chromium fails in Docker and most CI environments without --no-sandbox. Add this flag to any pipeline step that runs Dembrandt in a container.
Basic CI extraction
Save output in CI
Successful extraction in Docker or CI. No sandbox crash.
49.Track token drift
Pin a release as the visual baseline. After the next sprint, extract again. The Dembrandt App shows exactly what changed: which tokens shifted, which disappeared, and which are new.
Extract baseline
Extract after next release
ASCII token diff table with delta values + drift summary. Or visual diff in the Dembrandt App.
50.CI/CD drift detection
Extract on every release and load into the Dembrandt App to diff against the pinned baseline. Teams that ship frequently catch visual drift before it accumulates into a rebrand.
Extract after each release
Token snapshots archived per release. Agent produces ASCII diff on demand, no --compare flag needed.
51.Design drift detection in GitHub Actions
Add a design extraction step to your GitHub Actions pipeline. Archive tokens as build artifacts on every push so drift is traceable across every release.
Extract after deploy
Per-commit token snapshots in GitHub Actions artifacts. Traceable drift across every deployment.
52.CI drift gate (GitHub Actions)
Stop off-brand UI from merging. Extract the deploy preview, compare it against a baseline, and fail the build when design tokens drift.
Capture the baseline once (same environment you will check against)
In CI: compare the preview, fail on drift, write a report
Accept an intentional change as the new baseline
Red check on drift (exit 1), green when stable. Self-contained HTML report as a build artifact, plus a 0-100 drift score per page.