Recipes
57 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, no flags
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.ML-powered brand primary detection
When a palette has four strong colors and two plausible brand primaries, the heuristic picks wrong. Add --ai and a trained model identifies the actual brand primary. One flag, experimental.
Predict brand primary with ML
Install the optional runtime first
Combine with other flags
colors.semantic.primary set to the ML-predicted brand primary. Terminal prints the score and accuracy.
3.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.
4.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.
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 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.
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.
AI Pipelines
11.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.
12.Cross-pollinate extraction with brand context
Extracting a design system from a website alone is not an accurate way to reverse-engineer a brand. Combine Dembrandt's live extraction with the rest of your context (a brand guide, a Figma export, an existing token file, a Storybook, a screenshot) and the agent reconciles them into one reliable token set.
Crawl the marketing site across key paths
Crawl the app across key paths
One reconciled token set from the live product plus loaded context, with an ASCII diff table and a list of gaps against the brand guide.
13.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.
14.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.
15.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.
16.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.
17.Build a design system foundation in Figma or Penpot via MCP
Extract any live site with Dembrandt, then use the Figma MCP or the official Penpot MCP to push the real token values straight into the design tool. Figma gets color styles, text styles, and variables. Penpot gets a native design-token set: colors, spacing, radii, and type primitives in the Tokens catalog.
Extract the live site
Figma: a file populated with color styles, text styles, and variables. Penpot: a native design-token set (colors, spacing, radii, font sizes, weights, families) in the Tokens catalog, themeable and bindable to shape properties. Both derived from the live brand and ready to build components on.
18.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.
19.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.
20.Give your brand videos a motion language
AI-generated video looks generic because the agent doesn't know your brand. Extract a DESIGN.md with one command, let HeyGen's HyperFrames extend it into a FRAME.md motion language, and every video you generate moves like your brand.
Extract DESIGN.md from your live site
Crawl key pages for a fuller token set
A FRAME.md that travels with every video you generate, and a 20-second brand reel where every entrance, exit, and transition follows your brand's motion language.
21.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.
22.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.
23.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.
24.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.
25.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.
26.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
27.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.
28.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
29.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.
30.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.
31.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.
32.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.
33.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.
34.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.
35.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.
36.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
37.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.
38.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.
39.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.
40.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.
41.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. Then ask an agent to turn the data into a one-page brief you can send the day before the meeting.
CLI commands
Extract and crawl the prospect site
Run this as an agent prompt (MCP)
Brand guide PDF + WCAG report from the CLI. Agent produces a one-page pre-pitch brief ready to send to the prospect.
42.Client-branded audit report
Run an audit of any site, then render the findings as a document that looks like it was made by your client — using their own colors, fonts, and voice. Two extractions, one polished deliverable.
CLI commands
Extract the site being audited
Extract your client's own site for brand context
Run this as an agent prompt (MCP)
A self-contained HTML audit report styled with the client's own brand tokens — ready to send without further design work.
43.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.
44.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.
45.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.
46.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
47.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.
48.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.
49.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
50.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.
51.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
52.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.
53.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.
54.Automated drift tracking with an API key
Generate an API key, then pass --key to the CLI. Every run uploads a snapshot to your account and is scored against the previous one for that domain. Drift over time with nothing to save by hand.
Push a snapshot to your account
Push from a container or CI runner
One cloud snapshot per run, grouped by domain, auto-scored against the previous one. Timeline and drift report in the App, no files to manage.
55.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.
56.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.
57.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.