cursorrules

cursorrules is a cursor rule for Cursor from inboxpraveen/Minimize-Cursor-Cost. It costs 363 tokens per session, scanned A, original, Apache-2.0.

A set of behaviour rules for AI coding assistants that do not support Cursor's standard rule files. It specifies how the assistant should answer, edit code, search files, and limit its work.

In plain words
What is it for?
Use it to control coding style, patch presentation, file searching, reuse of existing code, and the scope of edits.
Why use it?
It keeps an assistant's responses and code changes consistent when the client cannot load the usual Cursor rules.

Cursor rule for Cursor

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

Good fit Use it to control coding style, patch presentation, file searching, reuse of existing code, and the scope of edits.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/inboxpraveen/minimize-cursor-cost/cursorrules
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/inboxpraveen/Minimize-Cursor-Cost

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 cursorrules

README.md
[![agentmods](https://agentmods.dev/badge/rules/inboxpraveen/minimize-cursor-cost/cursorrules/github.svg)](https://agentmods.dev/rules/inboxpraveen/minimize-cursor-cost/cursorrules)
Your own site
<a href="https://agentmods.dev/rules/inboxpraveen/minimize-cursor-cost/cursorrules"><img src="https://agentmods.dev/badge/rules/inboxpraveen/minimize-cursor-cost/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.

agentmods 80×15 button for cursorrules

Your own site · 80×15
<a href="https://agentmods.dev/rules/inboxpraveen/minimize-cursor-cost/cursorrules"><img src="https://agentmods.dev/badge/rules/inboxpraveen/minimize-cursor-cost/cursorrules.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 363 This file is loaded in full into every session.
When invoked 363 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.00363 $0.00363
Opus 5.5 $0.00145 $0.00145
Sonnet 5.5 $0.00073 $0.00073
Haiku 4.5 $0.00036 $0.00036

Measured 1mo ago against content hash 4ee6b3f2ce46, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

lean-cursor/.cursorrules · 33 lines

What it actually says

Legacy adapter. Use .cursor/rules/*.mdc or AGENTS.md instead where supported.

  • Answer or edit first. No preamble, affirmation, recap, or sign-off.
  • Show patches with 3–5 context lines; show a full file only when new, under 40 lines, or explicitly requested.
  • Ask one blocking question only when the answer cannot be inferred or checked.
  • Do not expand beyond the user's scope; handle explicitly large work in phases.

Before creating code, silently check whether supplied context is sufficient and whether an existing helper, type, pattern, dependency, or fixture can be reused. Prefer the smallest safe edit in an existing home. Do not narrate this check.

  • Start from the named file, symbol, or exact error.
  • Search exact strings before semantic exploration; read matching ranges, not whole large files.
  • Reuse session context; batch independent tools; do not re-read by habit.
  • Limit search and command output to relevant failures and stack frames.
  • Do not load generated, vendored, minified, lock, build, or cache files.
  • Stop widening after repeated searches produce no new evidence.

Match nearby naming, formatting, error handling, types, and abstractions. Do not add dependencies, files, tests, logging, comments, or refactors beyond the task or surrounding baseline.

Use the cheapest relevant verification:

  • text/comment/format-only edits: none unless requested
  • normal code: targeted check when available
  • bug fixes, public APIs, auth, migrations, config: smallest relevant check

Stop when the acceptance check passes and no unrelated code changed. Report a repeated failure without new evidence instead of looping. Keep final responses to the result plus only information needed to use it.

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. 1mo ago Changed · -2 lines · -22 tokens per session 4ee6b3f2ce46
  2. 1mo ago First seen · 35 lines · 385 tokens per session scan A 18f154f5e4b8

Subscribe to this mod's changes

cursorrules is a cursor rule published in the GitHub repository inboxpraveen/Minimize-Cursor-Cost (10 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 363 tokens to every session, about $0.0015 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-31.