cursorrules

cursorrules is a cursor rule for Cursor from tonynguyennvt/cursor-rules-awesome. It costs 36,510 tokens per session, scanned A, original, MIT.

A large set of coding rules for Cursor AI Assistant. It covers code quality, security, testing, databases, infrastructure, documentation, accessibility, privacy, and many other development practices.

In plain words
What is it for?
Use it as a general ruleset for coding, reviews, architecture, data handling, deployment, monitoring, naming, formatting, and documentation in Cursor.
Why use it?
It gives the assistant broad project-wide guidance so generated and reviewed code follows consistent engineering and security expectations.

Cursor rule for Cursor

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.

agentmods
npx agentmods add rules/tonynguyennvt/cursor-rules-awesome/cursorrules
Clone the repo
git clone --depth 1 https://github.com/tonynguyennvt/cursor-rules-awesome

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/tonynguyennvt/cursor-rules-awesome/cursorrules.svg)](https://agentmods.dev/rules/tonynguyennvt/cursor-rules-awesome/cursorrules)
Your own site
<a href="https://agentmods.dev/rules/tonynguyennvt/cursor-rules-awesome/cursorrules"><img src="https://agentmods.dev/badge/rules/tonynguyennvt/cursor-rules-awesome/cursorrules.svg" alt="Measured on agentmods" height="20"></a>
Per session 36,510 This file is loaded in full into every session.
When invoked 36,510 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.36510 $0.36510
Opus 5 $0.18255 $0.18255
Sonnet 5 $0.07302 $0.07302
Haiku 4.5 $0.03651 $0.03651

Measured 4d ago against content hash e3206c5e97a1, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 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.

.cursorrules · 4,862 lines

How it starts

The opening of the file, as written. The whole thing — 4,862 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Read the full file on GitHub · 4,862 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 · 4,862 lines · 36,510 tokens per session scan A e3206c5e97a1

Subscribe to this mod's changes

cursorrules is a cursor rule published in the GitHub repository tonynguyennvt/cursor-rules-awesome (5 stars, last pushed 10mo ago), licensed MIT. It adds 36,510 tokens to every session, about $0.1825 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.