extract-design-md

extract-design-md is a skill for Claude Code from fcakyon/claude-codex-settings. It costs 48 tokens per session (4,651 once invoked), scanned B, original, Apache-2.0.

A skill that reads frontend source code or a live website and extracts its visual rules into a DESIGN.md document, including colors, typography, spacing, and layout patterns.

In plain words
What is it for?
Use it to inspect stylesheets, components, theme settings, or a website and produce a design-system document for later review or migration.
Why use it?
It documents an existing design system even when the application cannot be built or rendered, and helps reveal inconsistent styling.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is node "../design-md/scripts/audit-design-md.mjs" ..

Part of the designmd-skills plugin — 2 skills shipped together

Good fit Use it to inspect stylesheets, components, theme settings, or a website and produce a design-system document for later review or migration.

Compare 6 skills from other repositories ↓
About the project

claude-codex-settings is a collection of configurations and reusable extensions for Claude Code, OpenAI Codex, Cursor, and related coding tools. Developers use its skills, commands, hooks, agents, plugins, and MCP servers to shape coding-agent workflows and connect alternative model APIs. The catalogue entries are components of this collection that can be installed into supported coding tools.

fcakyon/claude-codex-settings · 1,223 stars · on GitHub · claudesettings.com

Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/fcakyon/claude-codex-settings
agentmods
npx agentmods add skills/fcakyon/claude-codex-settings/extract-design-md

Made for: Claude Code.

Or install designmd-skills, the plugin that ships this one along with the rest of its 2 skills.

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 extract-design-md

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/fcakyon/claude-codex-settings/extract-design-md"><img src="https://agentmods.dev/badge/skills/fcakyon/claude-codex-settings/extract-design-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,651 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00048 $0.04651
Opus 5.5 $0.00019 $0.01860
Sonnet 5.5 $0.00010 $0.00930
Haiku 4.5 $0.00005 $0.00465

Measured today against content hash 1622f57d4ea7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

extract-design-md scanned grade B with 1 finding 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 today.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/extract-live-url.mjs, tests/extract-live-url.test.mjs), 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.

Recursive force deletemediumDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf "$WORK_DIR"

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

plugins/designmd-skills/skills/extract-design-md/SKILL.md · 468 lines

How it starts

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

Extract Design System from Frontend Code

Analyze frontend source code to extract a comprehensive design system document (DESIGN.md) that captures the project's visual language — colors, typography, spacing, component patterns, and layout principles — directly from the source files, without needing to build or render the application.

Why This Exists

The design-md skill works from rendered HTML. But often you have a codebase and want to understand its design system before you can even run the app — maybe dependencies are missing, the build is broken, or you just want a quick audit. This skill reads the source files themselves: stylesheets, component files, theme configs, and Tailwind setups. It's faster and works anywhere.

When to Use

  • User has a frontend codebase and wants to extract or document its design system
  • User wants to migrate a project's visual identity into Stitch
  • User asks to "audit the styling" or "understand the design language" of a repo
  • User wants to create a DESIGN.md from existing source code
  • The app can't be built/rendered but the source is available
  • User wants to unify or reconcile inconsistent styles across a codebase
  • User only has a website URL (a client site, a reference site, a product whose code isn't available) and wants its design system as a DESIGN.md

Prerequisites

  • Source-code mode: access to the frontend project's source directory
  • Source-code mode: no build or runtime dependencies needed — this skill reads source files only
  • Live-URL mode only: Node.js with puppeteer available (check: node -e "import('puppeteer')"; if the check fails, use the temporary install flow in Step 4 of Phase 1, never install into the user's project) — the same headless Chrome tooling the extract-static-html skill uses. No API key and no third-party extraction service: the page is rendered locally and the URL is never sent anywhere except the site itself

Workflow

Phase 1: Project Discovery

Start by understanding what you're working with. This determines which extraction patterns to use.

Read the full file on GitHub · 468 lines

Files

What ships with it

8 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. today First seen · 468 lines · 48 tokens per session scan B 1622f57d4ea7

Subscribe to this mod's changes

extract-design-md is a skill published in the GitHub repository fcakyon/claude-codex-settings (1,223 stars, last pushed today), licensed Apache-2.0. It adds 48 tokens to every session and 4,651 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it B with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-30.

Related

extract-design-md compared with skills from other repositories

extract-design-md next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
extract-design-mdfcakyon/claude-codex-settingsSkill1.2ktodayApache-2.0B48Claude Code
lov-maintain-partnerslovstudio/skillsSkill723d agoMITA294Claude Code
lov-oh-my-landingpagelovstudio/skillsSkill723d agoMITA67Claude Code, Codex
lov-frontend-designlovstudio/skillsSkill723d agoMITA71Claude Code
lov-install-shadcn-uilovstudio/skillsSkill723d agoMITA48Claude Code
lov-install-web-logolovstudio/skillsSkill723d agoMITA41Claude Code
lov-kill-emojilovstudio/skillsSkill723d agoMITA48Claude Code