design-tokens

design-tokens is a skill for Claude Code from andronics/claude-plugin-css-pro. It costs 44 tokens per session (4,034 once invoked), scanned A, original, MIT.

A system for naming and organizing shared visual settings such as colors, spacing, type sizes, borders, and shadows. These settings can be stored in formats including CSS, Sass, JavaScript, or JSON.

In plain words
What is it for?
Use it when building a design system or applying the same visual values across pages, components, and different platforms.
Why use it?
It keeps visual choices consistent across a product and makes broad design changes easier to manage.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: $skill-name invocation.

Part of the css-pro plugin — 8 skills, 10 commands, 7 agents 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/andronics/claude-plugin-css-pro/design-tokens
Any agent
npx skills add andronics/claude-plugin-css-pro --skill design-tokens
Clone the repo
git clone --depth 1 https://github.com/andronics/claude-plugin-css-pro

Made for: Claude Code.

Or install css-pro, the plugin that ships this one along with the rest of its 8 skills, 10 commands, 7 agents.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/andronics/claude-plugin-css-pro/design-tokens.svg)](https://agentmods.dev/skills/andronics/claude-plugin-css-pro/design-tokens)
Your own site
<a href="https://agentmods.dev/skills/andronics/claude-plugin-css-pro/design-tokens"><img src="https://agentmods.dev/badge/skills/andronics/claude-plugin-css-pro/design-tokens.svg" alt="Measured on agentmods" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,034 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00044 $0.04034
Opus 5 $0.00022 $0.02017
Sonnet 5 $0.00009 $0.00807
Haiku 4.5 $0.00004 $0.00403

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

Security

Grade A, and why

design-tokens 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 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.

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/SKILL.md · 547 lines

How it starts

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

Design Tokens Skill

This skill helps you create, organize, and manage design tokens for scalable design systems. I'll guide you through token architecture, naming conventions, and implementation across different formats.

What Are Design Tokens?

Design tokens are named entities that store visual design attributes. They create a single source of truth for design decisions and enable consistent styling across platforms and tools.

Token Hierarchy

Global Tokens (Foundation)
    ↓
Semantic Tokens (Purpose/Context)
    ↓
Component Tokens (Specific Usage)

Token Categories

Color Tokens

  • Brand colors
  • Semantic colors (success, error, warning)
  • Text colors
  • Background colors
  • Border colors
  • State colors (hover, active, disabled)

Spacing Tokens

  • Margin and padding scales
  • Gap values
  • Layout spacing
  • Component spacing

Typography Tokens

  • Font families
  • Font sizes
  • Font weights
  • Line heights
  • Letter spacing

Size Tokens

  • Width and height values
  • Min/max constraints
  • Breakpoints
  • Container sizes

Border Tokens

  • Border widths
  • Border radius values
  • Border styles

Shadow Tokens

  • Box shadows
  • Elevation levels
  • Text shadows

Animation Tokens

  • Durations
  • Timing functions
  • Delays

Token Naming Convention

Pattern: [category]-[property]-[variant]-[state]

/* Color tokens */
--color-primary          /* Brand primary */
--color-primary-hover    /* Hover state */
--color-primary-light    /* Variant */

--color-text-primary     /* Primary text */
--color-text-secondary   /* Secondary text */

--color-bg-primary       /* Primary background */
--color-bg-secondary     /* Secondary background */

/* Spacing tokens */
--spacing-1              /* Smallest */
--spacing-4              /* Base */
--spacing-8              /* Large */

/* Typography tokens */
--font-size-sm           /* Small */
--font-size-base         /* Base */
--font-size-lg           /* Large */

--font-weight-normal     /* 400 */
--font-weight-bold       /* 700 */

/* Component tokens */
--button-padding-x
--button-padding-y
--button-bg-primary
--button-text-primary

--card-padding
--card-radius
--card-shadow

Read the full file on GitHub · 547 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 · 547 lines · 44 tokens per session scan A 36704be5fac3

Subscribe to this mod's changes

design-tokens is a skill published in the GitHub repository andronics/claude-plugin-css-pro (2 stars, last pushed 10mo ago), licensed MIT. It adds 44 tokens to every session and 4,034 once invoked, about $0.0002 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

chakra-ui-builder

Build responsive, accessible UI components and layouts using Chakra UI v3, install or configure Chakra UI in new and existing projects, and design scalable themes using tokens, semantic tokens, recipes, and slot recipes. Use this skill whenever a user asks to build, create, or generate any UI component, page, form…

chakra-ui/chakra-ui · 214 tokens

frontend-ui-dark-ts

Build dark-themed React applications using Tailwind CSS with custom theming, glassmorphism effects, and Framer Motion animations. Use when creating dashboards, admin panels, or data-rich interfaces with a refined dark aesthetic.

microsoft/skills · 48 tokens

reveal-hover-effect

Build cursor-following spotlight reveals that expose a second aligned image through a soft radial mask. Use for hover-to-color, before-and-after, x-ray, material, texture, product-detail, and illustrated hero effects where a desaturated or embossed base image should remain visible while another treatment follows an…

MengTo/Skills · 66 tokens

frontend-visual-qa

Audits already-rendered web, landing-page, HTML deck/slide, browser tool/game, dashboard/admin, design-system, and desktop UIs using real-browser or native-app journeys, inspected screenshots, DOM geometry, responsive or projection viewports, and a bundled Playwright sweep. Use after UI implementation to find…

daymade/claude-code-skills · 145 tokens

better-colors

Helps you build a color system and answer anything about color in your project. You can generate palettes, use semantic tokens, convert between formats, check contrast and more.

jakubkrehel/skills · 38 tokens

prototype-web

可点击的功能性 Web 原型, 含导航、英雄区、特性区、CTA.

nexu-io/html-anything · 24 tokens