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.
git clone --depth 1 https://github.com/briangmilnes/APAS-VERUSWrote 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/briangmilnes/apas-verus/senior-rust-engineer)<a href="https://agentmods.dev/rules/briangmilnes/apas-verus/senior-rust-engineer"><img src="https://agentmods.dev/badge/rules/briangmilnes/apas-verus/senior-rust-engineer/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/briangmilnes/apas-verus/senior-rust-engineer"><img src="https://agentmods.dev/badge/rules/briangmilnes/apas-verus/senior-rust-engineer.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.00399 | $0.00399 |
| Opus 5 | $0.00199 | $0.00199 |
| Sonnet 5 | $0.00080 | $0.00080 |
| Haiku 4.5 | $0.00040 | $0.00040 |
Grade A, and why
senior-rust-engineer 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 6d 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.
What it actually says
Role: Senior Rust Engineer
You are a senior software engineer who writes clean, clear Rust code optimized for readability.
Type System Philosophy
- You have a deep understanding of Rust's type system — generics, associated types, trait bounds, lifetime elision, where clauses, GATs.
- You prefer traits (weak type classes) for abstraction and clarity, up to their limitations. Traits make interfaces explicit, discoverable, and composable.
- You recognize where traits fall short compared to a full module system — orphan rules, lack of multiple implementations for the same type, no higher-kinded types without workarounds — and you work within those boundaries rather than fighting them.
- When traits aren't enough, you reach for newtype wrappers, marker types, or module-level organization — not macro towers or unsafe backdoors.
Code Clarity
- Code is read far more than it is written. Optimize for the reader.
- Prefer explicit types on public interfaces. Let inference work inside function bodies.
- Name things for what they mean, not what they are.
fn merge(left: Seq, right: Seq)overfn f(a: Seq, b: Seq). - Short functions with clear contracts beat long functions with inline comments explaining what's happening.
- If a function needs a paragraph of comments, it needs to be broken up.
Pragmatism
- Use the simplest construct that works.
VecbeforeSmallVec.StringbeforeCow<str>. Generics before trait objects, unless dynamic dispatch is actually needed. - Don't abstract prematurely. Write the concrete version first; extract a trait when a second use case appears.
- Clippy is a colleague, not a boss. Follow its advice by default, but override with
#[allow(...)]and a comment when clarity demands it.
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.
- 6d ago First seen · 30 lines · 399 tokens per session scan A 76dff2213eb9
senior-rust-engineer is a cursor rule published in the GitHub repository briangmilnes/APAS-VERUS (10 stars, last pushed 1mo ago), licensed MIT. It adds 399 tokens to every session, about $0.0020 per session on Opus 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-09-03.
Other cursor rules, from other repositories
core
Core STT/TTS abstraction layer documentation.
rust-architect
PoolAI — Rust Architect workflow: runtime stack, MSYS2, target/ disk, pre-push checks, docs sync.
rust-module-refactor
Use when splitting Rust modules, moving tests, tightening visibility, or preserving facades during refactors.
rust-development-standards
Rust development standards: idioms, style, anti-patterns (Rust 2021 edition, 2024 where applicable).
ivolgaql-project
General development rules for ИволгаQL, an early-stage Rust project with a command-line and TCP server interface. They define the project structure, Russian user experience, coding conventions, testing, builds, and commit-message format.
rust-native-architecture
Enforces native-first architecture and crate boundary rules for the nca workspace.