design-tokens

design-tokens is a skill for Claude Code, Codex from glebis/humane-agentic-design. It costs 186 tokens per session (4,551 once invoked), scanned A, original, MIT.

A toolkit for managing design tokens in the DTCG 2025.10 format. Design tokens are reusable design settings such as colors, sizes, durations, fonts, shadows, and typography, which it can validate, combine, resolve, and export as CSS.

In plain words
What is it for?
It is for setting up token files, merging base and project settings, resolving aliases, measuring text contrast, exporting CSS, and generating previews or prompts.
Why use it?
It reduces repeated design values and catches invalid or insufficiently contrasted color choices across themes.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present. Also seen: names the AskUserQuestion tool; mentions Claude Code.

Part of the humane plugin — 21 skills, 1 agent shipped together

Good fit It is for setting up token files, merging base and project settings, resolving aliases, measuring text contrast, exporting CSS, and generating previews or prompts.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/glebis/humane-agentic-design/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 glebis/humane-agentic-design --skill design-tokens
Clone the repo
git clone --depth 1 https://github.com/glebis/humane-agentic-design

Made for: Claude Code, Codex.

Or install humane, the plugin that ships this one along with the rest of its 21 skills, 1 agent.

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/glebis/humane-agentic-design/design-tokens/github.svg)](https://agentmods.dev/skills/glebis/humane-agentic-design/design-tokens)
Your own site
<a href="https://agentmods.dev/skills/glebis/humane-agentic-design/design-tokens"><img src="https://agentmods.dev/badge/skills/glebis/humane-agentic-design/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/glebis/humane-agentic-design/design-tokens"><img src="https://agentmods.dev/badge/skills/glebis/humane-agentic-design/design-tokens.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 186 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,551 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: 2 findings, up to high

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 →

  • high YARA Match · line 3
    YARA rule matched a hack tool or exploit indicator (offensive tools, reconnaissance, privilege escalation, or exploit frameworks).
    Fix: Remove offensive tool references and exploit code. Legitimate agent skills should not contain penetration testing tools, exploit frameworks, or reconnaissance utilities.
  • high Prompt Injection · line 167
    Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
    Fix: Audit all comments and invisible characters. Remove any instructions that direct the agent to perform unauthorized actions. Use plain, reviewable content.
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.00186 $0.04551
Opus 5.5 $0.00074 $0.01820
Sonnet 5.5 $0.00037 $0.00910
Haiku 4.5 $0.00019 $0.00455

Measured 1mo ago against content hash 4a27b9eaafd1, 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 1mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (conftest.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

humane/skills/design-tokens/SKILL.md · 290 lines

How it starts

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

Design Tokens

Announce at start: "I'm using the humane:design-tokens skill to set up, resolve, and export this token set."

Manage DTCG 2025.10 design tokens with a dependency-free Python core. v1 covers the deterministic spine: scaffold, validate, merge (global base + project override), resolve aliases, and export CSS.

Standard vs convention

  • Standard (DTCG): *.tokens.json, $value/$type, whole-value {alias} references.
  • Skill convention (NOT DTCG): global-base / project-override layering via merge, and theme-as-override-file. These are labelled in code; do not present them as standard.

v1 scope

Supported $type: color (string values), dimension, duration, fontFamily, fontWeight, number, typography, shadow. Outputs: CSS custom properties, a Google-Labs DESIGN.md (alpha), a standalone HTML preview, and generation prompts (gpt-image-2 / nano-banana CLI lines + a /tufte-report theme) via the prompt door. CSS import covers color/dimension/duration/fontFamily/number; composite values (box-shadow, gradients, multi-part typography) are skipped and reported. Not in v1: JSON Pointer $ref, $root, structured color objects, name-restriction enforcement, Style Dictionary, Figma/Pencil importers, share bundles, skillify (see the phased spec).

Quick reference

Topic Read
Command catalog and invocation model references/commands.md

Commands

The command catalog lives in references/commands.md.

Contrast

DTCG stores colors, not relationships — nothing in the standard says which token is text and which is the surface behind it. contrast adds that layer as a SKILL CONVENTION and makes it executable, so a token set cannot compile with an unreadable role pair.

Two scales, both reported:

Scale Body text Non-body (links, icons, badges, large text)
APCA Lc (W3C draft, algorithm 0.1.9) |Lc| ≥ 75 |Lc| ≥ 60
WCAG 2.x ratio 4.5:1 3:1

Read the full file on GitHub · 290 lines

Files

What ships with it

60 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago Changed · -11 lines 4a27b9eaafd1
  2. 1mo ago Changed · +4 lines ba9288eece92
  3. 2mo ago First seen · 297 lines · 186 tokens per session scan A 6de2369faf91

Subscribe to this mod's changes

design-tokens is a skill published in the GitHub repository glebis/humane-agentic-design (41 stars, last pushed 24d ago), licensed MIT. It adds 186 tokens to every session and 4,551 once invoked, about $0.0007 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-tokensglebis/humane-agentic-designSkill4124d agoMITA186Claude Code, Codex
ui-forgeDNM03/ui-forgeSkill61mo agoMITA65Codex
popular-web-designsNousResearch/hermes-agentSkill262kyesterdayMITA23Claude Code, Codex
web-prototypenexu-io/open-designSkill107kyesterdayApache-2.0A59Claude Code, Codex
anti-slop-designsickn33/agentic-awesome-skillsSkill49k3d agoMITA34Claude Code
web-prototype-taste-brutalistnexu-io/open-designSkill107kyesterdayApache-2.0A70Claude Code, Codex
web-prototype-taste-softnexu-io/open-designSkill107kyesterdayApache-2.0A69Claude Code, Codex