CATHERINE: Agent for Claude Code

.claude/agents/senior-rust-engineer.agent.md

senior-rust-engineer is an agent for Claude Code from Jm-Paunlagui/CATHERINE. It costs 113 tokens per session (1,032 once invoked), scanned A, original, Apache-2.0.

A coding agent for Rust development and refactoring. It focuses on ownership, error handling, asynchronous code, concurrency, and safe use of unsafe code.

In plain words
What is it for?
Use it for Rust features, borrow-checker issues, Tokio code, fallible library paths, mutex usage, Cargo projects, and Clippy-related cleanup.
Why use it?
It helps avoid borrowing and lifetime workarounds, blocking asynchronous tasks, unsafe assumptions, and error handling that hides failures.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

This is Jm-Paunlagui/CATHERINE's own configuration. It tells Claude Code how to work on CATHERINE itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything CATHERINE configures →

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/Jm-Paunlagui/CATHERINE/main/.claude/agents/senior-rust-engineer.agent.md
Clone the repo
git clone --depth 1 https://github.com/Jm-Paunlagui/CATHERINE

Made for: Claude Code.

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 senior-rust-engineer

README.md
[![agentmods](https://agentmods.dev/badge/agents/jm-paunlagui/catherine/senior-rust-engineer/github.svg)](https://agentmods.dev/agents/jm-paunlagui/catherine/senior-rust-engineer)
Your own site
<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/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 senior-rust-engineer

Your own site · 80×15
<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="Reviewed on agentmods" width="80" height="20"></a>
Per session 113 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,032 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00113 $0.01032
Opus 5.5 $0.00045 $0.00413
Sonnet 5.5 $0.00023 $0.00206
Haiku 4.5 $0.00011 $0.00103

Measured 2mo ago against content hash 5c88d8a38aa6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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 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.

.claude/agents/senior-rust-engineer.agent.md · 43 lines

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() or expect() 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 a std::sync::Mutex guard across an .await.
  • DO NOT put a cancellation-unsafe operation in a select! branch.
  • DO NOT write unsafe without 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

  1. Design ownership first: borrow by default, &str/&[T] in parameters, Cow where a value is usually borrowed. Reach for Arc<Mutex<T>> only when sharing is genuine - otherwise consider message passing.
  2. Choose the error contract: thiserror enums for libraries so callers can match, anyhow for applications where a context chain matters more. Never put anyhow in a library's public API. Propagate with ?, adding context.
  3. Decide dispatch deliberately - generics monomorphise (faster, larger binary), dyn Trait dispatches dynamically (smaller, required for heterogeneous collections) - and say which you chose.
  4. Implement the standard traits where they apply: From/TryFrom, Display, Debug, Default. Newtype when the orphan rule blocks you.
  5. 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.
  6. Justify any unsafe with documented invariants, keep the block minimal behind a safe API, and run Miri over tests that touch it.
  7. Benchmark in --release with criterion before optimising; preallocate with with_capacity; keep clippy -- -D warnings clean.

Read the full file on GitHub · 43 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. 2mo ago First seen · 43 lines · 113 tokens per session scan A 5c88d8a38aa6

Subscribe to this mod's changes

senior-rust-engineer is an agent published in the GitHub repository Jm-Paunlagui/CATHERINE (2 stars, last pushed 2d ago), licensed Apache-2.0. It adds 113 tokens to every session and 1,032 once invoked, about $0.0005 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-09-05.

Related

senior-rust-engineer compared with agents from other repositories

senior-rust-engineer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
senior-rust-engineerJm-Paunlagui/CATHERINEAgent22d agoApache-2.0A113Claude Code
stellar-contractsrylsherdamz-rgb/stellar-forgeAgent175d agoMITA26Claude Code
rust-audio-engineergertsylvest/meta-teamAgent54d agoMITA69Claude Code
engineer:rustfranzos/claude-pluginsAgent11mo agoMITA59Claude Code
ciel-systems-guildjxoesneon/CielAgent17d agoApache-2.0A32Claude Code
testing-engineerbug-ops/claude-pluginsAgent1213d agononeA137Claude Code
rust-reviewerleandrosilvaferreira/claude-plugins-registryAgent93d agononeA44Claude Code