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 ancoleman/ai-design-components --skill theming-componentsgit clone --depth 1 https://github.com/ancoleman/ai-design-componentsWrote 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/ancoleman/ai-design-components/theming-components)<a href="https://agentmods.dev/skills/ancoleman/ai-design-components/theming-components"><img src="https://agentmods.dev/badge/skills/ancoleman/ai-design-components/theming-components/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/ancoleman/ai-design-components/theming-components"><img src="https://agentmods.dev/badge/skills/ancoleman/ai-design-components/theming-components.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00117 | $0.02383 |
| Opus 5 | $0.00059 | $0.01192 |
| Sonnet 5 | $0.00023 | $0.00477 |
| Haiku 4.5 | $0.00012 | $0.00238 |
Grade A, and why
theming-components 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 8d 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.
How it starts
The opening of the file, as written. The whole thing — 385 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Design Tokens & Theming System
Comprehensive design token system providing the foundational styling architecture for all component skills, enabling brand customization, theme switching, RTL support, and consistent visual design.
Overview
Design tokens are the single source of truth for all visual design decisions. This skill provides:
- Complete Token Taxonomy: 7 core categories (color, typography, spacing, borders, shadows, motion, z-index)
- Theme Switching: Light/dark mode, high-contrast, custom brand themes
- RTL/i18n Support: CSS logical properties for automatic right-to-left language support
- Multi-Platform Export: CSS variables, SCSS, iOS Swift, Android XML, JavaScript
- Component Integration: Skill chaining architecture for consistent styling across all components
Critical Architectural Principle:
Component Skills (Behavior + Structure) → Use tokens for ALL visual styling
Design Tokens (Styling Variables) → Define colors, spacing, typography
Theme Files (Token Overrides) → Light, dark, brand-specific values
Quick Start
Using Tokens in Components
Step 1: Reference tokens in your component:
.button {
background-color: var(--button-bg-primary);
color: var(--button-text-primary);
padding-inline: var(--button-padding-inline);
padding-block: var(--button-padding-block);
border-radius: var(--button-border-radius);
transition: var(--transition-fast);
}
Step 2: Themes automatically apply:
<!-- Light theme -->
<html data-theme="light">
<button class="button">Primary Button</button>
</html>
<!-- Dark theme (same component, different appearance) -->
<html data-theme="dark">
<button class="button">Primary Button</button>
</html>
No code changes needed - theme switching is automatic!
Basic Theme Switching
function setTheme(themeName) {
document.documentElement.setAttribute('data-theme', themeName);
localStorage.setItem('theme', themeName);
}
function toggleTheme() {
const current = document.documentElement.getAttribute('data-theme');
setTheme(current === 'dark' ? 'light' : 'dark');
}
// Load saved theme on page load
setTheme(localStorage.getItem('theme') || 'light');
What ships with it
36 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.
- config.js 3.7 KB runs code
- examples/theme-switcher.html 5.5 KB
- examples/ThemeProvider.tsx 3.3 KB
- examples/ThemeToggle.tsx 2.3 KB
- examples/TokenUsageExample.tsx 8.4 KB
- outputs.yaml 15 KB
- package.json 1.0 KB
- README.md 15 KB
- references/accessibility-tokens.md 6.0 KB
- references/color-system.md 3.8 KB
- references/component-integration.md 9.6 KB
- references/logical-properties.md 7.0 KB
- references/spacing-system.md 3.7 KB
- references/style-dictionary-setup.md 6.7 KB
- references/theme-switching.md 11 KB
- references/typography-system.md 3.5 KB
- scripts/generate_color_scale.py 3.0 KB runs code
- scripts/validate_contrast.py 4.9 KB runs code
- scripts/validate_logical_properties.py 3.0 KB runs code
- scripts/validate_tokens.py 6.3 KB runs code
- SKILL_CHAINING_ARCHITECTURE.md 21 KB
- tokens/components/button.json 2.8 KB
- tokens/components/chart.json 1.9 KB
- tokens/components/input.json 2.2 KB
- tokens/global/borders.json 1.3 KB
- tokens/global/colors.json 6.2 KB
- tokens/global/motion.json 1.5 KB
- tokens/global/shadows.json 2.0 KB
- tokens/global/spacing.json 1.5 KB
- tokens/global/typography.json 3.9 KB
- tokens/global/z-index.json 1.1 KB
- tokens/languages/ar.json 672 B
- tokens/languages/ja.json 671 B
- tokens/themes/dark.json 2.3 KB
- tokens/themes/high-contrast.json 1.6 KB
- tokens/themes/light.json 5.5 KB
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.
- 8d ago First seen · 385 lines · 117 tokens per session scan A 254baac778af
theming-components is a skill published in the GitHub repository ancoleman/ai-design-components (517 stars, last pushed 9mo ago), licensed MIT. It adds 117 tokens to every session and 2,383 once invoked, about $0.0006 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-03.
Other skills, from other repositories
interaction-skill
Layer A interaction-mechanics reference anchored to the beui.dev catalog. Stacks on any style skill whenever work adds or changes motion or interaction — micro-interactions, animated components, transitions, gestures, hover/press/state feedback, loading/success/error morphs, 'make it feel alive'. Mandates reading the…
layout-skill
Layer A layout-mechanics reference. Stacks on any style skill when the screen is an app shell, dashboard, settings, list-detail, mail/inbox, or any layout with fixed regions plus a scrolling body — or when a layout breaks under long, empty, or unbroken content. Owns spatial structure and scroll ownership; owns zero…
vertical-site-conventions
Compose pages and sites that read as their vertical: ecommerce-catalog storefronts that look like storefronts, hospitality-food sites that look like restaurants, b2b-manufacturer sites that look industrial. Use this skill whenever the user wants to build a site that looks like the vertical it serves, fix a build that…
suede-design
Suede Labs AI design skill for making an interface feel intentional instead of templated: design tokens, color strategy, OKLCH ramps, type scale, fluid type, visual hierarchy, dark mode, spacing, component laws, motion, and source-to-implementation visual QA. Use when asked to design, restyle, polish, or audit a…
frontend-design-review
Design, review, and visually QA web and app interfaces against explicit design laws so shipped screens look intentional instead of generic AI output.
design-loop
Autonomous multi-page site builder using a baton-passing loop. Each iteration reads a task from .design/next-prompt.md, generates a page in HTML/Tailwind, integrates it into the site, verifies visually, then writes the next task to keep the loop alive. Use whenever the user asks to build an entire site autonomously…