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.
npx skills add fatihkan/badi --skill design-tokensgit clone --depth 1 https://github.com/fatihkan/badiWrote 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.
[](https://agentmods.dev/skills/fatihkan/badi/design-tokens)<a href="https://agentmods.dev/skills/fatihkan/badi/design-tokens"><img src="https://agentmods.dev/badge/skills/fatihkan/badi/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.
<a href="https://agentmods.dev/skills/fatihkan/badi/design-tokens"><img src="https://agentmods.dev/badge/skills/fatihkan/badi/design-tokens.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00711 |
| Opus 5 | $0.00000 | $0.00356 |
| Sonnet 5 | $0.00000 | $0.00142 |
| Haiku 4.5 | $0.00000 | $0.00071 |
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.
What it actually says
Design Tokens Reference
When this skill is active, agents producing UI / visuals / components must:
- Check for DESIGN.md at the project root
- Read the frontmatter for canonical tokens (colors, typography, spacing, radius, elevation)
- Use only those tokens — do not invent ad-hoc colors, font sizes, or spacing values
- Cite the token when generating code:
bg-[var(--color-primary)]ortheme.colors.primaryrather than raw hex
Token contract
The expected DESIGN.md frontmatter shape (produced by tasarim-kurator agent):
---
colors:
primary: "#0a84ff"
secondary: "#7c3aed"
surface: "#0a0e1a"
text: "#e2e8f0"
muted: "#94a3b8"
typography:
display: "Inter"
body: "Inter"
mono: "JetBrains Mono"
scale: 1.25
spacing:
unit: 8 # base unit in px
radius:
sm: 4
md: 8
lg: 16
elevation:
card: "0 1px 3px rgba(0,0,0,0.1)"
modal: "0 12px 40px rgba(0,0,0,0.4)"
---
When to apply
- Generating React/Vue components → use the colors/typography from DESIGN.md
- Producing Tailwind config → mirror tokens via
theme.extend - Writing CSS / Sass → emit
--color-*,--font-*,--spacing-*variables - Visual brief (visual-director) → reference colors as palette, not hex
- Mobile UI (RN/Flutter) → emit theme constants from tokens
When DESIGN.md is missing
Skill becomes a no-op. Agents fall back to project conventions or invent reasonable defaults — but at the next opportunity, suggest running badi tasarim init --interactive to capture decisions.
Validation
The skill loader cross-checks:
- DESIGN.md frontmatter parses as YAML
- Required keys:
colors.primary,typography.body,spacing.unit - WCAG AA contrast for
colors.textagainstcolors.surface(warns if < 4.5:1)
References
- DESIGN.md spec:
lib/commands/tasarim.js tasarim-kuratoragent for interactive token generationvisual-directordelegates here when DESIGN.md exists
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.
- 6d ago First seen · 76 lines · 0 tokens per session scan A bbe98bad643a
design-tokens is a skill published in the GitHub repository fatihkan/badi (7 stars, last pushed 5d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 711 tokens. 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-06.
Other skills, from other repositories
web-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.
heroui
Build accessible UIs using HeroUI v3 components (React + Tailwind CSS v4 + React Aria). Use when creating React interfaces, selecting UI components, implementing forms, navigation, overlays, or data display. Use when installing HeroUI v3, customizing themes, accessing component documentation, building with compound…
apple-design
Apple's approach to interface design and fluid, physical motion, translated for the web. Use when building or reviewing gesture-driven UI, spring animations, drag/swipe/sheet interactions, momentum and interruptible transitions, translucent materials and depth, typography (optical sizing, tracking, leading)…
frontend-ui-ux
Designer-turned-developer expertise for crafting stunning UI/UX even without design mockups.
frontend-design
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI).…
landing-page-generator
Generate complete, deploy-ready landing pages from any repository. Use when creating a homepage for an open-source project, building a project website, converting a README into a marketing page, or standardizing landing pages across multiple repos.