extracting-design-system

extracting-design-system is a skill for Claude Code from noemuch/bridge. It costs 102 tokens per session (1,855 once invoked), scanned B, original, MIT.

A setup and refresh process for Bridge, a tool that extracts a design system from Figma and stores project documentation. It prepares the repository and can repeat the extraction after Figma changes.

In plain words
What is it for?
Use it to initialize Bridge in a repository, connect it to Figma, create its supporting files, and refresh design-system documentation.
Why use it?
It removes the manual work of checking prerequisites, creating configuration files, and organizing design-system knowledge when starting or updating a project.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: names the AskUserQuestion tool; mentions Claude Code.

Part of the bridge plugin — 5 skills, 1 hook, 1 MCP server shipped together

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.

agentmods
npx agentmods add skills/noemuch/bridge/extracting-design-system
Any agent
npx skills add noemuch/bridge --skill extracting-design-system
Clone the repo
git clone --depth 1 https://github.com/noemuch/bridge

Made for: Claude Code.

Or install bridge, the plugin that ships this one along with the rest of its 5 skills, 1 hook, 1 MCP server.

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 extracting-design-system

README.md
[![agentmods](https://agentmods.dev/badge/skills/noemuch/bridge/extracting-design-system.svg)](https://agentmods.dev/skills/noemuch/bridge/extracting-design-system)
Your own site
<a href="https://agentmods.dev/skills/noemuch/bridge/extracting-design-system"><img src="https://agentmods.dev/badge/skills/noemuch/bridge/extracting-design-system.svg" alt="Measured on agentmods" height="20"></a>
Per session 102 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,855 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. Scan, not verified.
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.00102 $0.01855
Opus 5 $0.00051 $0.00928
Sonnet 5 $0.00020 $0.00371
Haiku 4.5 $0.00010 $0.00186

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

Security

Grade B, and why

extracting-design-system 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 6d 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.

Reads MCP configurationmediumAgent snooping

mcp.json carries server URLs and auth tokens; reading it lets a mod discover and abuse other integrations.

description: Use when the user says "setup", "setup bridge", "extract", "extract DS", "onboard", "build knowledge base", "initialize bridge", or is starting Bridge in a project for the first time. Handles the complete bo
skills/extracting-design-system/SKILL.md · 223 lines

How it starts

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

Extracting Design System

Overview

Single-entry-point skill for Bridge's initial setup AND subsequent re-extracts. Orchestrates the complete flow from empty repo to "docs shipped" via 8 procedural steps. Uses the setup-orchestrator module (Bash tool) + MCP tools (figma-console-mcp) + user prompts.

When to Use

Invoke when the user:

  • says "setup bridge", "setup", "init", "extract", "extract DS", "onboard", "build KB", "refresh registries"
  • has just installed the Bridge plugin and wants to bootstrap a repo
  • wants to re-extract after an upstream Figma change

Do NOT use if:

  • the user is designing a component — use generating-figma-design
  • the user is processing manual corrections — use learning-from-corrections
  • the user is shipping a design — use shipping-and-archiving

Procedure

Before starting, load:

  • references/transport-adapter.md (repo-root) — for MCP transport detection

Step 1 — Pre-flight checks

Run via Bash tool:

node --version
git rev-parse --is-inside-work-tree
gh auth status

Then Node:

const { runPreflight } = require("/path/to/node_modules/@noemuch/bridge-ds/dist/lib/cli/setup-orchestrator.js");
const { gitRemote, figmaKey } = await runPreflight();

Report to user in conversation:

✓ Node 20 · git repo · gh auth OK
📍 Detected git remote: {gitRemote or "(none)"}
📍 Detected Figma URL in README: {figmaKey or "(none)"}

Step 2 — Ask for Figma file URL (skip if auto-detected and user confirms)

If figmaKey is null from pre-flight:

Paste the Figma DS file URL:

Extract the key via the regex figma\.com\/(?:design|file)\/([a-zA-Z0-9_-]+).

Step 3 — Ask for Figma Personal Access Token

IMPORTANT: token must be stdin-masked. Use Claude Code's native password prompt (AskUserQuestion tool with type=password if available, otherwise instruct the user via terminal).

Paste your Figma PAT (hidden, never logged).
Press Enter to skip — we'll use the plugin path (interactive extraction only).

Read the full file on GitHub · 223 lines

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. 6d ago First seen · 223 lines · 0 tokens per session scan B b12a69545051

Subscribe to this mod's changes

extracting-design-system is a skill published in the GitHub repository noemuch/bridge (155 stars, last pushed 3mo ago), licensed MIT. It adds 102 tokens to every session and 1,855 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it B with 1 finding (reads mcp configuration). 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

work-with-design-systems

Inspect, build, or extend Figma design systems — and optionally sync them to code. Two modes in one skill: inspect mode (read-only audits with WCAG checks, component scoring, detached instance detection, handoff docs) and build mode (creating components with variable bindings, slot-based composition, structured…

natdexterra/work-with-design-systems · 260 tokens

create-anatomy

Generate a visual anatomy annotation in Figma showing numbered markers on a component instance with an attribute table. Use when the user mentions "anatomy", "anatomy annotation", "component anatomy", "create anatomy", or wants to annotate a component's structural elements.

redongreen/uSpec · 59 tokens

create-property

Generate a visual property annotation in Figma showing each configurable property axis with component instance previews. Use when the user mentions "property", "properties", "property annotation", "create property", or wants to document a component's configurable properties visually.

redongreen/uSpec · 51 tokens

create-structure

Generate structure specifications documenting component dimensions, spacing, padding, and how values change across density, size, and shape variants. Use when the user mentions "structure", "structure spec", "dimensions", "spacing", "density", "sizing", or wants to document a component's dimensional properties.

redongreen/uSpec · 63 tokens

create-color

Generate color annotation specifications mapping UI elements to design tokens. Use when the user mentions "color", "color annotation", "color spec", "tokens", "design tokens", or wants to document which color tokens a component uses.

redongreen/uSpec · 48 tokens

create-voice

Generate screen reader accessibility specifications for VoiceOver (iOS), TalkBack (Android), and ARIA (Web). Use when the user mentions "voice", "voiceover", "screen reader", "accessibility spec", "talkback", "aria", or wants to create accessibility documentation for a UI component.

redongreen/uSpec · 66 tokens