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-themesgit clone --depth 1 https://github.com/julianoczkowski/create-trimble-appWhat 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.01521 |
| Opus 5 | $0.00000 | $0.00760 |
| Sonnet 5 | $0.00000 | $0.00304 |
| Haiku 4.5 | $0.00000 | $0.00152 |
Grade A, and why
modus-angular-themes 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.
How it starts
The opening of the file, as written. The whole thing — 223 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Modus Themes Implementation in Angular + Vite
Theme System Overview
This Angular + Vite application supports 6 Modus themes with proper theme switching, persistence, and service-based management.
Available Themes: 4 Modus themes + 2 Connect themes
modus-classic-light/modus-classic-darkmodus-modern-light/modus-modern-darkconnect-light/connect-dark
Theme Architecture
ThemeService Implementation
import { Injectable, signal, computed } from '@angular/core';
export type Theme =
| 'modus-classic-light'
| 'modus-classic-dark'
| 'modus-modern-light'
| 'modus-modern-dark'
| 'connect-light'
| 'connect-dark';
const VALID_THEMES: Theme[] = [
'modus-classic-light',
'modus-classic-dark',
'modus-modern-light',
'modus-modern-dark',
'connect-light',
'connect-dark',
];
@Injectable({ providedIn: 'root' })
export class ThemeService {
private readonly themeSignal = signal<Theme>('modus-classic-light');
readonly currentTheme = this.themeSignal.asReadonly();
readonly isDark = computed(() => this.themeSignal().includes('dark'));
readonly isModern = computed(() => this.themeSignal().includes('modern'));
constructor() {
this.loadThemeFromStorage();
}
private loadThemeFromStorage(): void {
if (typeof window !== 'undefined') {
try {
const savedTheme = window.localStorage.getItem('preferred-theme') as Theme | null;
if (savedTheme && VALID_THEMES.includes(savedTheme)) {
this.setTheme(savedTheme);
}
} catch (error) {
console.warn('Unable to read stored theme preference:', error);
}
}
}
setTheme(theme: Theme): void {
this.themeSignal.set(theme);
// Apply theme to document
document.documentElement.setAttribute('data-theme', theme);
// Persist to localStorage
try {
window.localStorage.setItem('preferred-theme', theme);
} catch (error) {
console.warn('Unable to persist theme preference:', error);
}
}
}
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 · 223 lines · 0 tokens per session scan A e47517fab946
modus-angular-themes 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,521 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
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.
z-index
Z-index layering conventions for consistent stacking.
design
Rule of thumb: If you can do it with transition- or animate- + data attributes, do not use Motion.