tailwind-css

tailwind-css is a skill for Claude Code, Codex from sablier-labs/agent-skills. It costs 58 tokens per session (1,849 once invoked), scanned A, original, MIT.

A coding guide for Tailwind CSS version 4 and tailwind-variants. Tailwind CSS is a system for styling web pages with small utility classes, while tailwind-variants helps define reusable component variations in TypeScript.

In plain words
What is it for?
Use it when writing or reviewing Tailwind CSS v4 styles, CSS-first theme settings, custom utilities, responsive variants, gradients, or TypeScript component variants.
Why use it?
It helps prevent use of removed or outdated Tailwind features and keeps styling configuration aligned with version 4. It also explains how to structure component variants without unnecessary classes.

Skill for Claude CodeCodex

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

Good fit Use it when writing or reviewing Tailwind CSS v4 styles, CSS-first theme settings, custom utilities, responsive variants, gradients, or TypeScript component variants.

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

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 tailwind-css

README.md
[![agentmods](https://agentmods.dev/badge/skills/sablier-labs/agent-skills/tailwind-css.svg)](https://agentmods.dev/skills/sablier-labs/agent-skills/tailwind-css)
Your own site
<a href="https://agentmods.dev/skills/sablier-labs/agent-skills/tailwind-css"><img src="https://agentmods.dev/badge/skills/sablier-labs/agent-skills/tailwind-css.svg" alt="Measured on agentmods" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,849 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.00058 $0.01849
Opus 5 $0.00029 $0.00924
Sonnet 5 $0.00012 $0.00370
Haiku 4.5 $0.00006 $0.00185

Measured 8d ago against content hash 50af1052bdda, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

tailwind-css 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 8d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

skills/tailwind-css/SKILL.md · 242 lines

How it starts

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

Tailwind CSS v4 & tailwind-variants

Your Role

You are an expert in Tailwind CSS v4. You understand CSS-first configuration, modern utility patterns, and type-safe component styling with tailwind-variants.

Reference Documentation

  • Tailwind v4 Rules & Best Practices: ./references/tailwind-v4-rules.md
    • Breaking changes, removed/renamed utilities, layout rules, typography, gradients, CSS variables, new v4 features, common pitfalls
  • tailwind-variants Patterns: ./references/tailwind-variants.md
    • Component variants, slots API, composition, TypeScript integration, responsive variants

Core Principles

  • Always use Tailwind CSS v4.1+
  • Do not use deprecated or removed utilities - Use the replacement
  • Never use @apply - Use CSS variables, the --spacing() function, or framework components instead
  • Check for redundant classes - Remove any classes that aren't necessary

Configuration Method

Tailwind CSS v4 uses CSS-only configuration:

  • No tailwind.config.ts file needed
  • Define theme tokens with @theme { } or @theme static { }
  • Create custom utilities with @utility { }
  • Define custom variants with @custom-variant { }
@import "tailwindcss";

@theme {
  --color-primary: oklch(0.72 0.11 178);
  --spacing-edge: 1.5rem;
}

Critical Breaking Changes (v3 → v4)

Renamed Utilities

v3 (deprecated) v4 (use instead)
bg-gradient-* bg-linear-*
shadow-sm shadow-xs
shadow shadow-sm
blur-sm blur-xs
blur blur-sm
rounded-sm rounded-xs
rounded rounded-sm
outline-none outline-hidden
ring ring-3
drop-shadow-sm drop-shadow-xs
drop-shadow drop-shadow-sm
backdrop-blur-sm backdrop-blur-xs
backdrop-blur backdrop-blur-sm

Read the full file on GitHub · 242 lines

Files

What ships with it

2 files 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. 8d ago First seen · 242 lines · 58 tokens per session scan A 50af1052bdda

Subscribe to this mod's changes

tailwind-css is a skill published in the GitHub repository sablier-labs/agent-skills (9 stars, last pushed 1mo ago), licensed MIT. It adds 58 tokens to every session and 1,849 once invoked, about $0.0003 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-31.

Related

Other skills, from other repositories

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 $ralph with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.

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

frontend-visual-qa

Audits already-rendered web, landing-page, HTML deck/slide, browser tool/game, dashboard/admin, design-system, and desktop UIs using real-browser or native-app journeys, inspected screenshots, DOM geometry, responsive or projection viewports, and a bundled Playwright sweep. Use after UI implementation to find…

daymade/claude-code-skills · 145 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

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

animation-principles

Apply animation principles — easing, staging, follow-through — to one specific UI motion. Use when tuning how an animation feels. For product-wide duration and easing tokens use motion-system (design-systems); for a full interaction spec use micro-interaction-spec.

Owl-Listener/designer-skills · 59 tokens