ds-skill-extraction-workshop: Skill for Claude Code

.claude/skills/extract-ds-skill/SKILL.md

extract-ds-skill is a skill for Claude Code from vercel-labs/ds-skill-extraction-workshop. It costs 164 tokens per session (15,242 once invoked), scanned A, original, MIT.

A guide for turning a real design system into an installable Claude Code skill. A design system is a collection of reusable visual rules, assets, and interface components.

In plain words
What is it for?
Use it to extract design tokens, assets, component descriptions, and component interfaces from systems such as Mantine, Geist, or Material.
Why use it?
It keeps the resulting skill focused on usable design-system instructions rather than copying documentation or mixing in product writing rules.

Skill for Claude Code ✓ vendor

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths; mentions Claude Code; mentions AGENTS.md.

This is vercel-labs/ds-skill-extraction-workshop's own configuration. It tells Claude Code how to work on ds-skill-extraction-workshop itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ds-skill-extraction-workshop configures →

About the project

Vercel Labs' DS Skill Extraction Workshop is a starter repository for a workshop that teaches developers to turn a design system into reusable agent skills and use one to generate a Primer React interface. It guides participants through setup, generation, and visual review of the resulting application. The catalogue entries provide the skills and instructions used in the workshop.

vercel-labs/ds-skill-extraction-workshop · 11 stars · on GitHub

Reuse

Borrowing it

Nothing to install: this file belongs to vercel-labs/ds-skill-extraction-workshop. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/vercel-labs/ds-skill-extraction-workshop/main/.claude/skills/extract-ds-skill/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/vercel-labs/ds-skill-extraction-workshop

Made for: Claude Code.

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-ds-skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/vercel-labs/ds-skill-extraction-workshop/extract-ds-skill.svg)](https://agentmods.dev/skills/vercel-labs/ds-skill-extraction-workshop/extract-ds-skill)
Your own site
<a href="https://agentmods.dev/skills/vercel-labs/ds-skill-extraction-workshop/extract-ds-skill"><img src="https://agentmods.dev/badge/skills/vercel-labs/ds-skill-extraction-workshop/extract-ds-skill.svg" alt="Measured on agentmods" height="20"></a>
Per session 164 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 15,242 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 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.00164 $0.15242
Opus 5 $0.00082 $0.07621
Sonnet 5 $0.00033 $0.03048
Haiku 4.5 $0.00016 $0.01524

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

Security

Grade A, and why

extract-ds-skill scanned grade A 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 8d ago.

The scan reads SKILL.md. This mod also ships 5 executable files (scripts/check-skill-docs.sh, scripts/check-token-coverage.sh, scripts/inspect.sh, …), 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

After the user confirms (with "go" or adjustments), run `mkdir -p .extract-ds-skill-scratch/handoffs/` and write the phase-1 handoff from the template in `references/discovery.md` (`## Handoff document — phase-1.md templ
.claude/skills/extract-ds-skill/SKILL.md · 474 lines

How it starts

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

Mission (what a DS skill IS)

A design-system skill is an adapter that teaches an agent how to build high-fidelity UI with a specific design system. It is not a copy of the design-system documentation. It tells the agent what to read, what APIs are public, what sources are authoritative, and how to verify that generated UI uses the system correctly.

This skill BUILDS such a skill from a real DS source. The output is the skill; this file is the recipe.

Scope (locked)

In scope: tokens, assets, component descriptions, component APIs. Out of scope: tone of voice, marketing copy, product copywriting. When you encounter a copy/naming/casing rule during extraction (e.g. "Title Case the label", "placeholder is action-oriented"), recognize it, route it - mention it in the discovery summary as a candidate for a sibling copy skill - but do NOT extract it into this DS skill.

This scope block is quoted by downstream rules (Quick Triage step 1, Agent Stance bullet 3, Anti-fabrication "Do not" list, references/component-extraction.md Shape 3). Do not paraphrase or trim it when re-citing.

One shipped (not extracted) artefact rides alongside this scope: references/design-craft.md, a DS-agnostic design-craft reference (layout, hierarchy, typography, color, spacing, motion, interactive states, anti-slop restraint) copied verbatim into every produced skill during Phase 3 from the meta-skill's assets/design-craft.md. It is static material, not extraction output — the file:line citation contract and the [VERIFY] discipline do not apply to it, it never varies by DS, and its own precedence header defers to the DS on every conflict. See references/persist.md (Design-craft materialization).

The skill runs in three labeled phases. The single human gate sits at the boundary between Phase 2 and Phase 3. Phase 1 closes with a confirmation prompt; Phase 2 closes with an approval prompt; Phase 3 writes to disk. Phase 1 and Phase 2 close with a hard stop (write handoff → cutoff message → EXIT); the user resumes in a FRESH Claude Code session via an explicit validate: / persist: resume parameter so the context window is cleared between phases.

Read the full file on GitHub · 474 lines

Files

What ships with it

60 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. 8d ago First seen · 474 lines · 0 tokens per session scan A 1c38c19112f1

Subscribe to this mod's changes

extract-ds-skill is a skill published in the GitHub repository vercel-labs/ds-skill-extraction-workshop (11 stars, last pushed 2mo ago), licensed MIT. It adds 164 tokens to every session and 15,242 once invoked, about $0.0008 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

webgl-holographic-foil

A self-contained WebGL2 hero: thin-film interference over a crushed-foil surface whose palette shifts with the viewing angle; move the cursor to tilt the film.

nexu-io/open-design · 41 tokens

html-ppt-hermes-cyber-terminal

OpenDesign + BYOK: choosing and wiring your own model, hands-on — cost, quality, and the routing decision. Built as a decision-grade AI literacy deck for engineers, IT, applied-AI teams.

nexu-io/open-design · 53 tokens

html-ppt-taste-brutalist

16:9 HTML deck in tactical-telemetry / CRT-terminal taste. Deactivated-CRT charcoal slides, white-phosphor monospace, hazard-red accent, scanline overlay, ASCII syntax, density over decoration. Distilled from Leonxlnx/taste-skill brutalist-skill (Tactical Telemetry mode).

nexu-io/open-design · 78 tokens

visual-ralph

Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ralph with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.

Yeachan-Heo/oh-my-codex · 50 tokens

accessibility

Consolidated accessibility skill entrypoint for WCAG 2.2, ARIA Authoring Practices, cognitive accessibility, Section 508, EN 301 549, design intent verification, and the Accessibility Planner workflow.

microsoft/hve-core · 47 tokens

make-resume

A Chinese-language tool for creating editable HTML resumes that can be changed in a browser and printed to PDF. It uses available resume templates when they are installed and otherwise provides a simpler fallback.

Hisn00w/ASu-skills · 86 tokens