SRA: Skill for Claude Code

.agents/skills/tailwind-v4/SKILL.md

tailwind-v4 is a skill for Claude Code, Codex from Aniket-a14/SRA. It costs 70 tokens per session (1,639 once invoked), scanned A, a copy of tailwind-v4, Apache-2.0.

Guidance for Tailwind CSS version 4, a styling system that uses utility classes and CSS variables to define reusable design values.

In plain words
What is it for?
It helps configure Tailwind with Vite, define theme tokens and OKLCH colors, use CSS variables, and set up dark-mode styles.
Why use it?
It explains the version's CSS-first setup and helps avoid applying older configuration patterns to newer projects.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is Aniket-a14/SRA's own configuration. It tells Claude Code and Codex how to work on SRA itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything SRA configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Aniket-a14/SRA. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Aniket-a14/SRA/main/.agents/skills/tailwind-v4/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Aniket-a14/SRA

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-v4

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/aniket-a14/sra/tailwind-v4"><img src="https://agentmods.dev/badge/skills/aniket-a14/sra/tailwind-v4.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 1,639 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 86% copy Near-identical to another mod 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.01639
Opus 5.5 $0.00028 $0.00656
Sonnet 5.5 $0.00014 $0.00328
Haiku 4.5 $0.00007 $0.00164

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

Security

Grade A, and why

tailwind-v4 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 3mo 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

This is a copy

86% identical to tailwind-v4 — 233 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.

.agents/skills/tailwind-v4/SKILL.md · 226 lines

How it starts

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

Tailwind CSS v4 Best Practices

Quick Reference

Vite Plugin Setup:

// vite.config.ts
import tailwindcss from '@tailwindcss/vite';
import { defineConfig } from 'vite';

export default defineConfig({
  plugins: [tailwindcss()],
});

CSS Entry Point:

/* src/index.css */
@import 'tailwindcss';

@theme Inline Directive:

@theme inline {
  --color-primary: oklch(60% 0.24 262);
  --color-surface: oklch(98% 0.002 247);
}

Key Differences from v3

Feature v3 v4
Configuration tailwind.config.js @theme in CSS
Build Tool PostCSS plugin @tailwindcss/vite
Colors rgb() / hsl() oklch() (default)
Theme Extension extend: {} in JS CSS variables
Dark Mode darkMode config option CSS variants

@theme Directive Modes

default (standard mode)

Generates CSS variables that can be referenced elsewhere:

@theme {
  --color-brand: oklch(60% 0.24 262);
}

/* Generates: :root { --color-brand: oklch(...); } */
/* Usage: text-brand → color: var(--color-brand) */

Note: You can also use @theme default explicitly to mark theme values that can be overridden by non-default @theme declarations.

inline

Inlines values directly without CSS variables (better performance):

@theme inline {
  --color-brand: oklch(60% 0.24 262);
}

/* Usage: text-brand → color: oklch(60% 0.24 262) */

reference

Inlines values as fallbacks without emitting CSS variables:

@theme reference {
  --color-internal: oklch(50% 0.1 180);
}

/* No :root variable, but utilities use fallback */
/* Usage: bg-internal → background-color: var(--color-internal, oklch(50% 0.1 180)) */

OKLCH Color Format

OKLCH provides perceptually uniform colors with better consistency across hues:

oklch(L% C H)
  • L (Lightness): 0% (black) to 100% (white)
  • C (Chroma): 0 (gray) to ~0.4 (vibrant)
  • H (Hue): 0-360 degrees (red → yellow → green → blue → magenta)

Read the full file on GitHub · 226 lines

Files

What ships with it

3 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. 3mo ago First seen · 226 lines · 70 tokens per session scan A f065b0f66cfc

Subscribe to this mod's changes

tailwind-v4 is a skill published in the GitHub repository Aniket-a14/SRA (25 stars, last pushed yesterday), licensed Apache-2.0. It adds 70 tokens to every session and 1,639 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 86% identical to tailwind-v4, differing in 233 lines, and is treated as a copy.

Related

tailwind-v4 compared with skills from other repositories

tailwind-v4 next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
tailwind-v4Aniket-a14/SRASkill25yesterdayApache-2.0A70Claude Code, Codex
trigger-realtime-and-frontendtriggerdotdev/trigger.devSkill17kyesterdayApache-2.0A148Claude Code, Codex
sanity-live-cache-componentssanity-io/next-sanitySkill955yesterdayMITA155Claude Code, Codex
angular-http-clientHoangNguyen0403/agent-skills-standardSkill5972d agoMITA35Claude Code, Codex
system-design-methodologyHoangNguyen0403/agent-skills-standardSkill5972d agoMITA56Claude Code, Codex
system-design-reviewHoangNguyen0403/agent-skills-standardSkill5972d agoMITA55Claude Code, Codex
system-design-data-architectureHoangNguyen0403/agent-skills-standardSkill5972d agoMITA60Claude Code, Codex