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/ux-ui-foundationsgit 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/ux-ui-foundations)<a href="https://agentmods.dev/rules/julianoczkowski/create-trimble-app/ux-ui-foundations"><img src="https://agentmods.dev/badge/rules/julianoczkowski/create-trimble-app/ux-ui-foundations.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.1 | $0.02726 | $0.02726 |
| Opus 5 | $0.01363 | $0.01363 |
| Sonnet 5 | $0.00545 | $0.00545 |
| Haiku 4.5 | $0.00273 | $0.00273 |
Grade A, and why
ux-ui-foundations 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 6d 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 — 236 lines — stays where its author put it; the contents beside it link to each section on GitHub.
UI/UX Foundations for AI Agents
Scope: Modus 2 Angular Components + Tailwind v4 (Real Config Alignment)
This file is grounded in your real Modus 2 Angular + Tailwind v4 setup. It uses the exact variables, color tokens, and CSS conventions from your implementation.
Foundation & Setup
1 Color System — From Angular Design System
Semantic Mapping
Use Tailwind v4 tokens defined in your src/styles.css. Do not use arbitrary colors.
| Purpose | Tailwind Token | CSS Variable (from src/styles.css) |
|---|---|---|
| Background | bg-background |
--background → var(--modus-wc-color-base-page) |
| Foreground | text-foreground |
--foreground → var(--modus-wc-color-base-content) |
| Card | bg-card |
--card → var(--modus-wc-color-base-100) |
| Card Text | text-card-foreground |
--card-foreground → var(--modus-wc-color-base-content) |
| Primary | bg-primary / text-primary-foreground |
--primary → var(--modus-wc-color-info) |
| Secondary | bg-secondary / text-secondary-foreground |
--secondary → var(--modus-wc-color-base-300) |
| Muted | bg-muted / text-muted-foreground |
--muted → var(--modus-wc-color-base-200) |
| Success | bg-success / text-success-foreground |
--success → var(--modus-wc-color-success) |
| Warning | bg-warning / text-warning-foreground |
--warning → var(--modus-wc-color-warning) |
| Error | bg-error / text-error-foreground |
--error → var(--modus-wc-color-error) |
| Border | border-border |
--border → var(--modus-wc-color-base-200) |
| Ring | ring |
--ring → var(--modus-wc-color-info) |
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.
- 6d ago First seen · 236 lines · 2,726 tokens per session scan A 3c310e08926e
ux-ui-foundations is a cursor rule published in the GitHub repository julianoczkowski/create-trimble-app (3 stars, last pushed 2mo ago), licensed MIT. It adds 2,726 tokens to every session, about $0.0136 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-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.
accessibility
Rules for ensuring accessibility in Astro components, including semantic HTML and ARIA attributes.
tailwind-css-styling-rules
在Next.js 14组件中使用Tailwind CSS进行样式设计的规则。.
ponytail
Ponytail, lazy senior dev mode. Always pick the simplest solution that works.