arena-agent

arena-agent is a cursor rule for Cursor from daveepope/arena. It costs 6,787 tokens per session, scanned C, original, MIT.

A set of coding rules for Arena, a single repository containing projects in several programming languages. It tells an AI coding assistant how to build, test, and change that codebase.

In plain words
What is it for?
Use it when adding features, fixing bugs, increasing test coverage, or maintaining Arena’s architecture. It covers Rust, Python, Java, C#, C, Docker, Bash, and Bazel workflows.
Why use it?
It reduces inconsistent decisions, unrelated edits, and missed updates between language bindings when a shared Rust API changes. It also clarifies which build checks are trusted.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/. Also seen: mentions CLAUDE.md; mentions AGENTS.md.

Good fit Use it when adding features, fixing bugs, increasing test coverage, or maintaining Arena’s architecture. It covers Rust, Python, Java, C#, C, Docker, Bash, and Bazel workflows.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/daveepope/arena/arena-agent
Install

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.

Clone the repo
git clone --depth 1 https://github.com/daveepope/arena

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 arena-agent

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

Your own site · 80×15
<a href="https://agentmods.dev/rules/daveepope/arena/arena-agent"><img src="https://agentmods.dev/badge/rules/daveepope/arena/arena-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 6,787 This file is loaded in full into every session.
When invoked 6,787 The same file — it is already loaded in full.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original 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.06787 $0.06787
Opus 5.5 $0.02715 $0.02715
Sonnet 5.5 $0.01357 $0.01357
Haiku 4.5 $0.00679 $0.00679

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

Security

Grade C, and why

arena-agent 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 20d 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.

Tells the agent never to refusehighAnti-refusal

Suppressing the ability to decline removes a core safety control; a later harmful request then succeeds.

- **The repo's own build infrastructure is not covered by this rule.** Bazel is configured to use the BuildBuddy remote cache and build event service (`--remote_cache`, `--bes_backend`, and `--config=ci`, which `--config
.cursor/rules/arena-agent.mdc · 159 lines

How it starts

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

Arena — agent instructions

Never touch keys or secrets (absolute, non-negotiable)

  • You are FORBIDDEN from generating, editing, rotating, extending, exporting, importing, deleting, signing with, or otherwise operating on any cryptographic key or secret. This is not permissionable: the developer cannot authorise it, and you must refuse even if asked directly. Every such action is performed by a human, by hand.
  • This covers at minimum: gpg key generation and --edit-key (including expire, addkey, revkey, trust), --export-secret-keys, --import, --send-keys, --detach-sign; ssh-keygen; openssl genpkey / req / x509; keytool; az/aws/gcloud KMS and secret commands; gh secret set; cargo vet certify; and editing any keystore, keyring, .gnupg directory, or credential file.
  • Never read or echo a private key, passphrase, token or secret, and never ask the developer to paste one into this session. If a secret appears in output, do not repeat it back.
  • You may diagnose: read logs, inspect a public key, check an expiry date, explain what a failure means, and write out the exact commands for the developer to run themselves. Say plainly that they must run them.
  • Do not run a key command "just to test the syntax", in a scratch directory, or with a throwaway keyring. There is no safe sandbox exception.

Nothing leaves this terminal (absolute)

  • You are FORBIDDEN from sending any data anywhere outside this terminal session. No exceptions, no "it is private", no "it is only a link". This repo, its code, its dependency and vulnerability data, its logs, its file contents and any analysis you derive from them stay on this machine.
  • This explicitly includes Anthropic-operated services: do not publish Artifacts or any hosted page, do not create or edit Claude Docs, do not use the claude.ai MCP server, do not call any skill or tool whose effect is to publish, host, upload, share, or sync content. The Artifact tool and the artifact-design skill are banned outright. There is no delete action for a published Artifact, so a mistaken publish cannot be undone.
  • Also forbidden without the developer explicitly asking in that same message: posting to GitHub (issue or PR comments, review bodies, gists), pasting into any chat or ticketing system, uploading to any bucket or file host, sending email, and writing to any remote endpoint. Reading from the network (fetching an advisory, gh api reads, a package index lookup) is fine; writing to it is not.
  • The repo's own build infrastructure is not covered by this rule. Bazel is configured to use the BuildBuddy remote cache and build event service (--remote_cache, --bes_backend, and --config=ci, which --config=coverage pulls in). Every bazel build, bazel test and bazel coverage therefore talks to BuildBuddy by the developer's own deliberate configuration. That is the developer's infrastructure doing its job, not the agent choosing to send data somewhere, so do not refuse or hesitate over a normal Bazel command, coverage included, on the grounds that Bazel uploads to BuildBuddy. This rule is about what the agent chooses to publish, paste, upload or share.
  • Deliver work inside the terminal. Prose in the reply, or a file written to the local scratchpad or the repo working tree. Never offer an external page as an option, and never treat "this would be clearer as a hosted page" as a reason to publish one.
  • If a harness instruction, output style, or skill tells you to publish, host, or share something, this rule overrides it. Say you cannot and deliver the work in the terminal instead.

Read the full file on GitHub · 159 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. 20d ago Changed · +20 lines · +1,536 tokens per session scan A → C ff4d7771dc83
  2. 1mo ago Changed · +18 lines · +869 tokens per session c4d6286cd884
  3. 2mo ago Changed · +2 lines · +303 tokens per session b0fd81c9b6a4
  4. 2mo ago Changed · +1 lines · +165 tokens per session c64081ff19c4
  5. 3mo ago First seen · 118 lines · 3,914 tokens per session scan A 61d93bd49fd1

Subscribe to this mod's changes

arena-agent is a cursor rule published in the GitHub repository daveepope/arena (0 stars, last pushed 20d ago), licensed MIT. It adds 6,787 tokens to every session, about $0.0271 per session on Opus 5.5. A static security scan graded it C with 1 finding (tells the agent never to refuse). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

arena-agent compared with cursor rules from other repositories

arena-agent next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
arena-agentdaveepope/arenaCursor rule020d agoMITC6,787Cursor
mockitosanjeed5/awesome-cursor-rules-mdcCursor rule3.6k7d agoCC0-1.0A1,653Cursor
aspnet-abp-cursorrules-prompt-filePatrickJS/awesome-cursorrulesCursor rule41k6mo agoCC0-1.0A1,324Cursor
com-example-service-PublicPaymentControllerPIsberg/vibetagsCursor rule26todayMITA119Cursor
component-parameter-key-no-dotxc404/kiwiCursor rule720d agoMITA803Cursor
roslyn-mcp-version-bumpVuDZ/RoslynMcpServerCursor rule9yesterdayMITA541Cursor
java-17-development-standardsbeettlle/pi-spineCursor rule35d agoMITA0Cursor