CLI reference

designmd.me CLI

Generate DESIGN.md files from the terminal. Drop them next to your code, reference them in AI context, and ship UI that actually matches the design.

Step 1

Install

Requires Node.js 18 or later.

bash
npm install -g @crowdlinker/designmdme
Step 2

Log in

No password or API key needed. Running designmdme login will open a link in your browser — authorize it and you're done.

bash
designmdme login
Step 3

Generate

Point it at any public website. The CLI captures a screenshot, extracts design tokens, and writes a DESIGN-<domain>.md file in your current directory. Use --output to write to a specific path instead.

bash
designmdme --website stripe.com
# → writes DESIGN-stripe-com.md

designmdme --website stripe.com --output ./docs/stripe.md
# → writes to a custom path

HTTP and HTTPS are normalised automatically. If the file already exists you'll be prompted to replace it or save a dated copy.

Commands

Command reference

bash
# Login (opens a browser link to authorize)
designmdme login

# Generate a design spec (URL as positional or flag)
designmdme stripe.com
designmdme --website stripe.com

# Generate to a custom output path
designmdme stripe.com --output ./docs/stripe.md

# Check who you're logged in as
designmdme whoami

# Show usage stats and weekly quota
designmdme usage

# See generation history
designmdme list

# Log out
designmdme logout
AI tools

Use with AI coding tools

Drop the generated file into your project and include it in your AI assistant's context so it has exact colors, typography, and spacing — no guessing.

ClaudeClaude CodeCLAUDE.md
markdown
# Design context

Run this before working on UI:
```bash
designmdme --website $TARGET_DOMAIN
```

This generates DESIGN-<domain>.md with the full design spec.
Include the output file in your context: @DESIGN-<domain>.md
CursorCursor.cursor/rules
markdown
# .cursor/rules

When building UI for this project, first run:
  designmdme --website <domain>

Then reference the generated DESIGN-<domain>.md file
for colors, typography, spacing, and component patterns.

Works with any tool that reads files from your project — Copilot, Windsurf, Aider, or plain ChatGPT. Just reference @DESIGN-<domain>.md in your prompt.

Manage CLI tokens

View active sessions, revoke tokens, and see generation history in your profile.