design-tokens

design-tokens is a skill for Claude Code, Codex from clubpay/ronykit. It costs 92 tokens per session (2,458 once invoked), scanned A, original, BSD-3-Clause.

A design-token system guide for organizing visual values such as colors, spacing, type sizes, borders, shadows, and motion.

In plain words
What is it for?
Building or refactoring tokens, connecting them to CSS variables, Tailwind, or shadcn, and supporting light and dark themes.
Why use it?
Named tokens keep visual choices consistent and make theme changes or rebranding possible without editing scattered raw values.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Building or refactoring tokens, connecting them to CSS variables, Tailwind, or shadcn, and supporting light and dark themes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/clubpay/ronykit/design-tokens
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.

Any agent
npx skills add clubpay/ronykit --skill design-tokens
Clone the repo
git clone --depth 1 https://github.com/clubpay/ronykit

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/clubpay/ronykit/design-tokens"><img src="https://agentmods.dev/badge/skills/clubpay/ronykit/design-tokens.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 92 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,458 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 133
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
How audits are shown
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.00092 $0.02458
Opus 5.5 $0.00037 $0.00983
Sonnet 5.5 $0.00018 $0.00492
Haiku 4.5 $0.00009 $0.00246

Measured 28d ago against content hash 49dce38676c0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 28d 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.

ronyup/internal/skeleton/skills/design-tokens/SKILL.md · 174 lines

How it starts

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

Design Tokens & Theming Architecture

Hardcoded hex codes (#3b82f6), arbitrary pixel spacing, and ad-hoc shadows make interfaces brittle and dark mode impossible to maintain. A 3-tier token architecture gives every component a single semantic source of truth.

1. Three-tier token hierarchy

Tier Purpose Example Used in components?
1. Primitive Raw palette ramps & numeric scales --neutral-100, --brand-600, --space-4 Never directly
2. Semantic Role-based tokens that flip per theme --background, --foreground-secondary, --border, --primary Yes — 95% of styling
3. Component Scoped overrides when a widget needs it --sidebar-bg, --input-bg, --chart-1 Only inside that component

Rule: Never borrow a token across roles (for example, never use a border token for text color or a card surface token for an input background) — even if they share the same value in light mode, they diverge in dark mode.

2. OKLCH color ramps & hue discipline

For a new system, prefer oklch(L C H) over hex or HSL: equal lightness L steps look equally bright to the human eye across every hue. In an existing system, keep the established notation rather than scattering OKLCH through a consistent hex/HSL codebase; migrate deliberately, not component by component.

  • Keep the palette minimal: One neutral ramp, one primary accent ramp, and only the semantic status ramps (success, warning, destructive, info) your UI actually renders.
  • Constant hue per ramp: Hold hue H constant across a ramp (50 → 950) and tighten lightness steps at the light end (50, 100, 200) where subtle surface differences matter most. When adjusting contrast, change L, not H.
  • Tint your neutrals: Add a subtle hint of the brand hue (C = 0.005–0.015) to neutral surfaces, text, and borders so the UI feels cohesive rather than sterile #000/#fff.
  • Distinct status hues: Keep success, warning, and destructive hues at least 15° away from your primary accent hue so users never confuse a brand badge with an error or warning.
  • Paired status tokens: Every status role needs 3 tokens — subtle surface (--status-*-subtle), readable foreground (--status-*-fg at ≥ 4.5:1 contrast on that surface), and hairline border (--status-*-border).

Read the full file on GitHub · 174 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. 28d ago Changed · +3 lines 49dce38676c0
  2. 1mo ago Changed · -25 lines · +13 tokens per session d74889d15866
  3. 3mo ago First seen · 196 lines · 79 tokens per session scan A f64d96547ab2

Subscribe to this mod's changes

design-tokens is a skill published in the GitHub repository clubpay/ronykit (38 stars, last pushed 28d ago), licensed BSD-3-Clause. It adds 92 tokens to every session and 2,458 once invoked, about $0.0004 per session on Opus 5.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

design-tokens compared with skills from other repositories

design-tokens next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
design-tokensclubpay/ronykitSkill3828d agoBSD-3-ClauseA92Claude Code, Codex
ast-introspectionpilinux/gorestSkill507yesterdayMITA28Claude Code, Codex
build-runpilinux/gorestSkill507yesterdayMITA22Claude Code, Codex
ci-orchestratorpilinux/gorestSkill507yesterdayMITA32Claude Code, Codex
config-loader-helperpilinux/gorestSkill507yesterdayMITA25Claude Code, Codex
db-infra-mockspilinux/gorestSkill507yesterdayMITA27Claude Code, Codex
migration-helperpilinux/gorestSkill507yesterdayMITA26Claude Code, Codex