design-tokens-emit

design-tokens-emit is a skill for Claude Code from ZachArticulateV/designer-pro-and-seo. It costs 76 tokens per session (636 once invoked), scanned A, original, MIT.

A tool that turns design-system specifications into code files such as CSS variables, Tailwind settings, SCSS variables, or JSON. Design tokens are named values for things like colors, fonts, spacing, and effects.

In plain words
What is it for?
Use it to create token files for CSS, Tailwind, SCSS, JSON, or Style Dictionary workflows. It accepts design-system JSON and writes the selected formats to an output directory.
Why use it?
It removes the manual copying needed to move visual rules from documentation into a codebase. This keeps the implementation connected to the design specification.

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 designer-pro-and-seo plugin — 41 skills, 14 agents, 1 MCP server shipped together

Good fit Use it to create token files for CSS, Tailwind, SCSS, JSON, or Style Dictionary workflows. It accepts design-system JSON and writes the selected formats to an output directory.

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 ZachArticulateV/designer-pro-and-seo
Claude Code
/plugin install designer-pro-and-seo

Made for: Claude Code.

Or install designer-pro-and-seo, the plugin that ships this one along with the rest of its 41 skills, 14 agents, 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 design-tokens-emit

README.md
[![agentmods](https://agentmods.dev/badge/skills/zacharticulatev/designer-pro-and-seo/design-tokens-emit/github.svg)](https://agentmods.dev/skills/zacharticulatev/designer-pro-and-seo/design-tokens-emit)
Your own site
<a href="https://agentmods.dev/skills/zacharticulatev/designer-pro-and-seo/design-tokens-emit"><img src="https://agentmods.dev/badge/skills/zacharticulatev/designer-pro-and-seo/design-tokens-emit/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-tokens-emit

Your own site · 80×15
<a href="https://agentmods.dev/skills/zacharticulatev/designer-pro-and-seo/design-tokens-emit"><img src="https://agentmods.dev/badge/skills/zacharticulatev/designer-pro-and-seo/design-tokens-emit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 76 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 636 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.00076 $0.00636
Opus 5 $0.00038 $0.00318
Sonnet 5 $0.00015 $0.00127
Haiku 4.5 $0.00008 $0.00064

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

Security

Grade A, and why

design-tokens-emit 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 12d 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.

skills/design-tokens-emit/SKILL.md · 63 lines

How it starts

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

design-tokens-emit

Family: design Status: Stable

Purpose

Bridge "we have a design system spec" to "we have tokens we can import." Takes a design-system-gen result and emits real token files in the chosen format(s), so the palette/typography/effects become part of the build instead of staying a doc.

Triggers

  • "emit tokens" / "convert design system to code"
  • "tailwind config" / "css variables" / "style dictionary"
  • "tokens for [tailwind/css/scss]"

Inputs

  • A design system as engine JSON from design-system-gen (re-run it in JSON mode if you only have a saved MASTER.md — the emitter reads JSON, not Markdown)
  • Target format: css | tailwind | scss | json | all
  • Output directory

Steps

  1. Get the design JSON. Run design-system-gen (JSON mode) or read a saved one.
  2. Emit tokens:
    python3 "${CLAUDE_PLUGIN_ROOT}/scripts/design/tokens_emit.py" --design-json ds.json --format all --out-dir tokens/
    
    On Windows, use py if python3 is absent; in PowerShell the variable is $env:CLAUDE_PLUGIN_ROOT. Produces tokens.css (:root custom properties), tailwind.tokens.js (merge into theme.extend), _tokens.scss, and tokens.json (Style-Dictionary shape). Use --print to preview without writing.
  3. Wire it in. Tell the user where each file goes (import the CSS, merge the Tailwind fragment, @use the SCSS) and include the contrast-safe on_primary color for button text.
  4. Keep it in sync. Re-run when the design system changes; tokens are generated, not hand-maintained.

Outputs

  • One token file per requested format (CSS / Tailwind / SCSS / JSON)
  • Wiring notes for the target stack

Dependencies

  • scripts/design/tokens_emit.py (required) — Python 3.10+, standard library only
  • design-system-gen (required) — upstream source of the design JSON the emitter reads

Notes

Pairs with design-build (which consumes the tokens) and design-system-persist (which stores the source design system). SwiftUI/Compose targets are on the roadmap; web formats ship today.

Read the full file on GitHub · 63 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. 12d ago First seen · 63 lines · 76 tokens per session scan A d13b6bec3557

Subscribe to this mod's changes

design-tokens-emit is a skill published in the GitHub repository ZachArticulateV/designer-pro-and-seo (8 stars, last pushed 2mo ago), licensed MIT. It adds 76 tokens to every session and 636 once invoked, about $0.0004 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

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

web-design

A web design workflow for turning a brief, reference website, screenshot, or keywords into a design specification and then web code. It covers visual style, page structure, interaction, responsive layouts, and motion.

xiaopu-ai/web-design · 151 tokens

design-to-code-check

Check alignment between a specific design specification and its code implementation — a focused, single-component or single-screen comparison. Trigger when someone says: does this match the design, check implementation, design code alignment, what's different between the design and the build, spec check…

murphytrueman/design-system-ops · 95 tokens

design-with-claude

Use when design work needs a product designer's eye: auditing a codebase for design-system gaps, fixing WCAG contrast and unlabeled inputs, choosing type scales or spacing steps, reviewing UI that looks generic or AI-generated, or designing forms, tables, dashboards, navigation, checkout, onboarding, dark mode, and…

imsaif/design-with-claude · 0 tokens

Component Variants / States Documentation コンポーネント状態の文書化

A code review check for new reusable interface components and the variations and states they support, such as hover, focus, disabled, loading, and error states.

s977043/river-review · 75 tokens

Design Source-of-Truth Conformance デザイン定義準拠

A code review check that compares new interface values—such as colors, spacing, font sizes, rounded corners, and shadows—with the project's documented design rules or token files. It only runs when those design definitions exist.

s977043/river-review · 90 tokens