modus-react-master

modus-react-master is a cursor rule for Cursor from julianoczkowski/create-trimble-app. It costs 1,496 tokens per session, scanned A, original, MIT.

A master reference for the Modus React rules, linking short rules that are always applied with fuller rules used when more detail is needed.

In plain words
What is it for?
Use it as an index when looking up rules for colors, icons, HTML structure, borders, opacity, Tailwind, themes, and component behavior.
Why use it?
It gives developers one place to find the project's conventions for design-system styling and React component patterns.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/. Also seen: mentions CLAUDE.md.

Good fit Use it as an index when looking up rules for colors, icons, HTML structure, borders, opacity, Tailwind, themes, and component behavior.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/julianoczkowski/create-trimble-app/modus-react-master
Install

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.

Clone the repo
git clone --depth 1 https://github.com/julianoczkowski/create-trimble-app

Made for: Cursor.

Wrote 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.

agentmods badge for modus-react-master

README.md
[![agentmods](https://agentmods.dev/badge/rules/julianoczkowski/create-trimble-app/modus-react-master.svg)](https://agentmods.dev/rules/julianoczkowski/create-trimble-app/modus-react-master)
Your own site
<a href="https://agentmods.dev/rules/julianoczkowski/create-trimble-app/modus-react-master"><img src="https://agentmods.dev/badge/rules/julianoczkowski/create-trimble-app/modus-react-master.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,496 This file is loaded in full into every session.
When invoked 1,496 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.01496 $0.01496
Opus 5 $0.00748 $0.00748
Sonnet 5 $0.00299 $0.00299
Haiku 4.5 $0.00150 $0.00150

Measured 4d ago against content hash 482f63723054, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

modus-react-master 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 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.

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.

templates/react/.cursor/rules/modus-react-master.mdc · 161 lines

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 React Rules - Master Reference

This master rule provides an overview of all available rules and serves as an entry point for understanding the Modus React development patterns.

Rule Structure

This project uses a short/full rule pattern:

  • Short Rules (*-short.mdc): Always applied, concise summaries
  • Full Rules (*.mdc): Apply intelligently, detailed patterns

See README.md in this directory for complete rule documentation.

Essential Rules (Always Applied)

These short rules are always included in chat context:

Design System

  • modus-color-usage-react-short.mdc - Color system usage
  • modus-icons-react-short.mdc - Icon usage patterns
  • modus-semantic-html-react-short.mdc - HTML element usage
  • border-usage-guidelines-short.mdc - Border utilities
  • modus-opacity-utilities-react-short.mdc - Opacity utilities
  • modus-tailwind-usage-react-short.mdc - Tailwind integration
  • modus-themes-react-short.mdc - Theme implementation

Component Patterns

  • modus-button-group-usage-react-short.mdc - Button group patterns
  • modus-checkbox-value-inversion-react-short.mdc - Checkbox bug handling
  • modus-modal-implementation-react-short.mdc - Modal patterns
  • modus-accordion-state-management-react-short.mdc - Accordion state
  • modus-select-vs-dropdown-menu-react-short.mdc - Dropdown patterns
  • modus-navbar-side-navigation-react-short.mdc - Navigation integration

React Integration

  • modus-react-integration-short.mdc - React + Modus integration
  • modus-react-best-practices-short.mdc - React best practices
  • modus-react-key-warnings-short.mdc - React key prop patterns

Workflow

  • development-workflow-react-short.mdc - Linting and quality checks
  • chrome-devtools-testing-react-short.mdc - Browser testing
  • implementation-guides-react-short.mdc - Feature development guides
  • modus-no-emojis-react-short.mdc - Emoji prohibition

Detailed Rules (Apply Intelligently)

For detailed patterns, examples, and advanced techniques, reference these full rules:

Read the full file on GitHub · 161 lines

Changes

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.

  1. 4d ago First seen · 161 lines · 1,496 tokens per session scan A 482f63723054

Subscribe to this mod's changes

modus-react-master is a cursor rule published in the GitHub repository julianoczkowski/create-trimble-app (3 stars, last pushed 2mo ago), licensed MIT. It adds 1,496 tokens to every session, about $0.0075 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-09-03.