variant

variant is a skill for Claude Code from oyi77/1ai-skills. It costs 19 tokens per session (1,920 once invoked), scanned A, original, MIT.

A UI design tool that builds several deliberately different versions of one component and places them behind a picker. A component is a reusable part of an interface, such as a button, card, or form.

In plain words
What is it for?
Use it to explore alternative component structures and select a direction through side-by-side or switchable iteration.
Why use it?
It lets you compare different design directions in the real page instead of making only small color or spacing changes. The tool presents candidates but does not choose a winner.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the 1ai-skills plugin — 250 skills, 4 commands shipped together

Good fit Use it to explore alternative component structures and select a direction through side-by-side or switchable iteration.

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

Made for: Claude Code.

Or install 1ai-skills, the plugin that ships this one along with the rest of its 250 skills, 4 commands.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/oyi77/1ai-skills/variant"><img src="https://agentmods.dev/badge/skills/oyi77/1ai-skills/variant.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,920 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.00019 $0.01920
Opus 5.5 $0.00008 $0.00768
Sonnet 5.5 $0.00004 $0.00384
Haiku 4.5 $0.00002 $0.00192

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

Security

Grade A, and why

variant 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 26d 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.

content/variant/SKILL.md · 169 lines

How it starts

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

Variants

Overview

Builds multiple variants of a component and helps iterate and pick one. Takes one described piece of UI and builds three versions that differ on purpose, behind a picker in the real page.

When to Use

Build three versions of a component that differ on purpose, behind a picker, so you can flip between them and choose.

This skill takes one described piece of UI and builds three versions that differ on purpose. They go behind a picker in the real page, so you can flip between them and choose.

It produces candidates and never ranks them. Reviewing existing UI is interface-review and better-interface, stress testing one component is break and working through a component's states is state-machine. A throwaway picker is this skill's job. When the user wants persistent, browser-live iteration with design context (PRODUCT.md / DESIGN.md, token system, HMR hot-swap), use impeccable's live / generate instead — its variants live in the project, not a scratch page.

Different answers, not different tints

Each variant is a different answer to the same brief, on an axis this collection owns:

Axis Owner What varies
Structure better-layout Grouping, order, column count, what collapses
Density better-layout Spacing scale, how much fits
Emphasis better-colors Where filled color goes, what recedes
Type better-typography Scale steps, weight contrast, measure
Voice better-writing Labels, tone, how much copy

Pick one primary axis and give each variant a different position on it. The axis names the picker's group heading. Secondary choices follow from it rather than varying on their own. A dense variant may need a smaller type step, and that is coherence, not a second axis.

The floor every variant clears

Before a variant enters the picker it clears better-interface's escalation triggers, which are:

  • Every control has an accessible name and a visible focus indicator.
  • Keyboard reaches everything a pointer does.
  • Motion and auto-playing content respect prefers-reduced-motion.
  • Nothing clips, overlaps or becomes unreachable at 320px width or 200% zoom.
  • Body and control text pass their required contrast ratio.
  • No state or meaning rides on color alone, and no state change on motion alone.
  • A destructive action has a confirmation, an undo or a distinct treatment.
  • Truncated content has a way to reach the full value.
  • Nothing hides past a scroll edge or behind a disclosure with no visible cue.
  • Every error names a way to recover.
  • No semantic color is used against its meaning, such as the danger hue on a non-destructive action.

Read the full file on GitHub · 169 lines

Files

What ships with it

1 file 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. 26d ago First seen · 169 lines · 19 tokens per session scan A f375e3db33b4

Subscribe to this mod's changes

variant is a skill published in the GitHub repository oyi77/1ai-skills (19 stars, last pushed yesterday), licensed MIT. It adds 19 tokens to every session and 1,920 once invoked, about $0.0001 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-11-04.

Related

variant compared with skills from other repositories

variant next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
variantoyi77/1ai-skillsSkill19yesterdayMITA19Claude Code
architecture-diagramAgentEra/AgentlySkill1.7k18d agoApache-2.0A47Claude Code, Codex
excalidraw-visual-designerguanyang/super-publisherSkill3811d agoMITA111Claude Code
wechat-sticker-assets-designerguanyang/super-publisherSkill3811d agoMITA57Claude Code
wechat-red-packet-designerguanyang/super-publisherSkill3811d agoMITA54Claude Code, Codex
design-systemfurkangonel/cowranglerSkill12mo agoMITA16Claude Code, Codex
paywallsCesarjoquin/Marketing-SkillsSkill2122mo agoMITA155Claude Code