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 agentmods add rules/cmnemoi/cursor-rules/3-tailwind-4.1git clone --depth 1 https://github.com/cmnemoi/cursor-rulesWhat 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 | $0.00000 | $0.00480 |
| Opus 5 | $0.00000 | $0.00240 |
| Sonnet 5 | $0.00000 | $0.00096 |
| Haiku 4.5 | $0.00000 | $0.00048 |
Grade A, and why
[email protected] 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.
What it actually says
Configuration:
- Use CSS-based configuration in
tailwind.css.
CSS Variables:
- Use CSS variables for theme values.
- ✅
var(--color-red-500) - ❌
theme(colors.red.500)
- ✅
- Use CSS variable names for media queries.
- ✅
theme(--breakpoint-xl) - ❌
theme(screens.xl)
- ✅
Custom Utilities:
- Register custom utilities with
@utility.
@utility btn {
border-radius: 0.5rem;
padding: 0.5rem 1rem;
background-color: ButtonFace;
}
Variants:
- Apply variants left-to-right.
- ✅
*:first:pt-0 - ❌
first:*:pt-0
- ✅
- Use parentheses for arbitrary CSS variables.
- ✅
bg-(--brand-color) - ❌
bg-[--brand-color]
- ✅
Responsive Design:
- Scope hover styles with
@media (hover: hover). - Avoid hover for critical functionality.
Component Frameworks (Vue/Svelte/CSS Modules):
- Import theme with
@reference.
@reference "../../app.css";
- Prefer direct CSS variables over
@apply.
/* ✅ Preferred */
h1 { color: var(--text-red-500); }
/* ❌ Avoid when possible */
h1 { @apply text-red-500; }
Removed Features:
- Avoid deprecated opacity utilities (
bg-black/50).- ✅
bg-black/50 - ❌
bg-opacity-50
- ✅
- Avoid
@tailwinddirectives (@import "tailwindcss").- ✅
@import "tailwindcss" - ❌
@tailwind base
- ✅
- Avoid JS config features (
corePlugins, etc.).
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.
- 2d ago First seen · 63 lines · 480 tokens per session scan A 30e952e9a2a3
[email protected] is a cursor rule published in the GitHub repository cmnemoi/cursor-rules (2 stars, last pushed 1y ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 480 tokens. 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.
Other cursor rules, from other repositories
css-styling
CSS architecture, tokens, and styling rules for this Docusaurus site. Apply when creating or modifying components, styles, layouts, or any UI-facing code.
frontend-web
Cursor rule "frontend-web" from groupultra/telegram-search, covering frontend (apps/web), routing, layouts & navigation, state & data fetching, ui, styling & ux and error handling & notifications.
codex-premium-website-skills
Apply Codex Skills standards to frontend, website, motion, accessibility, QA, agent reasoning, and handoff work.
ui-components
USE WHEN: Building UI components, structuring layouts, and applying styles using Tailwind CSS.
frontend-architecture
Vite + React SPA architecture - directory layout, providers, bundle splitting. Tailwind styling in tailwind.mdc.
css-render-blocking-diagnosis
Cursor rule "css-render-blocking-diagnosis" from adobecom/da-express-milo, covering css render-blocking diagnosis & resolution, critical learning from 98 pagespeed achievement, primary diagnostic protocol, step 1: css blocking symptom recognition and step 2: css loading sequence audit.