Borrowing it
Nothing to install: this file belongs to Quantum3-Labs/ARBuilder. 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/Quantum3-Labs/ARBuilder/main/.cursorrulesgit clone --depth 1 https://github.com/Quantum3-Labs/ARBuilderWrote 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/quantum3-labs/arbuilder/cursorrules)<a href="https://agentmods.dev/rules/quantum3-labs/arbuilder/cursorrules"><img src="https://agentmods.dev/badge/rules/quantum3-labs/arbuilder/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/quantum3-labs/arbuilder/cursorrules"><img src="https://agentmods.dev/badge/rules/quantum3-labs/arbuilder/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.00896 | $0.00896 |
| Opus 5.5 | $0.00358 | $0.00358 |
| Sonnet 5.5 | $0.00179 | $0.00179 |
| Haiku 4.5 | $0.00090 | $0.00090 |
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 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.
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.
How it starts
The opening of the file, as written. The whole thing — 116 lines — stays where its author put it; the contents beside it link to each section on GitHub.
ARBuilder Development Rules for Cursor
Stylus SDK Version Information (CRITICAL - ALWAYS USE THESE)
Current stable versions (as of January 2025):
- stylus-sdk: 0.9.2 (use this for new projects)
- alloy-primitives: =0.8.20
- alloy-sol-types: =0.8.20
- Rust version: 1.81 (1.82+ may have compatibility issues)
- cargo-stylus CLI: 0.5.x
Cargo.toml Template
[dependencies]
stylus-sdk = "0.9.2"
alloy-primitives = "=0.8.20"
alloy-sol-types = "=0.8.20"
[lib]
crate-type = ["cdylib"]
[profile.release]
codegen-units = 1
strip = true
lto = true
panic = "abort"
opt-level = "s"
Arbitrum SDK Version Information
- @arbitrum/sdk: ^4.0.0
- ethers: ^5.7.0 (NOT v6 - SDK requires ethers v5)
Stylus Contract Best Practices
Required Attributes
#![cfg_attr(not(any(feature = "export-abi", test)), no_std)]
#![cfg_attr(not(test), no_main)]
extern crate alloc;
Storage Pattern
use stylus_sdk::prelude::*;
use alloy_primitives::{U256, Address};
sol_storage! {
#[entrypoint]
pub struct MyContract {
uint256 value;
mapping(address => uint256) balances;
}
}
Public Methods
#[public]
impl MyContract {
pub fn get_value(&self) -> U256 {
self.value.get()
}
pub fn set_value(&mut self, new_value: U256) {
self.value.set(new_value);
}
}
Key Constraints
- 24KB size limit (Brotli-compressed WASM)
- No floating point operations allowed
- Yearly reactivation required for deployed contracts
- Use
alloc::vec::Vecinstead ofstd::vec::Vec - Use
alloc::string::Stringinstead ofstd::string::String
Common Pitfalls to Avoid
- Using
stdlibrary features (useallocorcoreinstead) - Floating point math (use fixed-point or integer math)
- Forgetting
#[entrypoint]attribute on main struct - Not handling storage slots correctly in upgrades
- Using Rust 1.82+ (stick to 1.81)
Arbitrum Bridging Best Practices
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.
- 2mo ago First seen · 116 lines · 896 tokens per session scan A b3b500f205c9
cursorrules is a cursor rule published in the GitHub repository Quantum3-Labs/ARBuilder (24 stars, last pushed 6mo ago), licensed MIT. It adds 896 tokens to every session, about $0.0036 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
cursorrules compared with cursor rules from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| cursorrulesQuantum3-Labs/ARBuilder | Cursor rule | 24 | 6mo ago | MIT | A | 896 | Cursor |
| rustPatrickJS/awesome-cursorrules | Cursor rule | 41k | 5mo ago | CC0-1.0 | A | 0 | Cursor |
| rust-generalPatrickJS/awesome-cursorrules | Cursor rule | 41k | 5mo ago | CC0-1.0 | A | 0 | Cursor |
| rust-developmentadonai-labs/agent-runway | Cursor rule | 2 | 2d ago | MIT | A | 0 | Cursor |
| rustinboxpraveen/Minimize-Cursor-Cost | Cursor rule | 10 | 2mo ago | Apache-2.0 | A | 0 | Cursor |
| rustXD3an/awesome-ai-coding-all-in-one | Cursor rule | 15 | 11d ago | none | A | 0 | Cursor |
| secure-dev-rustmatank001/cursor-security-rules | Cursor rule | 383 | 1y ago | MIT | A | 0 | Cursor |