Recipes
43 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.
Extract and print JSON
Save to output folder
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.
Crawl up to 5 pages
Discover via sitemap
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.Mobile vs. desktop token comparison
Extract the same site at desktop and mobile viewport. Ask an AI to identify which tokens change between breakpoints and which stay fixed — finding type scales that don't adapt, spacing that ignores viewport, or radii that differ unexpectedly.
Extract desktop
Extract mobile viewport
Per-token viewport diff: what adapts responsively and what is hardcoded across breakpoints.
5.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.
6.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.
7.Extract specific paths and merge
Pass multiple paths in one command to extract and merge tokens from targeted sections. Then ask an AI which tokens are unique to each path — revealing page-specific design decisions.
Extract and merge specific paths
Merged token set from targeted paths + per-page token strategy analysis.
8.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.
9.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.
10.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.
Audit & Compliance
11.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.
Full WCAG audit
Crawl then audit
Per-pairing contrast ratios with WCAG 2.1 AA/AAA pass/fail verdicts.
12.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.
13.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.
14.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.
Extract with target locale
Extract Middle Eastern market
Extract with Finnish locale
Per-token cultural risk assessment with ⚠️ flags, market-specific associations, and suggested alternatives.
Brand & Docs
15.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 use it as AI context to protect the brand in every future AI-generated asset.
Export PDF
Crawl then export
Brand guide PDF: color palette, typography system, spacing scale, component samples.
16.Reconstruct a missing brand guide
Client has no brand guide, or a 2019 PDF nobody follows. Extract the live site, the legacy app, and any sub-domains. What ships is the real brand. Generate the document from that.
Extract main site
Extract legacy app
Generate PDF
Token files per surface + a PDF brand guide built from what actually shipped.
17.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.
Competitive Research
18.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.
19.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.
20.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.
AI Pipelines
21.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.
22.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.
23.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.
24.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.
25.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.
26.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.
27.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.
28.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.
29.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.
30.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.
Code & Tokens
31.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.
32.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.
33.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.
34.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.
35.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.
36.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.
37.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.
Automation
38.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.
39.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.
40.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.
41.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.
Integrations
42.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.
43.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.