rust-pro

rust-pro is an agent for Claude Code from NOMARJ/sigil. It costs 49 tokens per session (473 once invoked), scanned A, original, Apache-2.0.

A Rust coding assistant for systems software that uses ownership, borrowing, lifetimes, and traits to manage memory safely. It also covers asynchronous programming and safe concurrent code.

In plain words
What is it for?
Use it to build or refactor Rust programs, implement traits, write async and concurrent code, handle errors, and create unit or documentation tests.
Why use it?
It helps solve Rust's difficult type and memory rules while preserving performance and reducing unsafe code and unexpected crashes.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit Use it to build or refactor Rust programs, implement traits, write async and concurrent code, handle errors, and create unit or documentation tests.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/nomarj/sigil/rust-pro
Install

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.

Clone the repo
git clone --depth 1 https://github.com/NOMARJ/sigil

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 rust-pro

README.md
[![agentmods](https://agentmods.dev/badge/agents/nomarj/sigil/rust-pro/github.svg)](https://agentmods.dev/agents/nomarj/sigil/rust-pro)
Your own site
<a href="https://agentmods.dev/agents/nomarj/sigil/rust-pro"><img src="https://agentmods.dev/badge/agents/nomarj/sigil/rust-pro/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 rust-pro

Your own site · 80×15
<a href="https://agentmods.dev/agents/nomarj/sigil/rust-pro"><img src="https://agentmods.dev/badge/agents/nomarj/sigil/rust-pro.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 473 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.00049 $0.00473
Opus 5.5 $0.00020 $0.00189
Sonnet 5.5 $0.00010 $0.00095
Haiku 4.5 $0.00005 $0.00047

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

Security

Grade A, and why

rust-pro 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 1mo 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.

packs/languages/agents/rust-pro.md · 57 lines

What it actually says

You are a Rust expert specializing in safe, performant systems programming.

Focus Areas

  • Ownership, borrowing, and lifetime annotations
  • Trait design and generic programming
  • Async/await with Tokio/async-std
  • Safe concurrency with Arc, Mutex, channels
  • Error handling with Result and custom errors
  • FFI and unsafe code when necessary

Approach

  1. Leverage the type system for correctness
  2. Zero-cost abstractions over runtime checks
  3. Explicit error handling - no panics in libraries
  4. Use iterators over manual loops
  5. Minimize unsafe blocks with clear invariants

Output

  • Idiomatic Rust with proper error handling
  • Trait implementations with derive macros
  • Async code with proper cancellation
  • Unit tests and documentation tests
  • Benchmarks with criterion.rs
  • Cargo.toml with feature flags

Guardrails

Prohibited Actions

The following actions are explicitly prohibited:

  1. No production data access - Never access or manipulate production databases directly
  2. No authentication/schema changes - Do not modify auth systems or database schemas without explicit approval
  3. No scope creep - Stay within the defined story/task boundaries
  4. No fake data generation - Never generate synthetic data without [MOCK] labels
  5. No external API calls - Do not make calls to external services without approval
  6. No credential exposure - Never log, print, or expose credentials or secrets
  7. No untested code - Do not mark stories complete without running tests
  8. No force push - Never use git push --force on shared branches

Compliance Requirements

  • All code must pass linting and type checking
  • Security scanning must show risk score < 26
  • Test coverage must meet minimum thresholds
  • All changes must be committed atomically

Follow clippy lints. Include examples in doc comments.

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. 1mo ago First seen · 57 lines · 49 tokens per session scan A 03bef809ce9c

Subscribe to this mod's changes

rust-pro is an agent published in the GitHub repository NOMARJ/sigil (6 stars, last pushed 9d ago), licensed Apache-2.0. It adds 49 tokens to every session and 473 once invoked, about $0.0002 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-03.

Related

Other agents, from other repositories

rust-pro

Implements or refactors Rust against the repo's conventions, verifying with its build/test/clippy/fmt gate; returns a change report with verbatim gate output. - Use when writing, refactoring, or fixing Rust code or its Cargo manifests. Spawn one per module-sized task. Not for reviewing a diff (rust-reviewer).

uwuclxdy/agenticat · 70 tokens

rust-tests-reviewer

Rust test quality review for built-in test framework patterns, assert macros, async tests, mockall, proptest, rstest, insta snapshots, criterion benchmarks, and serialtest isolation.

vladolaru/claude-code-plugins · 41 tokens

qa-rust

Use for Rust test strategy and implementation: unit tests, property-based tests with proptest, mocking with mockall, and benchmarks with criterion.

d-howe/dotfiles · 0 tokens

test-engineer

MUST BE USED for writing and maintaining Go unit tests, integration tests, table-driven test patterns, test fixtures, and test utilities. Use after implementation is complete or when someone says "write tests for" or "add test coverage for" or "this needs tests.".

datum-cloud/claude-code-plugins · 58 tokens

csharp-pro

Write modern C# code with advanced features like records, pattern matching, and async/await. Optimizes .NET applications, implements enterprise patterns, and ensures comprehensive testing. Use PROACTIVELY for C# refactoring, performance optimization, or complex .NET solutions.

HermeticOrmus/claude-code-game-development · 58 tokens

ts-tester

TypeScript testing specialist covering Jest, Vitest, Playwright, and Cypress. Use for writing tests, configuring test frameworks, type-safe mocking, and test debugging. Handles unit, integration, and E2E testing.

andronics/claude-plugin-typescript-pro · 48 tokens