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

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing.

Good fit Use it when starting CSS files, adopting container queries or view transitions, creating scroll-driven animations, or updating legacy styles.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/paulirish/dotfiles/modern-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 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/github.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/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 modern-css

Your own site · 80×15
<a href="https://agentmods.dev/skills/paulirish/dotfiles/modern-css"><img src="https://agentmods.dev/badge/skills/paulirish/dotfiles/modern-css.svg" alt="Reviewed on agentmods" width="80" 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. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 15 Sept 2026
  • Snyk pass 15 Sept 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Prompt Injection · line 753
    Subtle instructions detected that may alter agent decision-making or introduce hidden biases.
    Fix: Review content for implicit steering or bias. Ensure instructions are explicit and align with the skill's stated purpose.
How audits are shown
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.1 $0.00061 $0.04135
Opus 5.5 $0.00024 $0.01654
Sonnet 5.5 $0.00012 $0.00827
Haiku 4.5 $0.00006 $0.00413

Measured 1mo ago against content hash 3cb58ffcc388, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 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/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. 1mo 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,361 stars, last pushed 15d ago), with no licence file. It adds 61 tokens to every session and 4,135 once invoked, about $0.0002 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

Other skills, from other repositories

impeccable

Design, critique, polish or overhaul frontend UI: sites, landing pages, dashboards, components, forms, onboarding, empty states. Covers UX review, hierarchy, accessibility, typography, color, motion, design systems. Not backend.

magnusrodseth/dotfiles · 51 tokens

wear-widget

Workflows, checklists, and guides for reverse-engineering, analyzing, and developing Wear OS tiles and widgets (ProtoLayout Tiles, Glance for Wear OS, and AppWidgets). Covers manifest declarations, container dimensions, preview specifications, hosts (SysUI carousel, standalone renderer tray, Samsung pages), API…

ithinkihaveacat/dotfiles · 99 tokens

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, handing tasks to agents, or generating…

ithinkihaveacat/dotfiles · 71 tokens

emumanager

DEPRECATED — Prefer the official Android CLI (android emulator, android sdk) and raw Android SDK tools (emulator, avdmanager, adb) instead. Legacy wrapper around sdkmanager, avdmanager, and emulator for managing Android SDKs, system images, and Android Virtual Devices (AVDs). Do not use for new workflows unless…

ithinkihaveacat/dotfiles · 80 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

adb

Manipulates Android devices via ADB with emphasis on Wear OS and device automation. Provides scripts for screenshots with circular masking, screen recording, tile management, Wear widget tray control (list, clear, .rc document export), WearableService inspection, package operations, and device configuration. Use when…

ithinkihaveacat/dotfiles · 90 tokens