cursorrules

cursorrules is a cursor rule for Cursor from Mangome/cybird-watching. It costs 24,977 tokens per session, scanned B, a copy of cursorrules, MIT.

A set of project rules for working on the FastLED codebase with Cursor, including how Python commands must be run.

In plain words
What is it for?
Use it to guide coding agents during FastLED development, especially when they need to run Python-based tests, builds, or tools.
Why use it?
It prevents agents from using disallowed commands and makes build, test, and analysis work follow the project's stated process.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/. Also seen: mentions Cursor.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is uv run python ci/ci-compile.py uno --examples Blink.

Good fit Use it to guide coding agents during FastLED development, especially when they need to run Python-based tests, builds, or tools.

Compare 6 cursor rules from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/Mangome/cybird-watching
agentmods
npx agentmods add rules/mangome/cybird-watching/cursorrules

Made for: Cursor.

Wrote 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.

agentmods badge for cursorrules

README.md
[![agentmods](https://agentmods.dev/badge/rules/mangome/cybird-watching/cursorrules/github.svg)](https://agentmods.dev/rules/mangome/cybird-watching/cursorrules)
Your own site
<a href="https://agentmods.dev/rules/mangome/cybird-watching/cursorrules"><img src="https://agentmods.dev/badge/rules/mangome/cybird-watching/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.

agentmods 80×15 button for cursorrules

Your own site · 80×15
<a href="https://agentmods.dev/rules/mangome/cybird-watching/cursorrules"><img src="https://agentmods.dev/badge/rules/mangome/cybird-watching/cursorrules.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24,977 This file is loaded in full into every session.
When invoked 24,977 The same file — it is already loaded in full.
Security scan B 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 95% copy Near-identical to another mod in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.24977 $0.24977
Opus 5.5 $0.09991 $0.09991
Sonnet 5.5 $0.04995 $0.04995
Haiku 4.5 $0.02498 $0.02498

Measured 2mo ago against content hash d8b3afca342b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

cursorrules scanned grade B with 2 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

sudo apt-get update

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

result = subprocess.run(['git', 'status'], capture_output=True, text=True)
Origin

This is a copy

95% identical to cursorrules — 135 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.

lib/FastLED/.cursorrules · 2,793 lines

How it starts

The opening of the file, as written. The whole thing — 2,793 lines — stays where its author put it; the contents beside it link to each section on GitHub.

FastLED Project Rules for Cursor

🚨 CRITICAL: PYTHON EXECUTION REQUIREMENTS - NO EXCEPTIONS! 🚨

MANDATORY COMMAND EXECUTION RULES - ALL AGENTS MUST FOLLOW

🚨 ABSOLUTELY FORBIDDEN: Direct python/python3 execution

  • ❌ NEVER use: python3 <command>
  • ❌ NEVER use: python <command>
  • ❌ NEVER use: ./python
  • ❌ NEVER use: Direct Python interpreter calls

✅ MANDATORY: Always use uv run

  • ✅ ALWAYS use: uv run python <command>
  • ✅ ALWAYS use: uv run python -c "..."
  • ✅ ALWAYS use: uv run python script.py

NO EXCEPTIONS - ALL PYTHON CODE MUST RUN THROUGH UV:

# ✅ CORRECT - Use uv run python
uv run python test.py
uv run python ci/ci-compile.py uno --examples Blink
uv run python -c "from ci.ci.module import func; func()"
uv run python ci/ci/build_info_analyzer.py --board uno --show-defines

# ❌ FORBIDDEN - Direct python execution
python3 test.py                    # NO!
python ci/ci-compile.py            # NO!
python3 -c "import something"      # NO!
python3 script.py                  # NO!

THIS RULE APPLIES TO:

  • 🚨 All test execution
  • 🚨 All script execution
  • 🚨 All build commands
  • 🚨 All analysis tools
  • 🚨 All development commands
  • 🚨 ALL Python code execution without exception

WHY: The project uses UV for dependency management and execution environment. Direct python3 calls bypass the controlled environment and may use wrong Python versions or missing dependencies.

ENFORCEMENT: Any agent using direct python3/python commands is in violation of project requirements.

🚨 UV RUN MANDATE - FINAL WARNING 🚨

IF YOU SEE ANY COMMANDS IN THIS PROJECT DOCUMENTATION THAT USE python3 OR python DIRECTLY:

  1. 🚫 DO NOT COPY THEM - They are legacy commands that must be updated
  2. ✅ ALWAYS REPLACE python3 with uv run python
  3. ✅ ALWAYS REPLACE python with uv run python
  4. 📝 UPDATE DOCUMENTATION when you find python3 commands

EXAMPLES OF MANDATORY REPLACEMENTS:

# ❌ If you see this in docs (WRONG):
python3 script.py

# ✅ Always use this instead (CORRECT):
uv run python script.py

# ❌ If you see this in docs (WRONG):  
python -c "import something"

# ✅ Always use this instead (CORRECT):
uv run python -c "import something"

Read the full file on GitHub · 2,793 lines

Changes

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.

  1. 2mo ago First seen · 2,793 lines · 24,977 tokens per session scan B d8b3afca342b

Subscribe to this mod's changes

cursorrules is a cursor rule published in the GitHub repository Mangome/cybird-watching (52 stars, last pushed 10mo ago), licensed MIT. It adds 24,977 tokens to every session, about $0.0999 per session on Opus 5.5. A static security scan graded it B with 2 findings (asks for root, runs shell commands). It is 95% identical to cursorrules, differing in 135 lines, and is treated as a copy.