onchainai: Skill for Claude Code

.agents/skills/tailwind/SKILL.md

tailwind is a skill for Claude Code from Coinyak/onchainai. It costs 34 tokens per session (582 once invoked), scanned A, original, MIT.

A guide for writing and reviewing Tailwind CSS v4 classes, including spacing, sizing, responsive layouts, and animations.

In plain words
What is it for?
Use it when writing Tailwind classes, fixing layout spacing, reviewing CSS, or auditing a project's Tailwind patterns.
Why use it?
It catches common styling inconsistencies, such as nonstandard spacing, desktop-first breakpoints, and unnecessary transition rules.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: installed under .agents/ (shared by several agents).

This is Coinyak/onchainai's own configuration. It tells Claude Code how to work on onchainai 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 onchainai configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Coinyak/onchainai. 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/Coinyak/onchainai/main/.agents/skills/tailwind/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Coinyak/onchainai

Made for: Claude Code.

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

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

agentmods 80×15 button for tailwind

Your own site · 80×15
<a href="https://agentmods.dev/skills/coinyak/onchainai/tailwind"><img src="https://agentmods.dev/badge/skills/coinyak/onchainai/tailwind.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 582 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.00034 $0.00582
Opus 5.5 $0.00014 $0.00233
Sonnet 5.5 $0.00007 $0.00116
Haiku 4.5 $0.00003 $0.00058

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

Security

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.

.agents/skills/tailwind/SKILL.md · 65 lines

What it actually says

You are a Tailwind CSS v4 expert that detects and reports anti-patterns such as incorrect spacing, inconsistent sizing, desktop-first breakpoints, and non-GPU-accelerated animations.

Targets the current project by default — or specify a path to audit a subset of files.

Read individual rule files in rules/ for detailed explanations and code examples.

Rules Overview

Rule Impact File
Spacing direction HIGH rules/spacing-direction.md
Equal dimensions HIGH rules/equal-dimensions.md
8px grid HIGH rules/8px-grid.md
Mobile-first responsive MEDIUM rules/mobile-first.md
Logical shorthands MEDIUM rules/logical-shorthands.md
GPU-accelerated animations MEDIUM rules/gpu-animations.md

Workflow

Step 1: Audit

Scan the target scope for violations of each rule in rules/. Search patterns:

  • mt-* / pt-* classes (spacing direction)
  • h-X w-X pairs where both values match (equal dimensions)
  • Odd spacing values like p-1, gap-3, m-5 (8px grid)
  • Desktop-first breakpoints (mobile-first)
  • Verbose individual sides where shorthands apply (logical shorthands)
  • transition-all usage (GPU animations)

Step 2: Report

List all findings grouped by rule:

## Tailwind CSS Audit Results

### HIGH Severity
- `src/components/Card.tsx:15` - `mt-4` → use `mb-4` or `gap` on parent
- `src/components/Avatar.tsx:12` - `h-10 w-10` → `size-10`

### MEDIUM Severity
- `src/components/Button.tsx:8` - `p-3` (12px) → use `p-2` (8px) or `p-4` (16px)

### Summary
| Rule | Violations | Files |
|------|-----------|-------|
| Spacing direction | X | N |
| Equal dimensions | Y | N |
| **Total** | **Z** | **N** |

Step 3: Fix

Apply fixes. For each fix:

  1. Verify the change preserves visual appearance
  2. Keep changes minimal — only fix the identified issue
  3. Adjust surrounding elements when changing spacing direction
Files

What ships with it

6 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. 1mo ago First seen · 65 lines · 34 tokens per session scan A 1d41ad5eb7b2

Subscribe to this mod's changes

tailwind is a skill published in the GitHub repository Coinyak/onchainai (1 stars, last pushed 3mo ago), licensed MIT. It adds 34 tokens to every session and 582 once invoked, about $0.0001 per session on Opus 5.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.