Borrowing it
Nothing to install: this file belongs to galliani/contextmax. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/galliani/contextmax/main/.cursorrulesgit clone --depth 1 https://github.com/galliani/contextmaxWrote 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/galliani/contextmax/cursorrules)<a href="https://agentmods.dev/rules/galliani/contextmax/cursorrules"><img src="https://agentmods.dev/badge/rules/galliani/contextmax/cursorrules/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/rules/galliani/contextmax/cursorrules"><img src="https://agentmods.dev/badge/rules/galliani/contextmax/cursorrules.svg" alt="Reviewed on agentmods" width="80" 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.00358 | $0.00358 |
| Opus 5.5 | $0.00143 | $0.00143 |
| Sonnet 5.5 | $0.00072 | $0.00072 |
| Haiku 4.5 | $0.00036 | $0.00036 |
Grade A, and why
cursorrules 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 1mo 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.
What it actually says
Creating component
- Use the shadcn/vue as the component generator, use the "shadcn-vue docs" tool to know which component to add and how to add it.
- The command to import the component is like this:
npx shadcn-vue@latest add COMPONENT.
About server
DO NOT run command to run or restart the server, always assume that server is running at port 3000.
Context Sets Tool Selection
When a user references @context:Name, resolve it via context-sets.json → sets["context:Name"].
Processing Order
- Check workflows first
- If workflows exist: Start from
workflow.start.functionand trace toend - If workflows empty: Read all files in the context, prioritizing those with
functionRefs
- File Resolution
- String → filesIndex[fileId].path → read entire file
- Object → filesIndex[fileId].path → locate specific functionRefs
- Impact Analysis
- Direct: Check context's
usesarray - Indirect: Check
filesIndex[fileId].contextsfor shared files - When modifying file_X in ContextA, also consider ContextB if both use file_X
Quick Example
User: "Fix the download button in @context:PhotoGallery" → Load PhotoGallery context → See it uses ["DownloadPhoto"] → Find download button via workflow start point or grep functions → Check if changes affect DownloadPhoto via shared files
Key Rules
- Track changes in memory during session
- Update context-sets.json only when explicitly requested
- Use functionRefs for surgical precision when available
- No warnings for files outside contexts
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.
- 1mo ago First seen · 45 lines · 358 tokens per session scan A a9c472a97e9b
cursorrules is a cursor rule published in the GitHub repository galliani/contextmax (11 stars, last pushed 1y ago), licensed MPL-2.0. It adds 358 tokens to every session, about $0.0014 per session on Opus 5.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-30.
Other cursor rules, from other repositories
cursorrules
You are assisting the Orbital engineering team — 5 backend engineers building a multi-tenant SaaS for logistics operations. TypeScript monorepo using NestJS, PostgreSQL (drizzle-orm), and BullMQ. All engineers use shared conventions.
session-preflight
Require a visible session preflight before side-effecting agent work.
svelte-5-vs-svelte-4-cursorrules-prompt-file
Cursor rules for comparing Svelte 5 and Svelte 4 development.
sveltekit-typescript-guide-cursorrules-prompt-file
Cursor rules for SvelteKit development with TypeScript integration.
cursor
You are working on the checkout service. Preserve transaction integrity and auditability.
solana-transaction-safety
Safe Solana transaction submission patterns using Helius Sender.