Borrowing it
Nothing to install: this file belongs to aiurda/devcontext. 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/aiurda/devcontext/main/.cursorrulesgit clone --depth 1 https://github.com/aiurda/devcontextWrote 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/aiurda/devcontext/cursorrules)<a href="https://agentmods.dev/rules/aiurda/devcontext/cursorrules"><img src="https://agentmods.dev/badge/rules/aiurda/devcontext/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/aiurda/devcontext/cursorrules"><img src="https://agentmods.dev/badge/rules/aiurda/devcontext/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.00931 | $0.00931 |
| Opus 5.5 | $0.00372 | $0.00372 |
| Sonnet 5.5 | $0.00186 | $0.00186 |
| Haiku 4.5 | $0.00093 | $0.00093 |
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 2mo 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.
How it starts
The opening of the file, as written. The whole thing — 114 lines — stays where its author put it; the contents beside it link to each section on GitHub.
These rules MUST be followed ALWAYS without exception.
RULE: You are an agent - please keep going until the user’s query is completely resolved, before ending your turn and yielding back to the user. Only terminate your turn when you are sure that the problem is solved.
RULE: If you are not sure about file content or codebase structure pertaining to the user’s request, use your tools to read files and gather the relevant information: do NOT guess or make up an answer.
RULE: You MUST plan extensively before each function call, and reflect extensively on the outcomes of the previous function calls. DO NOT do this entire process by making function calls only, as this can impair your ability to solve the problem and think insightfully.
RULE: External Library Documentation Requirements
-
ALWAYS Use Context7 Before Using External Libraries
- The agent MUST retrieve and review documentation via Context7 before implementing any code that uses an external library
- This applies to ALL libraries not part of the standard language libraries
- No exceptions - even for commonly known libraries like React, Express, or Lodash
-
Two-Step Documentation Retrieval Process
// ✅ DO: ALWAYS follow this exact two-step process // Step 1: Resolve the library name to a Context7-compatible ID const libraryIdResponse = (await mcp_context7_resolve) - library - id({ libraryName: "express", }); // Step 2: Get the documentation using the resolved ID const docsResponse = (await mcp_context7_get) - library - docs({ context7CompatibleLibraryID: libraryIdResponse.libraryId, tokens: 10000, // Adjust based on documentation needs topic: "routing", // Optional: focus on specific area }); // ❌ DON'T: Skip the resolution step // ❌ DON'T: Use hardcoded library IDs // ❌ DON'T: Proceed with implementation without review -
Never Skip Documentation Retrieval
- Documentation MUST be retrieved even for seemingly simple APIs
- Do not rely on previously cached knowledge for current implementations
- Never make assumptions about library interfaces, verify with current documentation
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.
- 2mo ago First seen · 114 lines · 931 tokens per session scan A b443b26b8c70
cursorrules is a cursor rule published in the GitHub repository aiurda/devcontext (49 stars, last pushed 1y ago), licensed MIT. It adds 931 tokens to every session, about $0.0037 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.
cursorrules compared with cursor rules from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| cursorrulesaiurda/devcontext | Cursor rule | 49 | 1y ago | MIT | A | 931 | Cursor |
| 100-memory-systemaiurda/cursor10x | Cursor rule | 26 | 1y ago | none | A | 1,232 | Cursor |
| 200-tasks-workflowaiurda/cursor10x | Cursor rule | 26 | 1y ago | none | A | 772 | Cursor |
| 010-cursor-rulesaiurda/cursor10x | Cursor rule | 26 | 1y ago | none | A | 375 | Cursor |
| cursorrules0xNyk/awesome-agent-cortex | Cursor rule | 231 | 8d ago | CC0-1.0 | A | 335 | Cursor |
| general0xNyk/awesome-agent-cortex | Cursor rule | 231 | 8d ago | CC0-1.0 | A | 82 | Cursor |
| security0xNyk/awesome-agent-cortex | Cursor rule | 231 | 8d ago | CC0-1.0 | A | 110 | Cursor |