design-md-extractor

design-md-extractor is a skill for Claude Code, Codex from renky1025/agent-skills. It costs 193 tokens per session (1,702 once invoked), scanned A, original, MIT.

A website analysis workflow that turns a web page's visual style into a DESIGN.md file. DESIGN.md is a structured document for recording colors, fonts, shadows, components, and their states.

In plain words
What is it for?
Use it to extract a design system from a website URL, document observed visual states, record reusable style values, and produce a file that passes the design.md linter.
Why use it?
It removes the need to manually inspect a website and translate its appearance into design tokens and component notes. It also checks that the resulting file follows the required format.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to extract a design system from a website URL, document observed visual states, record reusable style values, and produce a file that passes the design.md linter.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/renky1025/agent-skills/design-md-extractor
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add renky1025/agent-skills --skill design-md-extractor
Clone the repo
git clone --depth 1 https://github.com/renky1025/agent-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for design-md-extractor

README.md
[![agentmods](https://agentmods.dev/badge/skills/renky1025/agent-skills/design-md-extractor/github.svg)](https://agentmods.dev/skills/renky1025/agent-skills/design-md-extractor)
Your own site
<a href="https://agentmods.dev/skills/renky1025/agent-skills/design-md-extractor"><img src="https://agentmods.dev/badge/skills/renky1025/agent-skills/design-md-extractor/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for design-md-extractor

Your own site · 80×15
<a href="https://agentmods.dev/skills/renky1025/agent-skills/design-md-extractor"><img src="https://agentmods.dev/badge/skills/renky1025/agent-skills/design-md-extractor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 193 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,702 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 8 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 11
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 20
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 63
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 171
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 189
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 192
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 196
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 198
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00193 $0.01702
Opus 5.5 $0.00077 $0.00681
Sonnet 5.5 $0.00039 $0.00340
Haiku 4.5 $0.00019 $0.00170

Measured 1mo ago against content hash 2421222fc3f4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

design-md-extractor scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

design-md-extractor/SKILL.md · 132 lines

How it starts

The opening of the file, as written. The whole thing — 132 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Design MD Extractor

Purpose

Turn a website URL into a DESIGN.md design-system document that conforms to the google-labs-code/design.md specification: YAML front-matter tokens plus design-critique prose. The value is spec conformance and honesty about observed values — the file must pass npx @google/design.md lint, and it must never contain invented tokens.

When to Use

  • The user gives a URL and asks for a DESIGN.md, design system, or design tokens.
  • The user asks to analyse a brand's or site's visual style into a reusable document.
  • Trigger phrases: "create a DESIGN.md for [url]", "extract design system from [url]", "generate design tokens for [url]", "analyze [brand]'s visual style", "帮我分析 [url] 的设计系统", "为 [网站] 生成 DESIGN.md", "提取设计 token".
  • Expected outputs: full design system (DESIGN.md for [url]), tokens plus summary (extract design tokens from [url]), or DESIGN.md plus inline analysis (analyze [url]'s visual style).

When NOT to Use

  • The user wants generated images or visual assets rather than a specification document -> hand off to image-design or spec-image.
  • The user wants to restyle an existing implementation. This skill documents what exists; it does not change code or CSS.
  • The target is behind authentication and no public marketing page is available. Analyse public pages only; do not attempt to access gated areas.

Workflow

  1. Gather visual data. Access the URL. Screenshot hero, nav, CTAs, cards, typography sections, and footer. Inspect DevTools for CSS variables, @font-face, computed styles, box-shadow, border-radius, and spacing. Screenshots capture decorative elements (gradients, glows, illustrations) that CSS inspection alone misses.
  2. Extract design tokens. Map observed values into the YAML front-matter schema. Follow references/token-extraction.md for colour counts, typography semantic names, spacing base-unit detection, radius mapping, and shadow capture.
  3. Document components. For each distinct component, record its properties, and record each observed state as its own entry (button-primary, button-primary-hover). Valid component properties are listed in references/design-md-spec.md.
  4. Write the section prose. Produce the eight ## sections in spec order, following references/writing-guidelines.md. The Overview must read as design critique, not a feature list.
  5. Validate. Run npx @google/design.md lint DESIGN.md. Fix every error — broken refs, duplicate sections, invalid tokens — before finishing.

Read the full file on GitHub · 132 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · -104 lines · +33 tokens per session 2421222fc3f4
  2. 2mo ago First seen · 236 lines · 160 tokens per session scan A f7e01370c6e6

Subscribe to this mod's changes

design-md-extractor is a skill published in the GitHub repository renky1025/agent-skills (11 stars, last pushed 28d ago), licensed MIT. It adds 193 tokens to every session and 1,702 once invoked, about $0.0008 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

design-md-extractor compared with skills from other repositories

design-md-extractor next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
design-md-extractorrenky1025/agent-skillsSkill1128d agoMITA193Claude Code, Codex
ui-ux-pro-maxDuanZGit/D-HubSkill0yesterdayMITA114Claude Code
create-xilehui-brand-posterCatmint103/xilehui-brand-agentSkill323d agononeA169Codex
xilehui-header-footer-templateCatmint103/xilehui-brand-agentSkill323d agononeA95Codex
SwiftUIonmyway133/claude-code-pluginsSkill510mo agoMITA16Claude Code
Frontend Designonmyway133/claude-code-pluginsSkill510mo agoMITA19Claude Code
design-taste-frontendDuanZGit/D-HubSkill0yesterdayMITA61Claude Code