css

css is a skill for Claude Code, Codex from ndisisnd/cook. It costs 80 tokens per session (1,679 once invoked), scanned A, original, MIT.

A set of practical rules for writing and reviewing CSS, the language that controls how web pages look.

In plain words
What is it for?
Creating or reviewing styles with low selector specificity, scoped rules, design tokens, and basic support for user needs.
Why use it?
It helps prevent hard-to-override styles, accidental changes to other components, and avoidable accessibility or security problems.

Skill for Claude CodeCodex

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

Good fit Creating or reviewing styles with low selector specificity, scoped rules, design tokens, and basic support for user needs.

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

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 css

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/ndisisnd/cook/css"><img src="https://agentmods.dev/badge/skills/ndisisnd/cook/css.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 80 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,679 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.00080 $0.01679
Opus 5.5 $0.00032 $0.00672
Sonnet 5.5 $0.00016 $0.00336
Haiku 4.5 $0.00008 $0.00168

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

Security

Grade A, and why

css 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.

standards/css/SKILL.md · 96 lines

How it starts

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

CSS

Target: Baseline Widely Available browsers; Tailwind CSS v4 for Tailwind projects.

Optimise for consistency, low specificity, and not breaking the user. This file is the whole standard for most work; pull a ref only for depth.

The biggest lever is matching what the codebase already does. Propose a methodology or tooling migration (BEM ↔ utilities, adding Tailwind, swapping Sass) as its own task, never inside a feature change.

Principles

  1. Keep specificity low and flat. Style with a single class, keep selectors shallow, and avoid IDs and !important. When cascade order matters, use @layer, not more selectors. → refs/architecture.md
  2. Scope by default. Use CSS Modules, BEM/utilities, or @scope; keep bare element selectors to resets and base. → refs/architecture.md
  3. Tokenize; don't hardcode. One source of truth for colour, spacing, and type. Use custom properties for anything themeable; derive values from a scale, not magic numbers. → refs/theming.md
  4. Lay out with Flexbox and Grid, not floats, absolute positioning, or fixed heights. Prefer gap, intrinsic sizing, and container queries over media queries. → refs/layout.md
  5. Use the platform; don't over-tool. Nesting, custom properties, clamp(), and color-mix() replace most preprocessor use. Add Sass/PostCSS/Tailwind only for real team leverage. Use newer-than-Baseline features only as progressive enhancement; browserslist: baseline widely available. → refs/tooling.md, refs/tailwind.md
  6. Prefer deleting and composing over overriding. Every override is future debt. If a rule defeats another rule, fix the first one.

Modern features — Baseline status (web-features, Oct 2026)

  • Widely Available — use freely: :has(), native nesting, subgrid, container size queries, @layer.
  • Newly Available and Limited features (popover, view transitions, anchor positioning, scroll-driven animations): use with a fallback, gate with @supports → refs/layout.md

Read the full file on GitHub · 96 lines

Files

What ships with it

9 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 Changed b65fa1cbdf97
  2. 3mo ago First seen · 96 lines · 80 tokens per session scan A c1bc850c53fd

Subscribe to this mod's changes

css is a skill published in the GitHub repository ndisisnd/cook (2 stars, last pushed 1mo ago), licensed MIT. It adds 80 tokens to every session and 1,679 once invoked, about $0.0003 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.

Related

css compared with skills from other repositories

css next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cssndisisnd/cookSkill21mo agoMITA80Claude Code, Codex
huashu-designalchaincyf/huashu-designSkill31k8d agoMITA140Claude Code, Codex
moai-design-toolsmodu-ai/moai-adkSkill1.3ktodayApache-2.0A45Claude Code
interface-craftcbrock84/headcountSkill2.6ktodayMITA79Claude Code
interface-redesigncbrock84/headcountSkill2.6ktodayMITA77Claude Code
frontend-designxstongxue/best-skillsSkill3.2k9d agoApache-2.0A103Claude Code, Codex
moai-ref-ui-polishmodu-ai/moai-adkSkill1.3ktodayApache-2.0A98Claude Code