dunecity: Cursor rule for Cursor

.cursorrules

cursorrules is a cursor rule for Cursor from dunecity-project/dunecity. It costs 4,412 tokens per session, scanned D, original, GPL-2.0.

Project rules for Dune Legacy, a modern remake of Westwood Studios' Dune 2 real-time strategy game.

In plain words
What is it for?
It helps guide work on this specific game project, although the available description does not list detailed coding rules.
Why use it?
They give an agent the project context and constraints needed when changing the game's code.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

This is dunecity-project/dunecity's own configuration. It tells Cursor how to work on dunecity itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything dunecity configures →

Reuse

Borrowing it

Nothing to install: this file belongs to dunecity-project/dunecity. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/dunecity-project/dunecity/main/.cursorrules
Clone the repo
git clone --depth 1 https://github.com/dunecity-project/dunecity

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/dunecity-project/dunecity/cursorrules/github.svg)](https://agentmods.dev/rules/dunecity-project/dunecity/cursorrules)
Your own site
<a href="https://agentmods.dev/rules/dunecity-project/dunecity/cursorrules"><img src="https://agentmods.dev/badge/rules/dunecity-project/dunecity/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/dunecity-project/dunecity/cursorrules"><img src="https://agentmods.dev/badge/rules/dunecity-project/dunecity/cursorrules.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 4,412 This file is loaded in full into every session.
When invoked 4,412 The same file — it is already loaded in full.
Security scan D 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown No closer match found 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.04412 $0.04412
Opus 5.5 $0.01765 $0.01765
Sonnet 5.5 $0.00882 $0.00882
Haiku 4.5 $0.00441 $0.00441

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

Security

Grade D, and why

cursorrules scanned grade D 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 11d 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 install catch2 # Debian/Ubuntu

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf build
.cursorrules · 421 lines

The source is not reproduced here

Licensed GPL-2.0

The repository is licensed GPL-2.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

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. 11d ago First seen · 421 lines · 4,412 tokens per session scan D cf9fffee73c9

Subscribe to this mod's changes

cursorrules is a cursor rule published in the GitHub repository dunecity-project/dunecity (37 stars, last pushed 5d ago), licensed GPL-2.0. It adds 4,412 tokens to every session, about $0.0176 per session on Opus 5.5. A static security scan graded it D with 2 findings (asks for root, recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-26.

Related

cursorrules compared with cursor rules from other repositories

cursorrules next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cursorrulesdunecity-project/dunecityCursor rule375d agoGPL-2.0D4,412Cursor
meta-quest-agentic-toolsoculus-samples/Unity-MovementCursor rule3911mo agononeA152Cursor
narrative-writingholycube/game-narrative-mcpCursor rule04mo agoMITA273Cursor
meta-quest-agentic-toolsoculus-samples/Unity-MetaXRInteractionSDK-AvatarSampleCursor rule245mo agononeA152Cursor
visual-and-observational-rulespaulpham157/paul-s-cursor-rulesCursor rule271y agoMITA0Cursor
00-project-overviewMrG4dget/5e-tools-mcpCursor rule21y agoMITA205Cursor
ponytailDietrichGebert/ponytailCursor rule185k8d agoMITA604Cursor