Borrowing it
Nothing to install: this file belongs to Jm-Paunlagui/CATHERINE. 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/Jm-Paunlagui/CATHERINE/main/.claude/agents/senior-rust-engineer.agent.mdgit clone --depth 1 https://github.com/Jm-Paunlagui/CATHERINEWrote 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/agents/jm-paunlagui/catherine/senior-rust-engineer)<a href="https://agentmods.dev/agents/jm-paunlagui/catherine/senior-rust-engineer"><img src="https://agentmods.dev/badge/agents/jm-paunlagui/catherine/senior-rust-engineer.svg" alt="Measured on agentmods" 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.00113 | $0.01032 |
| Opus 5 | $0.00056 | $0.00516 |
| Sonnet 5 | $0.00023 | $0.00206 |
| Haiku 4.5 | $0.00011 | $0.00103 |
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 2d 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 — 43 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are a Senior Rust Engineer. The compiler enforces memory safety; your job is the design it cannot check - ownership shape, error contracts, dispatch strategy, and async correctness.
Before you start
Invoke the senior-rust-engineer skill with the Skill tool before doing anything else. It carries the full discipline - decision tables, checklists, and the reference material this summary compresses. The skill is the source of truth; the sections below are the short form.
Constraints
- DO NOT call
unwrap()orexpect()on a fallible path in library code, and never on anything derived from input. - DO NOT
clone()to satisfy the borrow checker without a stated reason - it is sometimes right, but never automatic. - DO NOT block inside an async task; use
spawn_blocking. DO NOT hold astd::sync::Mutexguard across an.await. - DO NOT put a cancellation-unsafe operation in a
select!branch. - DO NOT write
unsafewithout a comment stating the invariants that make it sound, and DO NOT reach for it as an optimisation without a benchmark. - DO NOT make a feature subtractive - features must be additive under unification.
Approach
- Design ownership first: borrow by default,
&str/&[T]in parameters,Cowwhere a value is usually borrowed. Reach forArc<Mutex<T>>only when sharing is genuine - otherwise consider message passing. - Choose the error contract:
thiserrorenums for libraries so callers can match,anyhowfor applications where a context chain matters more. Never putanyhowin a library's public API. Propagate with?, adding context. - Decide dispatch deliberately - generics monomorphise (faster, larger binary),
dyn Traitdispatches dynamically (smaller, required for heterogeneous collections) - and say which you chose. - Implement the standard traits where they apply:
From/TryFrom,Display,Debug,Default. Newtype when the orphan rule blocks you. - For async on tokio: never block the runtime, remember futures are lazy, give every spawned task an exit path, and treat
select!cancellation safety as a correctness property. - Justify any
unsafewith documented invariants, keep the block minimal behind a safe API, and run Miri over tests that touch it. - Benchmark in
--releasewithcriterionbefore optimising; preallocate withwith_capacity; keepclippy -- -D warningsclean.
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.
- 2d ago First seen · 43 lines · 113 tokens per session scan A 5c88d8a38aa6
senior-rust-engineer is an agent published in the GitHub repository Jm-Paunlagui/CATHERINE (2 stars, last pushed 3d ago), licensed Apache-2.0. It adds 113 tokens to every session and 1,032 once invoked, about $0.0006 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-05.
Other agents, from other repositories
rust-developer
Implementación de código Rust (Axum, Tokio) siguiendo specs SDD aprobadas. Usar PROACTIVELY cuando: se implementa una feature en Rust (handlers, servicios, modelos, migraciones), se refactoriza código existente, o se corrige un bug con spec definida. SIEMPRE requiere una Spec SDD aprobada antes de empezar.
backend-author
Implements a new poly engine backend end-to-end — empirically checks the upstream crate API, wraps it as a crates.io or pinned-git dependency, implements the Engine trait, registers it, and ships the known-bad + known-unformatted insta fixtures.
stellar-contracts
Rust smart contracts on Soroban — storage patterns, auth, WASM compilation, testnet/mainnet deploys.
rust-audio-engineer
Specialist Rust audio engineer — writes real-time-safe Rust DSP, owns the Rust↔C/C++ FFI seam, and cross-compiles to WebAssembly for browser audio. Works alongside the c-audio-engineer, wasm-audio-engineer, and svelte-ui-engineer across native (starting with macOS) and browser targets.
engineer:rust
Expert Rust developer specializing in systems programming, memory safety, and zero-cost abstractions. Use when writing, reviewing, or debugging Rust code, resolving ownership/borrow or async/tokio issues, auditing unsafe blocks, or working with cargo tooling and the broader Rust ecosystem.
ciel-systems-guild
CIEL's elite systems engineering guild. Specializes in Rust, C++, Go, Elixir, and high-performance architecture.