modern-css

modern-css is a skill for Claude Code, Codex from paulirish/dotfiles. It costs 61 tokens per session (4,135 once invoked), scanned A, original, no licence file.

Guidance for writing and updating modern CSS, the language that controls a web page's visual layout and appearance. It covers newer CSS features and refactoring older styles.

In plain words
What is it for?
Use it when starting CSS files, adopting container queries or view transitions, creating scroll-driven animations, or updating legacy styles.
Why use it?
It helps replace outdated or unnecessarily complex styling with current browser-supported approaches.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/paulirish/dotfiles/modern-css
Any agent
npx skills add paulirish/dotfiles --skill modern-css
Clone the repo
git clone --depth 1 https://github.com/paulirish/dotfiles

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/paulirish/dotfiles/modern-css.svg)](https://agentmods.dev/skills/paulirish/dotfiles/modern-css)
Your own site
<a href="https://agentmods.dev/skills/paulirish/dotfiles/modern-css"><img src="https://agentmods.dev/badge/skills/paulirish/dotfiles/modern-css.svg" alt="Measured on agentmods" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,135 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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 $0.00061 $0.04135
Opus 5 $0.00030 $0.02067
Sonnet 5 $0.00012 $0.00827
Haiku 4.5 $0.00006 $0.00413

Measured 3d ago against content hash 3cb58ffcc388, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

modern-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 3d 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/modern-css/SKILL.md · 757 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Files

What ships with it

1 file 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. 3d ago First seen · 757 lines · 61 tokens per session scan A 3cb58ffcc388

Subscribe to this mod's changes

modern-css is a skill published in the GitHub repository paulirish/dotfiles (4,358 stars, last pushed 4d ago), with no licence file. It adds 61 tokens to every session and 4,135 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-31.

Related

Other skills, from other repositories

taskgo

Maintains a private Git-backed personal project and task control repository using concise current Markdown, derived Git history, ADRs, and status synchronization. Use when tracking tasks, updating project status (STATUS.md), managing ADRs, synchronizing tracker state, or delegating tasks to external agents across…

ithinkihaveacat/dotfiles · 62 tokens

wear-widget

Workflows, checklists, and scripts for reverse-engineering, analyzing, and extracting Wear OS and Android widgets (Glance, AppWidget, ProtoLayout Tiles). Covers manifest declarations, XML configurations, preview asset extraction, and AVD rendering. Use when analyzing APK widget features, extracting widget…

ithinkihaveacat/dotfiles · 81 tokens

jetpack

Looks up AndroidX and Jetpack library facts that change between releases: current artifact versions (ALPHA, BETA, RC, STABLE, SNAPSHOT, build IDs), Maven coordinates for classes/packages, direct dependencies, and published source code. Use when looking up AndroidX/Jetpack library versions, finding Maven coordinates…

ithinkihaveacat/dotfiles · 98 tokens

emumanager

Manages Android SDKs, system images, emulators, and Android Virtual Devices (AVDs). Provides workflows for bootstrapping the SDK, downloading images, and creating, starting, or stopping AVDs across mobile, Wear OS, TV, and Automotive form factors. Use when setting up Android SDK tools, launching or debugging…

ithinkihaveacat/dotfiles · 84 tokens

agent-review

Conducts independent, read-only code reviews of branches, diffs, commits, working trees, or pull requests using external CLI agents (Codex, Claude, agy) or a synthesized review workflow. Focuses strictly on actionable defects and evidence-based findings. Use when reviewing code changes, requesting a second opinion on…

ithinkihaveacat/dotfiles · 91 tokens

design-tokens

Generate WCAG-checked type, color, spacing, and dark-mode tokens, or consolidate Tailwind v4 tokens with identical rendering. Triggers "design tokens", "type scale", "color palette", "theme setup", "reduce tokens", "dedupe tokens", "consolidate tokens".

darkroomengineering/cc-settings · 64 tokens