Skip to content

Brandmd

Stop Claude Code/Cursor from guessing UI. Extract any website's design system into a spec-valid DESIGN.md that passes the official @google/design.md linter.

Install

$npx skills add yuvrajangadsingh/brand-skills
Claude Code
claude mcp add brandmd -- npx skills add yuvrajangadsingh/brand-skills
Cursor / Claude Desktop (mcp.json)
{
  "mcpServers": {
    "brandmd": {
      "command": "npx",
      "args": [
        "skills",
        "add",
        "yuvrajangadsingh/brand-skills"
      ]
    }
  }
}

Install command taken from the project's README or registry entry. Always review code before running it.

brandmd

Stop Claude Code, Cursor, and Gemini CLI from guessing your UI. brandmd extracts any website's design system into a spec-valid DESIGN.md that passes the official @google/design.md linter.

AI coding agents generate generic screens when they don't know your colors, fonts, spacing, components, and layout rules. Run one command, drop DESIGN.md in your project root, and your agent has brand context before it writes code. Output is the official DESIGN.md format: YAML frontmatter with machine-readable tokens plus canonical prose sections. Default extraction runs locally with no API key.

npx brandmd https://stripe.com -o DESIGN.md

Every generated DESIGN.md validates clean:

npx @google/design.md lint DESIGN.md   # 0 errors, 0 warnings

Pass multiple URLs to merge brand tokens across pages: npx brandmd https://site.com https://site.com/pricing https://site.com/docs -o DESIGN.md

Outputs to whatever your stack reads:

  • DESIGN.md (default): for Claude Code, Cursor, Gemini CLI, Codex, Stitch
  • --json: raw extracted tokens for scripts, MCP servers, and agent toolchains
  • --css: CSS custom properties, drop into any project
  • --tailwind: Tailwind v4 @theme block
  • --html: visual, shareable brand guide

Combine with:

  • --agent: also writes .cursor/rules/brand.mdc and SKILL.md to both .agents/skills/brand-style/ (the universal Agent Skills path used by skills.sh across 50+ agents) and .claude/skills/brand-style/ (backward-compat for direct Claude Code users). No manual wiring. Picked up automatically by Claude Code, Cursor, Codex, Gemini CLI, Kiro CLI, and the rest of the skills.sh ecosystem. Schema-compatible with Anthropic Claude Code Skills, google/skills, and vercel-labs/agent-skills.
  • --dark: also extract dark mode tokens
  • --vision: adds illustration style, photography mood, copywriting voice, and microcopy patterns from a screenshot. Requires GEMINI_API_KEY (free at aistudio.google.com/apikey). Uses gemini-3.8-flash; set BRANDMD_VISION_MODEL to pick another model. If the screenshot or the vision call fails the CSS-only DESIGN.md is still written and the run exits 1.

Works as brand context for Claude Code, Cursor rules, Gemini CLI, Codex, Google Stitch, MCP servers, and any coding agent that reads markdown.

Real examples: Stripe · Linear · GitHub · Vercel · Notion · Cursor · Anthropic · Figma · Supabase · Raycast · +20 more in the gallery

---
version: alpha
name: Stripe
colors:
  primary: "#533afd"
  background: "#ffffff"
  on-background: "#0a2540"
typography:
  headline-lg:
    fontFamily: sohne-var
    fontSize: 48px
    fontWeight: 600
components:
  button-primary:
    backgroundColor: "{colors.primary}"
    textColor: "{colors.on-primary}"
---

## Colors

- **Indigo** (`#533afd`): Accent background (accent)
- **White** (`#ffffff`): Page background (dominant)

## Typography

**Primary font:** sohne-var

Similar plugs

Orca is the ADE for working with a fleet of parallel agents. Run any coding agent with your own subscription. Available on desktop, mobile and remote runtime.

CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies

Documented system prompts from Anthropic - Claude Fable 5.1, Opus 5.5, Claude Design, Claude Code. OpenAI - ChatGPT GPT-6-Astra, Codex. Google - Gemini 3.8 Flash, 3.1 Pro,…

Wrap Antigravity, ChatGPT Codex, Claude Code, Grok Build, Muse Code, Devin as an OpenAI/Gemini/Claude/Codex compatible API service, allowing you to enjoy the free Gemini…

Explore related