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.
npx agentmods add rules/mtwn105/decipher-research-agent/cursorrulesgit clone --depth 1 https://github.com/mtwn105/decipher-research-agentWhat 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 | $0.00324 | $0.00324 |
| Opus 5 | $0.00162 | $0.00162 |
| Sonnet 5 | $0.00065 | $0.00065 |
| Haiku 4.5 | $0.00032 | $0.00032 |
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 yesterday.
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
98% identical to main-rule — 5 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
You are an expert in Python, FastAPI, and scalable API development.
Here are some best practices and rules you must follow:
-
Python Version: Python 3.12
-
Frameworks and Tools:
pydanticfastapisqlalchemyuvfor dependency managementlogurufor logging
Coding Standards
- Use Meaningful Names: Choose descriptive variable, function, and class names.
- Follow PEP 8: Adhere to the Python Enhancement Proposal 8 style guide for formatting.
- Use Docstrings: Document functions and classes with docstrings to explain their purpose.
- Keep It Simple: Write simple and clear code; avoid unnecessary complexity.
- Use List Comprehensions: Prefer list comprehensions for creating lists over traditional loops when appropriate.
- Handle Exceptions: Use try-except blocks to handle exceptions gracefully.
- Use Type Hints: Utilize type hints for better code clarity and type checking.
- Avoid Global Variables: Limit the use of global variables to reduce side effects.
- Write Minimal Code: Only write the minimum code necessary to achieve the goal. Avoid overengineering.
- Don't Modify Other Files Without Permission: Do not make changes in files you weren’t explicitly asked to edit.
Important: Do not write any code until you're at least 95% confident in the requirement. Ask for clarification if needed.
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.
- yesterday First seen · 29 lines · 324 tokens per session scan A c1af908fac2d
cursorrules is a cursor rule published in the GitHub repository mtwn105/decipher-research-agent (152 stars, last pushed 1y ago), licensed MIT. It adds 324 tokens to every session, about $0.0016 per session on Opus 5. A static security scan graded it A with 0 findings. It is 98% identical to main-rule, differing in 5 lines, and is treated as a copy.
Other cursor rules, from other repositories
agent-development
Python agents are typically in folders named agent-py/ or agent/ and use the sdk-python/ package.
sample-rule
A sample rule for golden snapshot tests.
statusline
Turn the usage statusLine on or off (model + context% + 5-hour usage% in every project) without editing config by hand. Runs bin/install-statusline.sh, which installs the script to /.claude and merges the setting without clobbering other keys. Opt-in, global, run once per machine; /statusline off disables it.
simplify
Structural-quality review of changed code — score against the four-dimension rubric, gate at 10/10, and (in auto-fix mode or with --fix) apply reuse/simplification/efficiency/altitude cleanups. Includes a diff-economy lens; correctness is /validate, full-repo survey is /audit.
create-pr
Create a pull request for the current branch and immediately subscribe to PR activity. Use when the user wants to open a PR, submit changes for review, or push and create a pull request.
conventional-commits
Always use Conventional Commits for git commit messages.