variant-component

variant-component is a skill for Claude Code, Codex from YuqingNicole/variant-design-skill. It costs 0 tokens per session (1,220 once invoked), scanned A, original, MIT.

A workflow for generating standalone interface components, such as buttons, forms, cards, modals, or navigation, including their different interaction states.

In plain words
What is it for?
Use it to design a single component or related component set, cover its eight states and variants, and align it with a confirmed design system.
Why use it?
It helps developers think through loading, error, hover, disabled, and other states before placing a component into a larger page.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex.

Good fit Use it to design a single component or related component set, cover its eight states and variants, and align it with a confirmed design system.

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/yuqingnicole/variant-design-skill/variant-component"><img src="https://agentmods.dev/badge/skills/yuqingnicole/variant-design-skill/variant-component.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,220 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 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 Prompt Injection · line 49
    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.00000 $0.01220
Opus 5.5 $0.00000 $0.00488
Sonnet 5.5 $0.00000 $0.00244
Haiku 4.5 $0.00000 $0.00122

Measured today against content hash f0891e7ce82b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

variant-component 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 today.

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.

skills/variant-component/SKILL.md · 104 lines

How it starts

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

variant-component: Generate isolated UI components with all 8 states and variants — button systems, forms, cards, modals, nav. Design System-aware when a token set is confirmed. Load skills/shared/code-output.md for framework detection and output conventions. Triggers on: component, button system, form component, card component, modal, navigation component, design a button, input components, component library

Before generating code, load skills/shared/code-output.md for framework detection and references/workflow/quality-baseline.md for verification.

Load on demand only: references/ux/component-specs.md when the user asks for a spec, handoff, anatomy or measurements (follow its Recording Values rules: no invented values, unknowns stay [TBD]; use Handoff and Build QA when the component goes to engineering or is checked against a spec); the Nested Radius section of references/ux/design-tokens.md when a rounded element sits inside another.

Component Mode

When the user asks for a component rather than a full page, switch to Component Mode. Generates isolated, self-contained UI pieces — not full layouts.

Triggers

User says Action
"design a button system" / "button variants" Button component set: all sizes, all states
"design a form" / "input components" Form component set: inputs, selects, errors, validation
"card component" / "design a card" Card variants: default, hover, selected, loading, empty
"modal" / "dialog component" Modal with header, body, footer, dismiss, focus trap
"design a [X] component" Single component, all 8 interactive states
"component library" / "design system components" Set of 5–8 related components as a unified system
"nav component" / "sidebar component" Navigation piece with all states and responsive behavior

Read the full file on GitHub · 104 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. today Changed · -1 lines · -79 tokens per session f0891e7ce82b
  2. today Changed · +2 lines 43a55c2e0e47
  3. 22d ago Changed · +79 tokens per session 2d63c22a7587
  4. 1mo ago Changed · +2 lines 89b8619b5521
  5. 1mo ago First seen · 101 lines · 0 tokens per session scan A 98e53b05fdd5

Subscribe to this mod's changes

variant-component is a skill published in the GitHub repository YuqingNicole/variant-design-skill (47 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,220 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-08-30.

Related

Other skills, from other repositories

gacha-ui

Explore UI directions by generating several genuinely-different real-data HTML mockups in parallel, serving them so the user picks side-by-side, distilling each pick into locked constraints, and narrowing round by round until approved — then landing the winner in the real stack and refining. Use when the user wants to…

fade2373/gacha-ui · 221 tokens

stitch-design

Automate high-fidelity UI prototyping with Google Stitch MCP. Use when the user needs to generate, iterate, or refine UI screens via Stitch prompts.

blockbloomer/claude-skill-stitch-design · 35 tokens

openclaw-carapace

Build or modify OpenClaw application UI using canonical semantic tokens, themes, shared CSS foundations, consumer adapters, and established local primitives. Use for product interfaces, component styling, theme work, or design-token integration.

openclaw/clawhub · 50 tokens

openclaw-design-system

Compatibility alias for existing OpenClaw installations that now applies Carapace semantic tokens, themes, shared CSS foundations, consumer adapters, and established local primitives.

openclaw/clawhub · 37 tokens

openclaw-brand

Apply OpenClaw visual identity to logos, typography, imagery, voice, documents, presentations, social graphics, and launch materials. Use when the task changes brand identity rather than ordinary product UI or public-page composition.

openclaw/clawhub · 48 tokens

openclaw-design-audit

Audit OpenClaw frontend code and rendered interfaces for Carapace drift, token misuse, primitive reimplementation, accessibility problems, responsive defects, and off-brand copy. Use for design reviews, compliance checks, or scheduled audit-and-fix workflows.

openclaw/clawhub · 56 tokens