variant-analyze

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

A website review and design-matching tool for existing HTML, CSS, and front-end code. It examines a site’s visual rules, such as colors, spacing, and typography, then can create matching pages.

In plain words
What is it for?
Use it to audit a site, extract reusable design settings into CSS variables, check style consistency, plan a migration, or add a new page that matches the current design.
Why use it?
It helps find inconsistent styling and explains what is wrong with an existing design. It also reduces guesswork when extending or cleaning up a site.

Skill for Claude CodeCodex

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

Good fit Use it to audit a site, extract reusable design settings into CSS variables, check style consistency, plan a migration, or add a new page that matches the current design.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yuqingnicole/variant-design-skill/variant-analyze
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-analyze
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-analyze

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/yuqingnicole/variant-design-skill/variant-analyze"><img src="https://agentmods.dev/badge/skills/yuqingnicole/variant-design-skill/variant-analyze.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,379 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 pass 7 Sept 2026
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.01379
Opus 5.5 $0.00000 $0.00552
Sonnet 5.5 $0.00000 $0.00276
Haiku 4.5 $0.00000 $0.00138

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

Security

Grade A, and why

variant-analyze 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-analyze/SKILL.md · 91 lines

How it starts

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

variant-analyze: Audit existing sites, extract design tokens, generate style-matched pages. Runs consistency checks and Visual Quality Audit (40-item anti-slop checklist, Quality Score XX/100). Triggers on: analyze my site, audit this, match this style, extract tokens, what's wrong with this design, migrate, add a page to my site, compare old new

Site Analysis Mode

When the user points to existing code (file paths, a directory, or says "analyze/audit/check my site"), switch from generation mode to analysis mode. Load references/design-system/style-audit.md for the full methodology and references/workflow/quality-baseline.md for shared mechanical and visual checks.

Triggers

User says Action
"analyze my site" / "audit this" / "check consistency" Full style audit → report
"match this style" / "follow existing design" / "extend my site" Extract tokens → generate matching pages
"extract tokens" (on existing files, not a generated variation) Token extraction → CSS custom properties file
"what's wrong with this design" / "review my CSS" Style consistency check → findings list
"migrate" / "consolidate" / "clean up" Audit → token generation → migration plan
"add a [page] to my site" / "new page matching my existing design" Extract → match → generate

Analysis Workflow

Step 1: Scan — Read the files the user points to. If no specific files given, scan for:

# Auto-detect entry points
find . -name "*.html" -o -name "*.css" -o -name "*.tsx" -o -name "*.jsx" \
  -o -name "*.vue" -o -name "*.svelte" | head -20
# Also check for:
# - tailwind.config.* (Tailwind projects)
# - globals.css / index.css / app.css (common entry CSS)
# - tokens.css / variables.css / theme.* (existing token files)

Read the full file on GitHub · 91 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 · -75 tokens per session de74685f82cc
  2. 22d ago Changed · +75 tokens per session 9c2538d7a262
  3. 1mo ago Changed · -50 lines 19745028b819
  4. 1mo ago First seen · 142 lines · 0 tokens per session scan A 2671c1d2e6c6

Subscribe to this mod's changes

variant-analyze 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,379 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

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

setting-up-charcoal-tailwind

Use before writing or editing code that uses @charcoal-ui with Tailwind, and whenever such a project's charcoal setup is unverified or incomplete. The v2 token route still needs the theme CSS and the .ch-token-v2 opt-in, which the preset does not supply.

pixiv/charcoal · 63 tokens

choosing-charcoal-styling

Use before writing or editing any code that imports @charcoal-ui, and whenever a project's charcoal setup is unverified or incomplete. Decides between the CSS variables, Tailwind and styled-components routes, and names the setup steps that are silently missing in most projects.

pixiv/charcoal · 61 tokens

setting-up-charcoal-styled

Use before writing or editing code that uses @charcoal-ui with styled-components, TokenInjector, createTheme or addThemeUtils, and whenever such a project's charcoal setup is unverified or incomplete.

pixiv/charcoal · 46 tokens

choosing-charcoal-tokens

Use before choosing any color, text style, spacing, radius or border value in code that uses @charcoal-ui, and whenever a literal is about to be written where a token exists — a hex color, a px padding or gap, a font-size, a border-radius or border-width. Charcoal has one correct token for each of these and the choice…

pixiv/charcoal · 111 tokens

frontend-design

A front-end coding tool for building distinctive web pages and interface components. It focuses on unusual layouts, visual styling, animations, and production-ready code rather than generic-looking screens.

anbeime/skill · 79 tokens