tailwind-4-docs

tailwind-4-docs is a skill for Claude Code, Codex from Lombiq/Tailwind-Agent-Skills. It costs 57 tokens per session (1,029 once invoked), scanned A, original, BSD-3-Clause.

A locally stored reference and workflow guide for Tailwind CSS version 4, a system for styling web interfaces with CSS utility classes. It covers utilities, variants, configuration, implementation, reviews, and migration from version 3.

In plain words
What is it for?
Use it when selecting Tailwind utilities, configuring a project, migrating from version 3, or reviewing or implementing Tailwind code. The local documentation snapshot must be initialized first.
Why use it?
It helps answer version-specific Tailwind questions while checking migration changes and known constraints against the supplied documentation.

Skill for Claude CodeCodex

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

Good fit Use it when selecting Tailwind utilities, configuring a project, migrating from version 3, or reviewing or implementing Tailwind code. The local documentation snapshot must be initialized first.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lombiq/tailwind-agent-skills/tailwind-4-docs
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 Lombiq/Tailwind-Agent-Skills --skill tailwind-4-docs
Clone the repo
git clone --depth 1 https://github.com/Lombiq/Tailwind-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-4-docs

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/lombiq/tailwind-agent-skills/tailwind-4-docs"><img src="https://agentmods.dev/badge/skills/lombiq/tailwind-agent-skills/tailwind-4-docs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,029 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
  • Socket pass 9 Apr 2026
  • Snyk warn 9 Apr 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.00057 $0.01029
Opus 5 $0.00028 $0.00515
Sonnet 5 $0.00011 $0.00206
Haiku 4.5 $0.00006 $0.00103

Measured 9d ago against content hash 72304ac07761, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

tailwind-4-docs 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 9d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/sync_tailwind_docs.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/tailwind-4-docs/SKILL.md · 78 lines

How it starts

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

Tailwind 4 Docs

Overview

Use this skill to navigate a locally synced Tailwind CSS v4 documentation snapshot and answer development, configuration, migration, implementation, refactor, and review questions with official guidance.

The docs snapshot is not bundled with this skill because the upstream repository is source-available but not open-source. Users must initialize the snapshot themselves and are responsible for complying with the upstream license.

Quick start

  1. Check whether the docs snapshot is initialized (references/docs/ and references/docs-index.tsx exist).
  2. If the snapshot is missing or older than one week, stop and ask to run the initialization step in "Initialization" before continuing. Do not answer the user's question until the snapshot is initialized.
  3. Identify the topic (utility, variant, config, migration, compatibility, implementation, refactor, review).
  4. Find the matching doc in references/docs-index.tsx.
  5. Load only the relevant file from references/docs/.
  6. For implementation, refactor, or review tasks, also load references/engineering-playbook.md.
  7. Apply guidance and call out any breaking changes or constraints.

Initialization (required once per install)

Run the sync script to download the Tailwind docs locally. This requires network access, git, and Python 3:

python skills/tailwind-4-docs/scripts/sync_tailwind_docs.py --accept-docs-license

This pulls content from tailwindlabs/tailwindcss.com. That repo is source-available and explicitly not open-source, so the user must accept its license before downloading and keep the snapshot local.

If you cannot run tools or have no internet access, ask the user to run the exact command above in a terminal, then continue once references/docs/ and references/docs-index.tsx exist.

If the snapshot is missing or older than one week, you must ask for permission to run the command or ask the user to run it. Do not proceed with Tailwind guidance until the snapshot is initialized or refreshed.

Read the full file on GitHub · 78 lines

Files

What ships with it

4 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. 9d ago First seen · 78 lines · 57 tokens per session scan A 72304ac07761

Subscribe to this mod's changes

tailwind-4-docs is a skill published in the GitHub repository Lombiq/Tailwind-Agent-Skills (70 stars, last pushed 5mo ago), licensed BSD-3-Clause. It adds 57 tokens to every session and 1,029 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-30.

Related

Other skills, from other repositories

tailwind-advanced

Use when advanced Tailwind CSS — custom plugins, JIT, container queries, animations, dark mode, design systems. Use when working with tailwind advanced.

oyi77/1ai-skills · 37 tokens

top-design

Create award-winning, immersive web experiences at the level of Awwwards-featured agencies. Use when the user mentions "Awwwards quality", "make my site stunning", "scroll animations", "parallax storytelling", "cinematic web design", "portfolio site", or "brand experience". Also trigger when elevating a standard…

wondelai/skills · 113 tokens

web-typography

Select, pair, and implement typefaces for web projects. Use when the user mentions "font pairing", "which typeface", "line height", "responsive typography", "web font loading", "type hierarchy", "variable fonts", "FOUT/FOIT", "typographic scale", or "the text is hard to read". Also trigger when choosing between system…

wondelai/skills · 128 tokens

refactoring-ui

Audit and fix visual hierarchy, spacing, color, and depth in web UIs. Use when the user mentions "my UI looks off" (or amateur/unprofessional), "fix the design", "Tailwind styling", "color palette", "visual hierarchy", "design system", "spacing scale", or "component styling". Also trigger when building consistent…

wondelai/skills · 132 tokens

agent-canvas

Interactive element picker for web pages. Opens a browser with click-to-select UI overlay. Use when you need to let users visually select DOM elements, identify element selectors, or get detailed element information interactively. Triggers on "select an element", "pick element", "let me choose", "which element", or…

majiayu000/claude-skill-registry · 83 tokens

html-artifact

Generate rich self-contained HTML artifacts instead of markdown. Auto-detects artifact shape (spec, code-review, prototype, report, editor, data-viz, diagram, deck) and loads shape-specific patterns. Bundles Birchline design system with 4 theme presets. Use for "make HTML", "as HTML", "HTML artifact", or auto-injected…

notque/vexjoy-agent · 89 tokens