Brandmd logo

Brandmd

Community
yuvrajangadsingh
brandmd

Extract a website's design system into a DESIGN.md file. Use when starting a new frontend project, rebuilding a site, or when the user wants AI-generated UI to match an existing brand.

Overview

Publisheryuvrajangadsingh
Repositorybrandmd
Skill namebrandmd
Stars
70
Forks
6
Bundled files
83
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 83 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by yuvrajangadsingh on GitHub. Read the source before you install it.

Installation

Install the Brandmd AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/yuvrajangadsingh/brandmd/tree/main
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/yuvrajangadsingh/brandmd.git \
  .claude/skills/brandmd
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Brandmd in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Brandmd on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Brandmd is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

brandmd

You extract a website's design system into a DESIGN.md file that AI coding agents use for on-brand UI generation.

When to use

  • User says "match this website's design" or "use the same style as [url]"
  • Starting a new frontend project and the user has an existing site
  • User wants design consistency across AI-generated components
  • User asks to "extract design tokens" or "get the design system" from a URL

How to run

bash
npx brandmd <url> -o DESIGN.md

Pass the most design-rich page (usually the homepage) for best results. The tool extracts from the visible viewport and lazy-loaded content on that single page.

What it extracts

The output follows Google Stitch's DESIGN.md format. Sections 1-5 are always present; 6-7 are conditional on flags.

  1. Visual Theme & Atmosphere - mood, shape language, depth
  2. Color Palette & Roles - colors with semantic roles (background, text, accent, border)
  3. Typography Rules - Primary font (role-aware: display > heading > body, skipping mono/fallback/icon fonts), per-role font breakdown (Headings, Display, Body, Buttons), all detected fonts with frequencies, size scale, weights, line heights, letter spacing
  4. Component Stylings - buttons, cards, inputs with radii, colors, shadows
  5. Layout Principles - spacing scale, base grid unit, border radii
  6. Dark Theme Overrides (with --dark) - palette + atmosphere for dark mode
  7. Visual Identity Beyond CSS (with --vision) - illustration style, photography mood, copywriting voice, microcopy patterns. Requires GEMINI_API_KEY (free tier: aistudio.google.com/apikey).

After extraction

  1. Read the generated DESIGN.md to confirm it looks right
  2. Summarize the key tokens for the user (primary colors, fonts, spacing scale)
  3. Use these tokens in all subsequent UI code generation
  4. Reference specific hex codes, font names, and spacing values from DESIGN.md when writing CSS/Tailwind/styled-components

Options

  • npx brandmd <url> - DESIGN.md to stdout
  • npx brandmd <url> -o DESIGN.md - DESIGN.md to file
  • npx brandmd <url> --dark - also extract dark-mode palette (Section 6)
  • npx brandmd <url> --vision - also extract illustration / photography / voice / microcopy via Gemini (Section 7). Needs GEMINI_API_KEY env var.
  • npx brandmd <url> --css - CSS custom properties output instead of DESIGN.md
  • npx brandmd <url> --tailwind - Tailwind v4 @theme block instead of DESIGN.md
  • npx brandmd <url> --html - HTML brand guide (visual, shareable)
  • npx brandmd <url> --json - raw tokens as JSON (programmatic use)
  • Multiple URLs merge tokens: npx brandmd <url1> <url2> <url3>

Limitations

  • Extracts from a single page, not the entire site (multi-URL merges token frequencies but the vision screenshot is the first page only)
  • Can't read Figma tokens or design tool files
  • Color role assignment is heuristic (based on usage frequency and luminance)
  • Requires a publicly accessible URL (no auth-gated pages)
  • Cloudflare-protected sites: brandmd waits up to 20s for the JS challenge to auto-resolve (--cf-wait-ms to tune). If the challenge persists, you get a clear error rather than garbage tokens. Hard-blocked sites (openai.com, perplexity.ai, discord.com, etc.) are correctly flagged as bot-protected and not bypassed.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

and 23 more files.

Frequently asked questions

What does the Brandmd AI skill do?

Extract a website's design system into a DESIGN.md file. Use when starting a new frontend project, rebuilding a site, or when the user wants AI-generated UI to match an existing brand.

Why use Brandmd on TypingMind?

Because you install it once and use it with any model. Brandmd is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Brandmd in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/yuvrajangadsingh/brandmd/tree/main. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Brandmd?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Brandmd?

As many as you like. As long as a model supports skills, you can use Brandmd with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Brandmd AI skill free?

Yes. It is published on GitHub by yuvrajangadsingh under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇