css

A guide to CSS, the language that controls the appearance, layout, and animations of web pages.

In plain words
What is it for?
Use it to write CSS selectors and properties, set colors and spacing, position elements, and build layouts with Flexbox or Grid.
Why use it?
It helps turn plain page content into a readable visual design and provides patterns for arranging elements.

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/dhaupin/vant/vant-skill-css
Any agent
npx skills add dhaupin/vant --skill vant-skill-css
Clone the repo
git clone --depth 1 https://github.com/dhaupin/vant

Made for: Claude Code, Codex.

Per session 6 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 231 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00006 $0.00231
Opus 5 $0.00003 $0.00115
Sonnet 5 $0.00001 $0.00046
Haiku 4.5 $0.00001 $0.00023

Measured 2d ago against content hash eeacc99f85c4, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 2d 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.

models/public/skills/vant-skill-css/SKILL.md · 73 lines

What it actually says

CSS

Styling language.


When To Use

  • Styling web pages
  • Layouts
  • Animations

What To Do

1. Syntax

selector {
  property: value;
  property: value;
}

/* Comment */

2. Properties

Property What
color Text color
background Background
margin/padding Spacing
display Layout
position Placement

3. Selectors

.element       /* element */
.class         /* class */
#id            /* id */
parent child   /* descendant */
parent > child /* child */

4. Flexbox/Grid

.container {
  display: flex;
  justify-content: center;
  align-items: center;
}

Role: CSS Developer
Input: Styles
Output: Visuals

Style.

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. 2d ago First seen · 73 lines · 6 tokens per session scan A eeacc99f85c4

Subscribe to this mod's changes

css is a skill published in the GitHub repository dhaupin/vant (9 stars, last pushed 3d ago), licensed MIT. It adds 6 tokens to every session and 231 once invoked, about $0.0000 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

frontend-design

Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications. Generates creative, polished code that avoids generic AI aesthetics.

celanthe/clarion · 47 tokens

audit

Perform comprehensive audit of interface quality across accessibility, performance, theming, and responsive design. Generates detailed report of issues with severity ratings and recommendations.

celanthe/clarion · 31 tokens

theme-system

CSS custom properties theme architecture for 4 themes (studio, earth, athlete, gradient) with data-theme attribute switching and theme-aware components. Use when implementing theme switching, defining color schemes, or creating theme-responsive UI elements.

BlackBeltTechnology/pi-agent-dashboard · 48 tokens

anti-slop-frontend

A mechanical, countable anti-slop checklist for AI-generated frontend. Catches the specific signatures an undirected model defaults to: AI-purple glows, Inter-everywhere, em-dashes, div-based fake screenshots, eyebrow-on-every-section, beige+brass "premium" palettes, generic Jane Doe / Acme data. Advisory layer that…

BlackBeltTechnology/pi-agent-dashboard · 147 tokens

frontend-mockup-loop-dashboard

Dashboard-specific adapter on the generic frontend-mockup-loop skill: binds the 7-step design loop to pi-agent-dashboard component sources, theme-system tokens, and isolated verification. Use when designing/redesigning any pi-agent-dashboard client surface. Triggers: "design a dashboard screen", "mockup a dashboard…

BlackBeltTechnology/pi-agent-dashboard · 83 tokens

commit

Atomic git commit with conventional message. Use when the user says "commit", "save my changes", "commit this", or wants to create a git commit. Stages specific files, writes a conventional commit message with body explaining non-obvious decisions. Never uses git add -A.

congchuanling-dot/Cohort · 59 tokens