variant-analyze

variant-analyze is a skill for Claude Code, Codex from YuqingNicole/variant-design-skill. It costs 75 tokens per session (2,003 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.

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 75 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,003 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.00075 $0.02003
Opus 5 $0.00037 $0.01001
Sonnet 5 $0.00015 $0.00401
Haiku 4.5 $0.00007 $0.00200

Measured 10d ago against content hash 2671c1d2e6c6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, 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 10d 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.

skills/variant-analyze/SKILL.md · 142 lines

How it starts

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

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.

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)

Step 2: Extract — Pull all design primitives following the Token Extraction schema in style-audit.md: colors, typography, spacing, components, transitions. Group by semantic role.

Step 3: Detect — Run all consistency checks from style-audit.md Section 2. For each finding, record severity (error/warning/info), the specific values, file locations, and a concrete fix.

Step 3.5: Visual Quality Audit — In addition to consistency checks from style-audit.md, run this anti-slop checklist. Flag any item that fails with severity warning or error:

Typography

  • Display font is NOT Inter/Roboto/Arial/Open Sans — use something with character
  • Headlines have presence: tight tracking, compressed line-height, strong weight contrast
  • Body text max-width ~65ch; line-height ≥ 1.5
  • Weight range uses at least 3 stops (e.g. 400 / 500 / 700) — not just Regular + Bold
  • Numbers in data contexts use font-variant-numeric: tabular-nums or monospace
  • No orphaned single words on last line — use text-wrap: balance / text-wrap: pretty
  • Headers use sentence case — not Title Case On Every Word

Read the full file on GitHub · 142 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. 10d 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 (46 stars, last pushed 28d ago), licensed MIT. It adds 75 tokens to every session and 2,003 once invoked, about $0.0004 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-08-30.

Related

Other skills, from other repositories

design-taste-frontend

Anti-slop frontend skill for landing pages, portfolios, and redesigns. The agent reads the brief, infers the right design direction, and ships interfaces that do not look templated. Real design systems when applicable, audit-first on redesigns, strict pre-flight check.

Leonxlnx/taste-skill · 61 tokens

image-to-code

Elite website image-to-code skill for Codex. For visually important web tasks, it must first generate the design image(s) itself, deeply analyze them, then implement the website to match them as closely as possible. In Codex, it must prefer large, readable, section-specific images instead of tiny compressed boards…

Leonxlnx/taste-skill · 116 tokens

design-taste-frontend-v1

The original v1 taste-skill, preserved for projects depending on its exact behavior. The current default is design-taste-frontend (v2 experimental), which is a substantial rewrite. Use this v1 install name only if you need exact backward compatibility.

Leonxlnx/taste-skill · 61 tokens

redesign-existing-projects

Upgrades existing websites and apps to premium quality. Audits current design, identifies generic AI patterns, and applies high-end design standards without breaking functionality. Works with any CSS framework or vanilla CSS.

Leonxlnx/taste-skill · 45 tokens

high-end-visual-design

Teaches the AI to design like a high-end agency. Defines the exact fonts, spacing, shadows, card structures, and animations that make a website feel expensive. Blocks all the common defaults that make AI designs look cheap or generic.

Leonxlnx/taste-skill · 53 tokens

industrial-brutalist-ui

Raw mechanical interfaces fusing Swiss typographic print with military terminal aesthetics. Rigid grids, extreme type scale contrast, utilitarian color, analog degradation effects. For data-heavy dashboards, portfolios, or editorial sites that need to feel like declassified blueprints.

Leonxlnx/taste-skill · 57 tokens