design-extractor

design-extractor is a skill for Claude Code from m0hamed-ux/design-extractor. It costs 142 tokens per session (1,600 once invoked), scanned A, original, MIT.

A website-inspection skill that captures a live site’s appearance and creates a DESIGN.md guide for reproducing it.

In plain words
What is it for?
Use it when you have a website domain or URL and want to copy, clone or match its visual language in another project.
Why use it?
It combines screenshots with measured colors, fonts, spacing and components, so visual decisions do not rely only on guesswork.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the design-extractor plugin — 1 skill shipped together

Good fit Use it when you have a website domain or URL and want to copy, clone or match its visual language in another project.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add m0hamed-ux/design-extractor
Claude Code
/plugin install design-extractor

Made for: Claude Code.

Or install design-extractor, the plugin that ships this one along with the rest of its 1 skill.

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-extractor

README.md
[![agentmods](https://agentmods.dev/badge/skills/m0hamed-ux/design-extractor/design-extractor/github.svg)](https://agentmods.dev/skills/m0hamed-ux/design-extractor/design-extractor)
Your own site
<a href="https://agentmods.dev/skills/m0hamed-ux/design-extractor/design-extractor"><img src="https://agentmods.dev/badge/skills/m0hamed-ux/design-extractor/design-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-extractor

Your own site · 80×15
<a href="https://agentmods.dev/skills/m0hamed-ux/design-extractor/design-extractor"><img src="https://agentmods.dev/badge/skills/m0hamed-ux/design-extractor/design-extractor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 142 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,600 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.
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.00142 $0.01600
Opus 5 $0.00071 $0.00800
Sonnet 5 $0.00028 $0.00320
Haiku 4.5 $0.00014 $0.00160

Measured 9d ago against content hash e1b5be77f238, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

design-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 9d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/capture_site.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/design-extractor/SKILL.md · 153 lines

How it starts

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

Design Extractor

Turn any live website into a reusable DESIGN.md — a design spec detailed enough that another Claude (or a developer) could rebuild a new project in the same visual language. You capture what the site looks like (via screenshots) and what it's made of (computed colors, fonts, spacing), then synthesize both into one document.

The screenshots are the source of truth. Token frequency data is a helpful cross- check, but your eyes on the rendered page are what make the spec accurate — a font name in CSS tells you less than seeing how type is actually used.

Prerequisites

The capture script needs Python 3.9+ with a few packages. If a capture run fails with a missing-module error, install them first:

python -m pip install -r "${CLAUDE_PLUGIN_ROOT}/requirements.txt"
python -m playwright install chromium

The playwright install chromium step downloads the headless browser (one-time, per machine). The script also attempts this automatically on first run. If the browser still can't run, the script falls back to a plain HTML/CSS scrape — lower fidelity, but it keeps working on locked-down machines.

Workflow

1. Capture the site

Run the capture script. It renders the homepage plus a few auto-discovered key pages (pricing, about, features…), saves full-page and above-the-fold screenshots, extracts computed style tokens, and writes everything to an output directory.

python "${CLAUDE_PLUGIN_ROOT}/skills/design-extractor/scripts/capture_site.py" <domain> --out <workspace>/capture --max-pages 3
  • <domain>: what the user gave you, e.g. stripe.com or https://linear.app.
  • --out: a fresh directory, ideally named after the domain (e.g. stripe-capture/).
  • --max-pages: total pages including the homepage. 3 is a good default; raise to 4–5 only if the user wants exhaustive component coverage.

${CLAUDE_PLUGIN_ROOT} is set automatically to this plugin's install directory, so the path works wherever the plugin lives. If for some reason that variable isn't available, locate capture_site.py under the plugin's skills/design-extractor/scripts/ directory and call it directly.

Read the full file on GitHub · 153 lines

Files

What ships with it

2 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. 9d ago First seen · 153 lines · 142 tokens per session scan A e1b5be77f238

Subscribe to this mod's changes

design-extractor is a skill published in the GitHub repository m0hamed-ux/design-extractor (3 stars, last pushed 3mo ago), licensed MIT. It adds 142 tokens to every session and 1,600 once invoked, about $0.0007 per session on Opus 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

Other skills, from other repositories

eye

Design judgment via design-director taste — reads design intent, assesses whether execution serves it, returns opinionated verdict with clear direction. Scales from one element to a whole app. Always judgment, never fixing. Invoke ONLY via /eye — do NOT trigger on 'review the design' or 'how does it look'.

catcatcatstudio/cat-skills · 66 tokens

design-system

Use when starting a frontend or working on its look and feel, to establish and enforce a DESIGN.md-driven custom design system as the single source of truth for tokens, components, and icons. Make any generated UI (including 21st.dev Magic output) conform to DESIGN.md.

martian56/claude-engineer · 59 tokens

lottie-design

Search, fetch, and integrate free Lottie animations into React, React Native, Vue, Svelte, Angular, Flutter, and Vanilla web projects. Use when the user asks for any Lottie/dotLottie/animation work — loaders, success checkmarks, splash screens, empty states, onboarding, micro-interactions. Triggers on keywords like…

enegaltech/lottie-marketplace · 111 tokens

sxo

Search Experience Optimization (SXO) — the bridge between SEO and UX/CRO. Audits the full journey from the SERP click to the on-page goal: SERP click-through factors (title/meta/rich results that win the click), then post-click experience signals that keep users and drive conversions — above-the-fold relevance and…

nowork-studio/notfair-plugin · 235 tokens

designlang-tokens

Use when styling UI for cal.com — references the extracted design system tokens instead of inventing colors, spacing, or typography.

Manavarya09/design-extract · 30 tokens

presentation-design

Designs slide decks and one-pagers that carry an argument rather than decorate one — deck structure, headlines that state the takeaway, charts that make a single point, and the different rules board decks and conference talks follow. Use this to build or fix a pitch deck, board deck, or conference talk, to design a…

cbrock84/headcount · 109 tokens