Borrowing it
Nothing to install: this file belongs to sandraschi/devices-mcp. 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/sandraschi/devices-mcp/main/.cursorrulesgit clone --depth 1 https://github.com/sandraschi/devices-mcpWrote 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/sandraschi/devices-mcp/cursorrules)<a href="https://agentmods.dev/rules/sandraschi/devices-mcp/cursorrules"><img src="https://agentmods.dev/badge/rules/sandraschi/devices-mcp/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/sandraschi/devices-mcp/cursorrules"><img src="https://agentmods.dev/badge/rules/sandraschi/devices-mcp/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.00884 | $0.00884 |
| Opus 5.5 | $0.00354 | $0.00354 |
| Sonnet 5.5 | $0.00177 | $0.00177 |
| Haiku 4.5 | $0.00088 | $0.00088 |
Grade C, and why
cursorrules scanned grade C with 1 finding 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 23d 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.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
- `rm -rf` (use `Remove-Item -Recurse -Force`) How it starts
The opening of the file, as written. The whole thing โ 97 lines โ stays where its author put it; the contents beside it link to each section on GitHub.
Cursor Rules: devices-mcp
Read at: Cursor IDE workspace open + each new chat session
Proof of read: hi! (acknowledged)
๐จ CRITICAL: No Unicode Emojis (Crash Prevention)
DEADLY EMOJIS (NEVER USE):
- ๐ (partypopper) - causes immediate crashes
- ๐ (trophy) - system instability
- ๐ (rocket) - serialization failures
- Any Unicode emoji in Python/PS1/logger contexts
STRICT BAN in these file types:
- Python files (.py) - All Unicode emojis forbidden
- PowerShell scripts (.ps1) - All Unicode emojis forbidden
- Logger messages -
logger.info("๐ Started")โlogger.info("STARTED")
FORBIDDEN contexts:
- Logger messages (
logger.info("๐ Started")) - causes crashes and restart loops - API parameters - serialization failures
- MCP responses - client crashes
- Error messages - encoding failures
- Variable names, function names, comments
โ ALLOWED in HTML for pretty UI:
- Emojis can be used in HTML templates and UI strings
- Web dashboard displays and user-facing content
- README.md and documentation files
โ SAFE alternatives:
- ASCII text only: "Process started" instead of "๐ Started"
- NO Unicode emojis in Python/PS1/logger contexts EVER
๐ง CRITICAL: No Linux Syntax in PowerShell Chats
๐ซ FORBIDDEN in PowerShell environments:
&&(command chaining)||(logical OR)|(pipes);(command separators)&(background)mkdir -p(useNew-Item -ItemType Directory -Force)ls -la(useGet-ChildItem)rm -rf(useRemove-Item -Recurse -Force)
โ REQUIRED PowerShell syntax:
# Directory operations
New-Item -ItemType Directory -Force -Path "folder"
Get-ChildItem -Recurse
Remove-Item -Recurse -Force "folder"
# Command separation (one per line)
command1
if ($?) { command2 }
# Virtual environment
build_venv\Scripts\activate
Rule enforcement: Any output with Linux syntax or Unicode emojis will be rejected.
๐ช CRITICAL: Windows-Only Repository Rules
๐ซ ABSOLUTE BAN on Unix/Linux assumptions:
- This is a Windows-only MCP server - no Linux support
- .exe files are Windows executables - they don't run on Linux
- No Unix shell scripts (.sh) - pointless and confusing for Windows-only project
- No cross-platform wrappers - repository integrates with Windows hardware only
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.
- 23d ago Changed ยท +13 lines ยท +164 tokens per session 703c49200365
- 1mo ago First seen ยท 84 lines ยท 720 tokens per session scan C 40d61066a71b
cursorrules is a cursor rule published in the GitHub repository sandraschi/devices-mcp (4 stars, last pushed yesterday), licensed MIT. It adds 884 tokens to every session, about $0.0035 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other cursor rules, from other repositories
mintlify
You are an AI writing assistant specialized in creating exceptional technical documentation using Mintlify components and following industry-leading technical writing practices.
ponytail
Ponytail, lazy senior dev mode. Always pick the simplest solution that works.
angular-20
This rule provides comprehensive best practices and coding standards for Angular development, focusing on modern TypeScript, standalone components, signals, and performance optimizations.
dev-standard
Apache Superset development standards and guidelines for Cursor IDE.
control-plane-descriptors
Control plane descriptor and instance implementation patterns.
family-instance-domain-actions
Family instance domain action implementation patterns.