Borrowing it
Nothing to install: this file belongs to Sounio-lang/sounio. 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/Sounio-lang/sounio/main/.cursorrulesgit clone --depth 1 https://github.com/Sounio-lang/sounioWrote 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/sounio-lang/sounio/cursorrules)<a href="https://agentmods.dev/rules/sounio-lang/sounio/cursorrules"><img src="https://agentmods.dev/badge/rules/sounio-lang/sounio/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/sounio-lang/sounio/cursorrules"><img src="https://agentmods.dev/badge/rules/sounio-lang/sounio/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.01274 | $0.01274 |
| Opus 5.5 | $0.00510 | $0.00510 |
| Sonnet 5.5 | $0.00255 | $0.00255 |
| Haiku 4.5 | $0.00127 | $0.00127 |
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 24d 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 — 126 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Sounio Language Rules for Cursor
Sounio (.sio) is a systems + scientific programming language. It is NOT Rust. Full syntax reference: docs/guide/LLM_PROGRAMMING_GUIDE.md
Compiler
SOUC=./bin/souc $SOUC check file.sio # type-check $SOUC run file.sio # compile to temp ELF, then execute
Critical Syntax Differences from Rust
- NO semicolons:
let x = 5notlet x = 5; - NO
&mut: use&!for exclusive refs - NO
let mut: usevarfor mutable bindings - NO Rust macros:
assert(cond)notassert!(cond),println("text")notprintln!("text") - NO closure literals:
|x| x + 1does not work. Use named fn refs:let f = square - NO attributes: no
#[test],#[derive()]
Effects System (REQUIRED)
Functions must declare side effects or the compiler rejects them:
fn pure(a: i64, b: i64) -> i64 { a + b }
fn greet(name: &str) with IO { println(name) }
fn mutate(x: &!i32) with Mut { *x = 42 }
fn divide(a: f64, b: f64) -> f64 with Div, Panic { a / b }
fn main() with IO, Mut, Panic, Div { /* ... */ }
Effects: IO (print/file), Mut (&! mutation), Div (division/modulo), Panic (array access, assert, as casts)
Variables and Types
let x = 5 // immutable
var y: i32 = 10 // mutable
var buf: [i64; 8] = [0; 8] // fixed-size array
let p = Point { x: 1.0, y: 2.0 } // struct
let (a, b) = (1, 2) // tuple destructuring
Primitives: i8, i16, i32, i64, u8, u16, u32, u64, f32, f64, bool, char
Control Flow
for i in 0..10 { /* exclusive */ }
for i in 0..=10 { /* inclusive */ }
for x in arr { /* array iteration */ }
while cond { /* ... */ }
if x > 0 { "pos" } else { "neg" } // if is an expression
break and continue work in for-in and while loops.
Functions and Methods
fn square(x: i64) -> i64 { x * x }
// Function references (closures do NOT work)
let f = square
let r = f(7)
// Higher-order
fn apply(f: fn(i64) -> i64, x: i64) -> i64 { f(x) }
// Methods use explicit self
impl MyStruct {
fn new() -> MyStruct { MyStruct { val: 0 } }
fn get(self: &MyStruct) -> i64 { self.val }
fn set(self: &!MyStruct, v: i64) with Mut { self.val = v }
}
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.
- 24d ago Changed · -4 lines · -56 tokens per session 57e9841a9356
- 1mo ago Changed · +21 tokens per session 725b679f44cf
- 1mo ago Changed · +2 tokens per session c55357bd82b3
- 1mo ago First seen · 130 lines · 1,307 tokens per session scan A 6a09f0766aa3
cursorrules is a cursor rule published in the GitHub repository Sounio-lang/sounio (12 stars, last pushed today), licensed Apache-2.0. It adds 1,274 tokens to every session, about $0.0051 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-31.
Other cursor rules, from other repositories
archlang
Author, edit and check ArchLang .arch floor plans with the archlang CLI.
hymarkx
Writing HyMarkX (.hmx) documents and working in this repository.
rulesync
Canonical repository instructions for AI coding assistants (Claude Code, Cursor, Copilot, Cline, Windsurf).
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.