design-token-component-contract

design-token-component-contract is a skill for Claude Code, Codex from ryne2010/harness-engineering-audit. It costs 33 tokens per session (223 once invoked), scanned A, original, MIT.

A workflow for turning visual product specifications into shared design tokens and component contracts. Design tokens are named rules for things such as color, spacing, type, corners, shadows, motion, and themes.

In plain words
What is it for?
Use it to identify required tokens, map designs to reusable components, update component contracts, and report raw styles or missing validation.
Why use it?
It prevents inconsistent one-off styling and clarifies which existing components should represent each part of a design.

Skill for Claude CodeCodex

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

Good fit Use it to identify required tokens, map designs to reusable components, update component contracts, and report raw styles or missing validation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ryne2010/harness-engineering-audit/design-token-component-contract
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 ryne2010/harness-engineering-audit --skill design-token-component-contract
Clone the repo
git clone --depth 1 https://github.com/ryne2010/harness-engineering-audit

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-component-contract

README.md
[![agentmods](https://agentmods.dev/badge/skills/ryne2010/harness-engineering-audit/design-token-component-contract/github.svg)](https://agentmods.dev/skills/ryne2010/harness-engineering-audit/design-token-component-contract)
Your own site
<a href="https://agentmods.dev/skills/ryne2010/harness-engineering-audit/design-token-component-contract"><img src="https://agentmods.dev/badge/skills/ryne2010/harness-engineering-audit/design-token-component-contract/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-token-component-contract

Your own site · 80×15
<a href="https://agentmods.dev/skills/ryne2010/harness-engineering-audit/design-token-component-contract"><img src="https://agentmods.dev/badge/skills/ryne2010/harness-engineering-audit/design-token-component-contract.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 223 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.00033 $0.00223
Opus 5 $0.00016 $0.00112
Sonnet 5 $0.00007 $0.00045
Haiku 4.5 $0.00003 $0.00022

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

Security

Grade A, and why

design-token-component-contract 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 4d 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.

plugins/harness-engineering-audit/skills/harness-engineering-audit/assets/templates/skills/design-token-component-contract-SKILL.md · 22 lines

What it actually says

design token component contract

Follow the repository source-of-truth docs. Do not invent a second design system when one already exists. Do not implement app features until tokens/components/contracts are clear enough for validation.

Workflow

  1. Read the visual product spec pack, design-token pack, component contracts, and existing component library.
  2. Identify required semantic tokens for color, spacing, typography, radius, elevation, motion, and themes.
  3. Map visual target elements to existing components before proposing new primitives.
  4. Add or update component contracts for priority reusable components.
  5. Flag raw colors, ad hoc spacing, duplicated primitives, and one-off generated styles as harness gaps.
  6. Record token build/validation commands or mark them not_run with the missing command reason.

Evidence

Report token files, component contracts, story/workbench coverage, raw-style findings, and validation commands run or not run.

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. 4d ago First seen · 22 lines · 33 tokens per session scan A 606c68446971

Subscribe to this mod's changes

design-token-component-contract is a skill published in the GitHub repository ryne2010/harness-engineering-audit (5 stars, last pushed 5d ago), licensed MIT. It adds 33 tokens to every session and 223 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-09-05.

Related

Other skills, from other repositories

fd

Frontend design mode for strong visual direction, UI polish, redesigns, landing pages, and production-grade interface work, including shadcn-based surfaces. Use when the user says /fd or explicitly asks for better design, styling, layout, visual quality, or UX polish.

dgk-dev/dgk-gpt · 58 tokens

web-design-reviewer

This skill enables visual inspection of websites running locally or remotely to identify and fix design issues. Triggers on requests like "review website design", "check the UI", "fix the layout", "find design problems". Detects issues with responsive design, accessibility, visual consistency, and layout breakage…

Galaxy-Dawn/claude-scholar · 74 tokens

ui-web

Web UI - glassmorphism, Tailwind, dark mode, accessibility.

alinaqi/maggy · 17 tokens

mulmoterminal-theme

Build a colour scheme of your own for MulmoTerminal — one that joins Midnight, Nord, Daylight and Solarized in Settings' theme picker and can then be pinned per project. Writes themes in /.mulmoterminal/config.json, the whole-app palette (panels, borders, accent, text), which has no UI for creating one — Settings only…

receptron/mulmoterminal · 168 tokens

taste

Use when improving the visual taste, positioning, polish, trust, and conversion clarity of a website or product UI. Runs a category-first visual audit, applies a decisive design pass, and verifies the result with screenshots rather than subjective vibes.

tryproduck/produck-skills · 49 tokens

ijfw-ui-spec

Use when the user says: 'ui spec', 'design contract', 'ui audit setup', 'lock the design', 'visual contract', 'ui review setup', or '/ijfw-ui-spec'. Produces UI-SPEC.md as the visual design contract before any frontend or visual-artifact build, and dispatches ijfw-ui-auditor as the final 6-pillar gate.

FerroxLabs/ijfw · 83 tokens