UnoCSS

UnoCSS is a skill for Claude Code from laurigates/claude-plugins. It costs 41 tokens per session (2,375 once invoked), scanned A, original, MIT.

A guide for configuring UnoCSS, a tool that generates CSS styles from utility class names as they are used. It covers presets, custom rules, icons, typography, and integration with build tools such as Vite.

In plain words
What is it for?
Use it to set up utility-first CSS, configure UnoCSS presets and rules, and connect it to Vite, Nuxt, Astro, Svelte, or other supported build setups.
Why use it?
It removes the need to write or ship unused utility styles and provides setup guidance for projects using on-demand CSS generation.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the TodoWrite tool.

Part of the css-plugin plugin — 2 skills shipped together

Good fit Use it to set up utility-first CSS, configure UnoCSS presets and rules, and connect it to Vite, Nuxt, Astro, Svelte, or other supported build setups.

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

Made for: Claude Code.

Or install css-plugin, the plugin that ships this one along with the rest of its 2 skills.

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 UnoCSS

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/laurigates/claude-plugins/unocss"><img src="https://agentmods.dev/badge/skills/laurigates/claude-plugins/unocss.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,375 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
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

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 →

  • high Prompt Injection · line 355
    This pattern attempts to override system instructions or ignore safety constraints. Without LLM analysis, manual review is recommended.
    Fix: Remove or rewrite any text that instructs the agent to ignore prompts, override safety rules, or trust unverified content. Ensure skill content cannot be injected to alter agent behavior.
How audits are shown
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.00041 $0.02375
Opus 5 $0.00020 $0.01188
Sonnet 5 $0.00008 $0.00475
Haiku 4.5 $0.00004 $0.00237

Measured 2d ago against content hash 7a4f7f7a5ae2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

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

css-plugin/skills/unocss/SKILL.md · 364 lines

How it starts

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

UnoCSS

UnoCSS is an instant on-demand atomic CSS engine. It generates only the CSS for utility classes you actually use — no parsing, no AST, no scanning. 5x faster than Tailwind CSS JIT with ~6kb min+brotli and zero dependencies.

When to Use This Skill

Use this skill when... Use something else when...
Setting up utility-first CSS Transpiling/minifying CSS (use Lightning CSS)
Configuring UnoCSS presets and rules Linting CSS rules (use Stylelint)
Integrating with Vite/Nuxt/Astro Need Tailwind-specific plugins ecosystem
Generating atomic CSS from class names Writing traditional CSS architectures (BEM, etc.)
Using pure CSS icons via presets Need CSS-in-JS runtime (use styled-components, etc.)
Replacing Tailwind CSS with faster alternative

Core Expertise

  • Instant generation: No parsing or AST — direct regex-based class extraction
  • Preset-driven: All utilities come from presets, fully customizable
  • Framework-agnostic: Vite, Webpack, PostCSS, Nuxt, Astro, Svelte, CLI
  • Extensible: Custom rules, variants, shortcuts, extractors, transformers
  • Inspector: Built-in dev tool for debugging generated utilities

Installation

# Vite project (most common)
npm add -D unocss

# Bun
bun add -d unocss

# Standalone CLI
npm add -D @unocss/cli

Vite Integration

Basic Setup

// vite.config.ts
import UnoCSS from 'unocss/vite'
import { defineConfig } from 'vite'

export default defineConfig({
  plugins: [UnoCSS()]
})
// main.ts - import the virtual stylesheet
import 'virtual:uno.css'

Configuration File

// uno.config.ts
import { defineConfig, presetWind3 } from 'unocss'

export default defineConfig({
  presets: [presetWind3()]
})

With Lightning CSS (Recommended Combo)

// vite.config.ts
import UnoCSS from 'unocss/vite'
import browserslist from 'browserslist'
import { browserslistToTargets } from 'lightningcss'

export default defineConfig({
  plugins: [UnoCSS()],
  css: {
    transformer: 'lightningcss',
    lightningcss: {
      targets: browserslistToTargets(browserslist('>= 0.25%'))
    }
  },
  build: {
    cssMinify: 'lightningcss'
  }
})

Read the full file on GitHub · 364 lines

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 · 364 lines · 41 tokens per session scan A 7a4f7f7a5ae2

Subscribe to this mod's changes

UnoCSS is a skill published in the GitHub repository laurigates/claude-plugins (58 stars, last pushed yesterday), licensed MIT. It adds 41 tokens to every session and 2,375 once invoked, about $0.0002 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-09-06.

Related

Other skills, from other repositories

use

Reach Anthropic's first-party playground capability in one step: verify the upstream playground plugin is installed, invoke its skill for interactive single-file HTML explorers (controls beside a live preview, output is a prompt you paste back), or emit the exact install commands when it is absent. Use when: 'make me…

melodic-software/claude-code-plugins · 183 tokens

postcss-plugins

Use when postCSS plugin ecosystem — Autoprefixer, cssnano, nesting, custom plugins, preset configuration. Use when working with postcss plugins.

oyi77/1ai-skills · 36 tokens

motion

Use when reviewing motion quality, adding animation, transitions, hover effects, making the UI feel more alive, or when animations stutter and transitions jank. Covers three modes -- audit motion code against Disney's 12 principles (file:line findings), add purposeful animations and micro-interactions to a feature, or…

Sagargupta16/claude-skills · 81 tokens

inspecting-hermes-desktop-dom

When you are developing apps/desktop and the user is running that same app (hgui / npm run dev), you can read the live rendered DOM of the window they are looking at — computed styles, geometry, which CSS rule actually won, console output — instead of inferring it from .tsx and being wrong.

AtlasOmnia/hermes-custom-pack · 28 tokens

ux-interaction-patterns

UX laws as code — micro-interactions, animation choreography, skeleton UIs, optimistic UI, and performance UX patterns for world-class user experience.

systempromptio/systemprompt-marketplace · 34 tokens

modern-css-patterns

Production-ready modern CSS features — container queries, :has(), subgrid, scroll-driven animations, View Transitions, anchor positioning, and cascade layers.

systempromptio/systemprompt-marketplace · 34 tokens