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-opacity-utilitiesgit 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-opacity-utilities)<a href="https://agentmods.dev/rules/julianoczkowski/create-trimble-app/modus-angular-opacity-utilities"><img src="https://agentmods.dev/badge/rules/julianoczkowski/create-trimble-app/modus-angular-opacity-utilities.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.00000 | $0.01404 |
| Opus 5 | $0.00000 | $0.00702 |
| Sonnet 5 | $0.00000 | $0.00281 |
| Haiku 4.5 | $0.00000 | $0.00140 |
Grade C, and why
modus-angular-opacity-utilities 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 4d 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: New (works with design system) --> How it starts
The opening of the file, as written. The whole thing — 161 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Modus Opacity Utilities - Angular
Essential opacity utilities for Modus Design System colors in Angular + Vite.
Key Rules
- Use custom opacity utilities, not Tailwind /80 syntax -
text-foreground-80nottext-foreground/80 - CSS variables don't work with Tailwind opacity modifiers - Tailwind needs actual color values
- Use color-mix() for opacity variants - Modern CSS function for proper opacity calculation
- All utilities defined in styles.css - No Tailwind config changes needed
- Respects theme switching - Works in all 6 Modus themes
- Use semantic color names -
foreground,primary,destructive, etc.
Available Opacity Levels
- 80% -
text-foreground-80,bg-primary-80,border-destructive-80 - 60% -
text-foreground-60,bg-primary-60,border-destructive-60 - 40% -
text-foreground-40,bg-primary-40,border-destructive-40 - 20% -
text-foreground-20,bg-primary-20,border-destructive-20
Available Colors
- foreground -
text-foreground-80,bg-foreground-80,border-foreground-80 - muted-foreground -
text-muted-foreground-80,bg-muted-foreground-80 - primary -
text-primary-80,bg-primary-80,border-primary-80 - secondary -
text-secondary-80,bg-secondary-80 - destructive -
text-destructive-80,bg-destructive-80,border-destructive-80 - warning -
text-warning-80,bg-warning-80,border-warning-80 - success -
text-success-80,bg-success-80,border-success-80
Usage Examples
Text Opacity
<!-- WRONG: Tailwind syntax doesn't work with CSS variables -->
<div class="text-foreground/80">Text with 80% opacity</div>
<!-- CORRECT: Use custom opacity utilities -->
<div class="text-foreground-80">Text with 80% opacity</div>
<div class="text-primary-60">Primary text with 60% opacity</div>
<div class="text-muted-foreground-40">Muted text with 40% opacity</div>
Background Opacity
<!-- CORRECT: Background opacity utilities -->
<div class="bg-primary-80">Primary background with 80% opacity</div>
<div class="bg-destructive-60">Destructive background with 60% opacity</div>
<div class="bg-warning-40">Warning background with 40% opacity</div>
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.
- 4d ago First seen · 161 lines · 0 tokens per session scan C 9a355991da81
modus-angular-opacity-utilities is a cursor rule published in the GitHub repository julianoczkowski/create-trimble-app (3 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,404 tokens. 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
prototype-previewer
Build interactive prototype reviewers with synced review notes and Figma capture pages.
angular-20
This rule provides comprehensive best practices and coding standards for Angular development, focusing on modern TypeScript, standalone components, signals, and performance optimizations.
dev-standard
Apache Superset development standards and guidelines for Cursor IDE.
cli-error-handling
CLI command error handling patterns.
prefer-direct-imports-over-module-mocks
Prefer extracting a testable core over vi.mock / vi.resetModules when unit tests need to reach production logic entangled with config, env, or singletons.
control-plane-descriptors
Control plane descriptor and instance implementation patterns.