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.
npx skills add laurigates/claude-plugins --skill lightning-cssgit clone --depth 1 https://github.com/laurigates/claude-pluginsWrote 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.
[](https://agentmods.dev/skills/laurigates/claude-plugins/lightning-css)<a href="https://agentmods.dev/skills/laurigates/claude-plugins/lightning-css"><img src="https://agentmods.dev/badge/skills/laurigates/claude-plugins/lightning-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.
<a href="https://agentmods.dev/skills/laurigates/claude-plugins/lightning-css"><img src="https://agentmods.dev/badge/skills/laurigates/claude-plugins/lightning-css.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00040 | $0.01867 |
| Opus 5.5 | $0.00016 | $0.00747 |
| Sonnet 5.5 | $0.00008 | $0.00373 |
| Haiku 4.5 | $0.00004 | $0.00187 |
Grade A, and why
Lightning 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 2mo 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.
How it starts
The opening of the file, as written. The whole thing — 244 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Lightning CSS
Lightning CSS is an extremely fast CSS parser, transformer, bundler, and minifier written in Rust. It replaces PostCSS + autoprefixer + postcss-preset-env in a single tool.
When to Use This Skill
| Use this skill when... | Use something else when... |
|---|---|
| Configuring CSS processing in Vite | Generating utility classes (use UnoCSS) |
| Replacing PostCSS/autoprefixer pipeline | Linting CSS rules (use Stylelint) |
| Setting up browser target transpilation | Writing CSS-in-JS (use framework tooling) |
| Enabling CSS modules | Formatting CSS code (use Biome/Prettier) |
| Minifying CSS for production | Need PostCSS plugins with no Lightning CSS equivalent |
Bundling CSS @import chains |
Core Expertise
- Rust-native: 100x+ faster than PostCSS for transforms
- All-in-one: Replaces autoprefixer, postcss-preset-env, postcss-import, cssnano
- Syntax lowering: Modern CSS to browser-compatible CSS based on targets
- Vendor prefixing: Automatic addition and removal based on targets
- CSS modules: Built-in scoped class names
- Minification: Smaller output than esbuild's CSS minifier
- Bundling: Inlines
@importrules with dependency resolution
Installation
# As Vite dependency (most common)
npm add -D lightningcss browserslist
# Standalone CLI
npm add -g lightningcss-cli
# Bun
bun add -d lightningcss browserslist
Vite Integration
Basic Setup
// vite.config.ts
import { defineConfig } from 'vite'
import browserslist from 'browserslist'
import { browserslistToTargets } from 'lightningcss'
export default defineConfig({
css: {
transformer: 'lightningcss',
lightningcss: {
targets: browserslistToTargets(browserslist('>= 0.25%'))
}
},
build: {
cssMinify: 'lightningcss'
}
})
With UnoCSS (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'
}
})
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.
- 2mo ago First seen · 244 lines · 40 tokens per session scan A 1c1d5701d6fe
Lightning CSS is a skill published in the GitHub repository laurigates/claude-plugins (60 stars, last pushed today), licensed MIT. It adds 40 tokens to every session and 1,867 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-09-06.
Lightning CSS compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| Lightning CSSlaurigates/claude-plugins | Skill | 60 | today | MIT | A | 40 | Claude Code |
| usemelodic-software/claude-code-plugins | Skill | 33 | today | MIT | A | 183 | Claude Code |
| postcss-pluginsoyi77/1ai-skills | Skill | 19 | yesterday | MIT | A | 28 | Claude Code |
| ui-reviewkrzysztofsurdy/code-virtuoso | Skill | 26 | 1mo ago | MIT | A | 68 | Claude Code |
| mk:frontend-designngocsangyem/MeowKit | Skill | 17 | yesterday | MIT | A | 21 | Claude Code |
| mk:ui-design-systemngocsangyem/MeowKit | Skill | 17 | yesterday | MIT | A | 22 | Claude Code |
| motionSagargupta16/claude-skills | Skill | 5 | today | MIT | A | 81 | Claude Code |