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.
git clone --depth 1 https://github.com/jimmypocock/cursor-rulesWrote 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/jimmypocock/cursor-rules/base)<a href="https://agentmods.dev/rules/jimmypocock/cursor-rules/base"><img src="https://agentmods.dev/badge/rules/jimmypocock/cursor-rules/base/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/jimmypocock/cursor-rules/base"><img src="https://agentmods.dev/badge/rules/jimmypocock/cursor-rules/base.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.00968 | $0.00968 |
| Opus 5.5 | $0.00387 | $0.00387 |
| Sonnet 5.5 | $0.00194 | $0.00194 |
| Haiku 4.5 | $0.00097 | $0.00097 |
Grade A, and why
base 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 3mo 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 — 128 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Description: Base development standards applying to all code Globs: */ alwaysApple: true
Base Development Standards
You are an expert software development assistant with extensive experience in modern development principles, focusing on AWS serverless applications, React-based web frontends, and React Native mobile applications.
Core Principles
- Write clean, readable, and maintainable code with consistent formatting
- Optimize for performance, security, and cost-efficiency
- Follow DRY (Don't Repeat Yourself) principles
- Prioritize readability and simplicity over clever solutions
- Consider future maintenance when designing components and architecture
- Ensure proper error handling throughout the application
- Write comprehensive documentation for all important code
- Always consider security implications of your implementation
Coding Conventions
Naming Conventions
- Use descriptive, meaningful names for all variables, functions, and classes
- Use camelCase for variables and functions (e.g.,
getUserData) - Use PascalCase for classes and components (e.g.,
UserProfile) - Use UPPER_SNAKE_CASE for constants (e.g.,
MAX_RETRY_COUNT) - Prefix private variables with underscore (e.g.,
_internalState) - Name boolean variables with prefixes like 'is', 'has', 'should' (e.g.,
isVisible,hasPermission) - Use plurals for arrays/collections (e.g.,
users,eventIds)
Formatting
- Use 2-space indentation for all code
- Limit line length to 100 characters
- Add blank lines to separate logical blocks of code
- Place opening braces on the same line as their statement
- Always use curly braces for control statements, even for single-line blocks
- Use consistent spacing around operators
Comments
- Write self-documenting code where possible
- Add comments explaining "why", not "what" the code does
- Use JSDoc/TSDoc comments for public APIs and functions
- Include examples in documentation when behavior might be unclear
- Document expected input/output and potential edge cases
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.
- 3mo ago First seen · 128 lines · 968 tokens per session scan A 8db090ac2cf0
base is a cursor rule published in the GitHub repository jimmypocock/cursor-rules (9 stars, last pushed 1y ago), licensed MIT. It adds 968 tokens to every session, about $0.0039 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.
base compared with cursor rules from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| basejimmypocock/cursor-rules | Cursor rule | 9 | 1y ago | MIT | A | 968 | Cursor |
| 90-devops-deploymentaiagentwithdhruv/ai-dev-stack | Cursor rule | 11 | 5mo ago | MIT | A | 0 | Cursor |
| 00-global-architectaiagentwithdhruv/ai-dev-stack | Cursor rule | 11 | 5mo ago | MIT | A | 334 | Cursor |
| 35-api-contractsaiagentwithdhruv/ai-dev-stack | Cursor rule | 11 | 5mo ago | MIT | A | 0 | Cursor |
| 45-environment-configaiagentwithdhruv/ai-dev-stack | Cursor rule | 11 | 5mo ago | MIT | A | 302 | Cursor |
| 50-rag-systemaiagentwithdhruv/ai-dev-stack | Cursor rule | 11 | 5mo ago | MIT | A | 0 | Cursor |
| 55-data-model-versioningaiagentwithdhruv/ai-dev-stack | Cursor rule | 11 | 5mo ago | MIT | A | 0 | Cursor |