design-token-alignment

design-token-alignment is a skill for Claude Code, Codex from 45ck/skill-harness. It costs 28 tokens per session (242 once invoked), scanned A, original, MIT.

A method for matching design values and component states to an existing code design system. Design tokens are shared values for things such as color, spacing, and type; component APIs are the ways code configures reusable UI parts.

In plain words
What is it for?
Use it to map designs to tokens and components, identify missing values or variants, document the decisions, and create visual comparisons when needed.
Why use it?
It prevents one-off styling and reveals when a visual difference is really a missing component option or token. Recommendations favor reusing the existing system before extending it.

Skill for Claude CodeCodex

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/45ck/skill-harness/design-token-alignment
Any agent
npx skills add 45ck/skill-harness --skill design-token-alignment
Clone the repo
git clone --depth 1 https://github.com/45ck/skill-harness

Made for: Claude Code, Codex.

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-token-alignment

README.md
[![agentmods](https://agentmods.dev/badge/skills/45ck/skill-harness/design-token-alignment.svg)](https://agentmods.dev/skills/45ck/skill-harness/design-token-alignment)
Your own site
<a href="https://agentmods.dev/skills/45ck/skill-harness/design-token-alignment"><img src="https://agentmods.dev/badge/skills/45ck/skill-harness/design-token-alignment.svg" alt="Measured on agentmods" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 242 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 $0.00028 $0.00242
Opus 5 $0.00014 $0.00121
Sonnet 5 $0.00006 $0.00048
Haiku 4.5 $0.00003 $0.00024

Measured 5d ago against content hash ffb8687de24f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

design-token-alignment 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 5d 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.

packs/design-tooling-skills/skills/design-token-alignment/SKILL.md · 31 lines

What it actually says

Use this skill when a design needs to map cleanly onto an existing component system or token set.

Checklist:

  • identify which design values already map to existing tokens
  • flag values that are near-matches and should be normalized instead of copied literally
  • note any missing tokens, variant gaps, or component API mismatches
  • keep the recommendation biased toward reuse before extension
  • produce a concise token and component mapping table
  • keep token decisions and component-state mappings in a durable source artifact
  • generate a visual review surface when humans need to compare token impact, states, or before/after UI behavior

Good output:

  • existing tokens reused where possible
  • missing tokens called out explicitly
  • API gaps separated from pure styling gaps
  • implementation guidance that preserves the current design system shape
  • source-backed review path when a generated visual comparison is needed

Avoid:

  • creating one-off tokens for every visual exception
  • solving a component API problem with raw styling overrides
  • assuming the design tool naming is already production-ready
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. 5d ago First seen · 31 lines · 28 tokens per session scan A ffb8687de24f

Subscribe to this mod's changes

design-token-alignment is a skill published in the GitHub repository 45ck/skill-harness (15 stars, last pushed 2mo ago), licensed MIT. It adds 28 tokens to every session and 242 once invoked, about $0.0001 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-30.

Related

Other skills, from other repositories

Webdesign

Design and integrate web interfaces via three paths: DirectDesign (write design inline with Anthropic frontend-design philosophy — the default workhorse), native /design + /design-sync Claude Code commands (preferred for code integration and design-system sync), or ClaudeDesign (drive claude.ai/design through…

DorShaer/Husk · 134 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

openkb-html-critic

Use to review a generated HTML deck or single-page artifact for visual quality and structural correctness. Especially good at catching CSS specificity bugs where slide-modifier classes (.divider, .center, .q, .flow etc.) accidentally override the base .slide{display:none} and cause one slide to stack on top of every…

VectifyAI/OpenKB · 132 tokens

accessibility

Accessibility patterns for WCAG 2.2 compliance, keyboard focus management, React Aria component patterns, cognitive inclusion, native HTML-first philosophy, and user preference honoring. Use when implementing screen reader support, keyboard navigation, ARIA patterns, focus traps, accessible component libraries…

yonatangross/orchestkit · 65 tokens

figma-design-handoff

Figma-to-code design handoff patterns including Figma Variables to design tokens pipeline, component spec extraction, Dev Mode inspection, Auto Layout to CSS Flexbox/Grid mapping, and visual regression with Applitools. Use when converting Figma designs to code, documenting component specs, setting up design-dev…

yonatangross/orchestkit · 76 tokens

animation-motion-design

Animation and motion design patterns using Motion library (formerly Framer Motion) and View Transitions API. Use when implementing component animations, page transitions, micro-interactions, gesture-driven UIs, or ensuring motion accessibility with prefers-reduced-motion.

yonatangross/orchestkit · 52 tokens