useclassy

useclassy is a skill for Claude Code, Codex from jrmybtlr/useclassy. It costs 122 tokens per session (1,296 once invoked), scanned A, original, MIT.

A way to write conditional CSS utility classes as modifier attributes in Vue, React, Svelte, Blade, and HTML markup. Base classes stay in the normal class attribute while states such as hover, focus, responsive sizes, and named groups are written separately.

In plain words
What is it for?
Use it when creating or refactoring interface markup with Tailwind-style classes. It helps convert existing variant classes, review UseClassy markup, and handle hover, focus, responsive, group, and container-query modifiers.
Why use it?
It makes markup easier to read by separating permanent styles from styles that apply only in a state or condition. It also provides framework-specific rules for writing these attributes safely.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when creating or refactoring interface markup with Tailwind-style classes. It helps convert existing variant classes, review UseClassy markup, and handle hover, focus, responsive, group, and container-query modifiers.

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

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 useclassy

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/jrmybtlr/useclassy/useclassy-skill"><img src="https://agentmods.dev/badge/skills/jrmybtlr/useclassy/useclassy-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 122 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,296 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.00122 $0.01296
Opus 5.5 $0.00049 $0.00518
Sonnet 5.5 $0.00024 $0.00259
Haiku 4.5 $0.00012 $0.00130

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

Security

Grade A, and why

useclassy 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 1mo 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.

templates/useclassy-skill/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.

Authoring with UseClassy

Use UseClassy to separate Tailwind variants from base utilities:

<!-- Before -->
<button class="rounded px-4 hover:bg-blue-500 hover:text-white focus:ring-2">

<!-- After -->
<button
  class="rounded px-4"
  class:hover="bg-blue-500 text-white"
  class:focus="ring-2"
>

Syntax

Language Base Modifiers
Vue / Blade class="…" class:hover="…", class:sm:hover="…"
React className="…" className:hover="…", className:@md="…", className:group-hover/item="…", className:[&>*]="…", className:data-[state=open]="…"; JSX expressions allowed
Svelte class="…" Quoted only: class:hover="…"

Modifier names may contain letters, numbers, _, -, :, / (named groups such as group-hover/item), @ (container queries such as @md), and arbitrary variants with […] ([&>*], data-[state=open]). UseClassy parses modifier names with bracket depth so = inside […] is not the attribute separator. React uses the same modifier attributes as Vue; UseClassy rewrites them before JSX/HTML parse.

  • Vue / Blade / Svelte / HTML: modifier values must be quoted static class strings (" or ').
  • React: prefer quoted static strings (" or '). JSX expressions are also supported when string literals inside the expression should receive the variant prefix, e.g. className:hover={on ? 'bg-blue-500' : 'bg-gray-200'}.

Refactor existing code

When asked to convert markup to UseClassy:

  1. Identify the framework from the file/config; use className: for React and class: elsewhere.
  2. Inspect each static class / className string.
  3. Keep unprefixed utilities in the base attribute.
  4. Group utilities that share the same modifier prefix and remove that prefix:
    • hover:bg-blue-500 hover:text-white → class:hover="bg-blue-500 text-white"
    • focus:ring-2 focus:ring-blue-400 → class:focus="ring-2 ring-blue-400"
    • md:px-6 md:py-3 → class:md="px-6 py-3"
    • sm:hover:underline → class:sm:hover="underline"
  5. Preserve utility order within each group and preserve unrelated attributes/expressions.

Read the full file on GitHub · 91 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. 1mo ago Changed · +2 lines · +58 tokens per session a6d6742b5596
  2. 1mo ago First seen · 89 lines · 64 tokens per session scan A 44c56a1e586d

Subscribe to this mod's changes

useclassy is a skill published in the GitHub repository jrmybtlr/useclassy (28 stars, last pushed 15d ago), licensed MIT. It adds 122 tokens to every session and 1,296 once invoked, about $0.0005 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-08-30.

Related

Other skills, from other repositories

anti-slop-design

Autonomous Principal Design Technologist. Cures vibe-coded software from AI frontend slop using curated token archetypes and 7-axis quality gating.

sickn33/agentic-awesome-skills · 34 tokens

chakra-ui-builder

Build responsive, accessible UI components and layouts using Chakra UI v3, install or configure Chakra UI in new and existing projects, and design scalable themes using tokens, semantic tokens, recipes, and slot recipes. Use this skill whenever a user asks to build, create, or generate any UI component, page, form…

chakra-ui/chakra-ui · 214 tokens

visual-ralph

Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ultragoal with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.

Yeachan-Heo/oh-my-codex · 52 tokens

prototype-web

A clickable, high-fidelity web product prototype with navigation, a hero section, feature cards, steps, social proof, and optional pricing. It is designed to resemble a finished landing page while remaining a prototype.

nexu-io/html-anything · 24 tokens

frontend-visual-qa

Audits rendered UI and specific task/object-link handoffs; excludes ordinary source citations alone. Audits already-rendered UI and Markdown/Obsidian image layout — web app, deck/slide, dashboard, design-system, or Electron/native app — via real-browser/native-app journeys and a Playwright sweep. Use after UI…

daymade/claude-code-skills · 125 tokens

waitlist-page

A simple waitlist page for collecting email addresses from people interested in a new product or early-access release.

nexu-io/html-anything · 25 tokens