tailwindcss

tailwindcss is a skill for Claude Code from xobotyi/cc-foundry. It costs 70 tokens per session (5,165 once invoked), scanned B, original, MIT.

A set of rules for using Tailwind CSS version 4, a CSS toolkit built from small reusable styling classes. It covers theme values, class composition, layout, sizing, typography, and related styling work.

In plain words
What is it for?
Use it when writing, reviewing, refactoring, debugging, or understanding Tailwind CSS v4 classes and theme configuration.
Why use it?
It keeps Tailwind styles consistent and makes clear when a custom CSS rule is appropriate instead of adding more utility classes.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_SKILL_DIR} variable.

Part of the frontend plugin — 7 skills shipped together

Good fit Use it when writing, reviewing, refactoring, debugging, or understanding Tailwind CSS v4 classes and theme configuration.

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

Made for: Claude Code.

Or install frontend, the plugin that ships this one along with the rest of its 7 skills.

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 tailwindcss

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/xobotyi/cc-foundry/tailwindcss"><img src="https://agentmods.dev/badge/skills/xobotyi/cc-foundry/tailwindcss.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 70 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,165 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00070 $0.05165
Opus 5.5 $0.00028 $0.02066
Sonnet 5.5 $0.00014 $0.01033
Haiku 4.5 $0.00007 $0.00517

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

Security

Grade B, and why

tailwindcss scanned grade B with 1 finding 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.

Strips warnings and disclaimersmediumAnti-refusal

Omitting safety caveats hides risk from the user and is a common jailbreak preamble.

- Don't lecture — state what's wrong and how to fix it.
plugins/frontend/skills/tailwindcss/SKILL.md · 390 lines

How it starts

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

Tailwind CSS v4

Utility classes are the default. Custom CSS is the escape hatch.

Skill(frontend:css)

Skip only for trivial class additions where no CSS reasoning is needed.

Tailwind CSS uses CSS-first configuration: design tokens live in @theme, custom utilities use @utility, and there is no JavaScript configuration file. Constrain yourself to the design system; break out only with intention.

References

  • Theme — [${CLAUDE_SKILL_DIR}/references/theme-configuration.md]: Theme tokens, @theme options, namespace mapping, color system
  • Class authoring — [${CLAUDE_SKILL_DIR}/references/class-authoring.md]: Class composition, variants, dark mode, breakpoints
  • Custom utilities — [${CLAUDE_SKILL_DIR}/references/custom-utilities-and-variants.md]: @utility, @custom-variant, directives, @source
  • Layout — [${CLAUDE_SKILL_DIR}/references/layout.md]: Display, position, flexbox, grid, alignment, order utilities
  • Sizing — [${CLAUDE_SKILL_DIR}/references/sizing-and-spacing.md]: Spacing scale, width/height, padding/margin, borders, box model
  • Typography — [${CLAUDE_SKILL_DIR}/references/typography.md]: Font properties, text spacing, styling, decoration, layout
  • Backgrounds — [${CLAUDE_SKILL_DIR}/references/backgrounds-and-effects.md]: Gradients, shadows, rings, opacity, SVG, filters
  • Transforms — [${CLAUDE_SKILL_DIR}/references/transforms-and-animations.md]: Transitions, animations, 2D/3D transforms, masks
  • Framework — [${CLAUDE_SKILL_DIR}/references/framework-integration.md]: Preflight, CSS Modules, class binding (React, Vue, Svelte)

Entry Point and Installation

  • Single import: @import "tailwindcss"; — provides preflight reset, theme variables, and all utilities. No @tailwind base/components/utilities (v3 syntax)
  • Vite: install @tailwindcss/vite plugin. PostCSS: install @tailwindcss/postcss. CLI: npx @tailwindcss/cli -i input.css -o output.css
  • No tailwind.config.js in v4 — all configuration lives in CSS via @theme
  • Remove postcss-import and autoprefixer — v4 handles both internally
  • Do not use Sass, Less, or Stylus with Tailwind v4 — Tailwind is the preprocessor (handles @import, nesting, variables, vendor prefixes)

Read the full file on GitHub · 390 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. 26d ago Changed · -1 lines b2a28f7f4a62
  2. 1mo ago Changed · +2 lines 4a38320e26b4
  3. 3mo ago First seen · 389 lines · 70 tokens per session scan B 9bc62af17e74

Subscribe to this mod's changes

tailwindcss is a skill published in the GitHub repository xobotyi/cc-foundry (23 stars, last pushed yesterday), licensed MIT. It adds 70 tokens to every session and 5,165 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it B with 1 finding (strips warnings and disclaimers). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

tailwindcss compared with skills from other repositories

tailwindcss next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
tailwindcssxobotyi/cc-foundrySkill23yesterdayMITB70Claude Code
top-designwondelai/skillsSkill2.9k4d agoMITA113Claude Code, Codex
web-typographywondelai/skillsSkill2.9k4d agoMITA128Claude Code, Codex
refactoring-uiwondelai/skillsSkill2.9k4d agoMITA132Claude Code, Codex
ui-ux-designzdanovichnick/dotnet-pilotSkill53d agoMITA57Claude Code
peekaboojohnkozaris/jko-claude-pluginsSkill1129d agoMITA104Claude Code
mobile-flows-maestrojohnkozaris/jko-claude-pluginsSkill1129d agoMITA102Claude Code