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.
npx skills add Cratis/AI --skill tailwindgit clone --depth 1 https://github.com/Cratis/AIWrote 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.
[](https://agentmods.dev/skills/cratis/ai/tailwind)<a href="https://agentmods.dev/skills/cratis/ai/tailwind"><img src="https://agentmods.dev/badge/skills/cratis/ai/tailwind/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.
<a href="https://agentmods.dev/skills/cratis/ai/tailwind"><img src="https://agentmods.dev/badge/skills/cratis/ai/tailwind.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00090 | $0.01633 |
| Opus 5.5 | $0.00036 | $0.00653 |
| Sonnet 5.5 | $0.00018 | $0.00327 |
| Haiku 4.5 | $0.00009 | $0.00163 |
Grade A, and why
tailwind 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.
This is a copy
84% identical to tailwind — 8 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 119 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Tailwind Labs Tailwind CSS v4 Best Practices
Comprehensive performance optimization guide for Tailwind CSS v4 applications, maintained by Tailwind Labs. Contains 42 rules across 8 categories, prioritized by impact to guide automated refactoring and code generation.
When to Apply
Reference these guidelines when:
- Configuring Tailwind CSS v4 build tooling (Vite plugin, PostCSS, CLI)
- Writing or migrating styles using v4's CSS-first approach
- Optimizing CSS bundle size and build performance
- Implementing responsive designs with breakpoints or container queries
- Setting up theming with @theme directive and design tokens
Rule Categories by Priority
| Priority | Category | Impact | Prefix |
|---|---|---|---|
| 1 | Build Configuration | CRITICAL | build- |
| 2 | CSS Generation | CRITICAL | gen- |
| 3 | Bundle Optimization | HIGH | bundle- |
| 4 | Utility Patterns | HIGH | util- |
| 5 | Component Architecture | MEDIUM-HIGH | comp- |
| 6 | Theming & Design Tokens | MEDIUM | theme- |
| 7 | Responsive & Adaptive | MEDIUM | resp- |
| 8 | Animation & Transitions | LOW-MEDIUM | anim- |
Quick Reference
1. Build Configuration (CRITICAL)
build-vite-plugin- Use Vite Plugin Over PostCSSbuild-css-import- Use CSS Import Over @tailwind Directivesbuild-content-detection- Leverage Automatic Content Detectionbuild-node-version- Use Node.js 20+ for Optimal Performancebuild-postcss-simplify- Remove Redundant PostCSS Pluginsbuild-cli-package- Use Correct CLI Package
2. CSS Generation (CRITICAL)
gen-css-first-config- Use CSS-First Configuration Over JavaScriptgen-avoid-theme-bloat- Avoid Excessive Theme Variablesgen-oklch-colors- Use OKLCH Color Space for Vivid Colorsgen-utility-directive- Use @utility for Custom Utilitiesgen-dynamic-utilities- Use Dynamic Utility Valuesgen-css-variable-syntax- Use Parentheses for CSS Variable References
What ships with it
43 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.
- AGENTS.md 8.4 KB
- references/anim-3d-transforms.md 1.6 KB
- references/anim-gpu-accelerated.md 1.4 KB
- references/anim-gradient-interpolation.md 1.3 KB
- references/anim-starting-style.md 1.4 KB
- references/build-cli-package.md 924 B
- references/build-content-detection.md 1.2 KB
- references/build-css-import.md 993 B
- references/build-node-version.md 1.0 KB
- references/build-postcss-simplify.md 1.1 KB
- references/build-vite-plugin.md 1.0 KB
- references/bundle-avoid-cdn-production.md 1.2 KB
- references/bundle-avoid-preprocessors.md 1.1 KB
- references/bundle-css-minification.md 1.3 KB
- references/bundle-remove-unused-plugins.md 1.2 KB
- references/bundle-split-critical-css.md 1.6 KB
- references/comp-avoid-apply-overuse.md 1.5 KB
- references/comp-container-customize.md 1.1 KB
- references/comp-reference-directive.md 1.2 KB
- references/comp-smart-sorting.md 1.3 KB
- references/comp-utility-file-scope.md 1.3 KB
- references/gen-avoid-theme-bloat.md 1.2 KB
- references/gen-css-first-config.md 1.3 KB
- references/gen-css-variable-syntax.md 1.1 KB
- references/gen-dynamic-utilities.md 1.2 KB
- references/gen-oklch-colors.md 1.0 KB
- references/gen-utility-directive.md 1.2 KB
- references/resp-container-queries.md 1.4 KB
- references/resp-custom-breakpoints.md 1.2 KB
- references/resp-hover-capability.md 1.4 KB
- references/resp-logical-properties.md 1.3 KB
- references/resp-mobile-first.md 1.3 KB
- references/theme-color-scheme.md 1.4 KB
- references/theme-dark-mode-class.md 1.4 KB
- references/theme-prefix-variables.md 1.3 KB
- references/theme-runtime-variables.md 1.3 KB
- references/theme-semantic-tokens.md 1.5 KB
- references/util-explicit-colors.md 1.1 KB
- references/util-gradient-via-none.md 1.1 KB
- references/util-important-modifier.md 937 B
- references/util-opacity-modifier.md 1.1 KB
- references/util-renamed-utilities.md 1.3 KB
- references/util-variant-stacking.md 1.1 KB
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.
- 1mo ago First seen · 119 lines · 90 tokens per session scan A ba473b96fa12
tailwind is a skill published in the GitHub repository Cratis/AI (4 stars, last pushed today), licensed MIT. It adds 90 tokens to every session and 1,633 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 84% identical to tailwind, differing in 8 lines, and is treated as a copy.
Other skills, from other repositories
event-driven-architecture
Event-driven architecture patterns with event sourcing, CQRS, and message-driven communication. Use when designing distributed systems, microservices communication, or systems requiring eventual consistency and scalability.
local-ai-agents
Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
next-cache-components-adoption
Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…
chat-pet-sprite-creation
Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.
cpu-profile-analysis
Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…