Borrowing it
Nothing to install: this file belongs to turlockmike/mcp-rand. 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/turlockmike/mcp-rand/master/.cursorrulesgit clone --depth 1 https://github.com/turlockmike/mcp-randWrote 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/turlockmike/mcp-rand/cursorrules)<a href="https://agentmods.dev/rules/turlockmike/mcp-rand/cursorrules"><img src="https://agentmods.dev/badge/rules/turlockmike/mcp-rand/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/turlockmike/mcp-rand/cursorrules"><img src="https://agentmods.dev/badge/rules/turlockmike/mcp-rand/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.00075 | $0.00075 |
| Opus 5.5 | $0.00030 | $0.00030 |
| Sonnet 5.5 | $0.00015 | $0.00015 |
| Haiku 4.5 | $0.00007 | $0.00007 |
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.
This is a copy
100% identical to cursorrules — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
What it actually says
- jest config is located in jest.config.mjs and jest.setup.ts
- Implement tests first, run tests after implementation to verify.
- Don't create new d.ts files. Ask the user first what to do.
- Don't create random mocks. Ask the user first.
- Node 18 and after use fetch (based on undici), don't install anything else.
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 · 5 lines · 75 tokens per session scan A 92a9443370ac
cursorrules is a cursor rule published in the GitHub repository turlockmike/mcp-rand (3 stars, last pushed 1y ago), licensed MIT. It adds 75 tokens to every session, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to cursorrules, differing in 0 lines, and is treated as a copy.
Other cursor rules, from other repositories
use-ast-factories
Use factory functions for creating AST nodes instead of manual object creation.
test-mocking-patterns
Test-only type assertions and mocking patterns (avoid brittle mocks).
tsdown-dist-layout-in-tests
Use tsdown dist root paths in TS test mappings.
jest-unit-testing-cursorrules-prompt-file
Cursor rules for Jest development with unit testing.
jest
Definitive guidelines for writing robust, maintainable, and performant Jest tests in JavaScript and TypeScript projects.
rule-01
This is test rule number in the large package scalability test.