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/julianoczkowski/create-trimble-app/modus-angular-color-usage-shortgit clone --depth 1 https://github.com/julianoczkowski/create-trimble-appWrote 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/rules/julianoczkowski/create-trimble-app/modus-angular-color-usage-short)<a href="https://agentmods.dev/rules/julianoczkowski/create-trimble-app/modus-angular-color-usage-short"><img src="https://agentmods.dev/badge/rules/julianoczkowski/create-trimble-app/modus-angular-color-usage-short.svg" alt="Measured on agentmods" height="20"></a>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 | $0.00473 | $0.00473 |
| Opus 5 | $0.00236 | $0.00236 |
| Sonnet 5 | $0.00095 | $0.00095 |
| Haiku 4.5 | $0.00047 | $0.00047 |
Grade C, and why
modus-angular-color-usage-short scanned grade C with 1 finding 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 5d 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.
Hidden instructionshighPrompt injection
Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.
<!-- CORRECT: Design system colors --> What it actually says
Modus Color Usage - Short
Essential color usage rules for Modus Design System integration.
Key Rules
- Use design system colors only -
bg-background,text-foreground,bg-primary, etc. - Never use generic Tailwind colors - No
bg-blue-500,text-gray-600, etc. - Never use hardcoded values - No hex colors, RGB values, or CSS variables directly
- Use semantic color names -
bg-destructive,text-warning,bg-success - Follow color hierarchy - Background > Card > Primary > Secondary > Muted
- Test in all themes - Ensure colors work in light and dark modes
9 Core Colors
- background -
bg-background(page background) - foreground -
text-foreground(primary text) - card -
bg-card(card backgrounds) - muted -
bg-muted(subtle backgrounds) - secondary -
bg-secondary(secondary UI) - primary -
bg-primary(primary actions) - success -
bg-success(success states) - warning -
bg-warning(warning states) - destructive -
bg-destructive(error states)
Correct Patterns
<!-- CORRECT: Design system colors -->
<div class="bg-background text-foreground"></div>
<div class="bg-card text-card-foreground border-default"></div>
<div class="bg-primary text-primary-foreground"></div>
Forbidden Patterns
<!-- WRONG: Generic Tailwind colors -->
<div class="bg-blue-500 text-white"></div>
<!-- WRONG: Hardcoded colors -->
<div [style.background-color]="'#ffffff'"></div>
<!-- WRONG: Raw Modus variables -->
<div class="bg-[var(--modus-wc-color-base-page)]"></div>
Reference
For detailed color system guide and patterns, fetch the full rule: modus-angular-color-usage
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.
- 5d ago First seen · 57 lines · 473 tokens per session scan C 63ef58abc40d
modus-angular-color-usage-short is a cursor rule published in the GitHub repository julianoczkowski/create-trimble-app (3 stars, last pushed 2mo ago), licensed MIT. It adds 473 tokens to every session, about $0.0024 per session on Opus 5. A static security scan graded it C with 1 finding (hidden instructions). 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.
ui-components
USE WHEN: Building UI components, structuring layouts, and applying styles using Tailwind CSS.
performance
Frontend performance optimization rules. Apply when optimizing UI or bundle.
frontend-architecture
Vite + React SPA architecture - directory layout, providers, bundle splitting. Tailwind styling in tailwind.mdc.
accessibility
Rules for ensuring accessibility in Astro components, including semantic HTML and ARIA attributes.
tailwind-css-styling-rules
在Next.js 14组件中使用Tailwind CSS进行样式设计的规则。.