rust-pro

rust-pro is an agent for Claude Code from echoVic/blade-code. It costs 49 tokens per session (247 once invoked), scanned A, original, MIT.

A Rust programming assistant for writing safe systems code with ownership, lifetimes, traits, asynchronous programming, and concurrency.

In plain words
What is it for?
Use it to build or refactor Rust libraries and applications, implement traits and async code, integrate foreign-function interfaces, and add tests or benchmarks.
Why use it?
It helps handle Rust's strict rules and advanced patterns while keeping error handling, cancellation, testing, and documentation in view.

Agent for Claude Code

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.

agentmods
npx agentmods add agents/echovic/blade-code/rust-pro
Clone the repo
git clone --depth 1 https://github.com/echoVic/blade-code

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/echovic/blade-code/rust-pro.svg)](https://agentmods.dev/agents/echovic/blade-code/rust-pro)
Your own site
<a href="https://agentmods.dev/agents/echovic/blade-code/rust-pro"><img src="https://agentmods.dev/badge/agents/echovic/blade-code/rust-pro.svg" alt="Measured on agentmods" 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 247 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00247
Opus 5 $0.00024 $0.00123
Sonnet 5 $0.00010 $0.00049
Haiku 4.5 $0.00005 $0.00025

Measured 2d ago against content hash 6ee932993efc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, 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 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.

.claude/agents/rust-pro.md · 36 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

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. 2d ago First seen · 36 lines · 49 tokens per session scan A 6ee932993efc

Subscribe to this mod's changes

rust-pro is an agent published in the GitHub repository echoVic/blade-code (178 stars, last pushed today), licensed MIT. It adds 49 tokens to every session and 247 once invoked, about $0.0002 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.

Related

Other agents, from other repositories

rust-framework-architect

Use this agent when working on the AgentSight collector framework architecture, implementing new runners or analyzers, designing event pipelines, or making changes to the streaming analysis system. Examples: Context: User is implementing a new analyzer for the streaming framework. user: 'I need to create a new…

eunomia-bpf/agentsight · 0 tokens

rust-build-resolver

Rust build, compilation, and dependency error resolution specialist. Fixes cargo build errors, borrow checker issues, and Cargo.toml problems with minimal changes. Use when Rust builds fail.

affaan-m/ECC · 41 tokens

code-reviewer

Code review specialist for Rust projects. Use after completing features or before PRs to ensure memory safety, idiomatic Rust, and adherence to project standards.

zircote/rlm-rs · 34 tokens

rust-developer

Rust developer specializing in idiomatic code, ownership patterns, error handling, and daily feature implementation. Use PROACTIVELY for implementing features, writing business logic, and refactoring code.

bug-ops/zeph · 41 tokens

rust-performance-engineer

Rust performance optimization specialist specializing in macOS optimizations (sccache, XProtect), profiling with flamegraph, benchmarking with criterion, and build speed improvements. Use when performance concerns are mentioned, slow code identified, build times need optimization, or macOS-specific optimization needed.

bug-ops/zeph · 60 tokens

rust-critic

Adversarial critic specializing in finding logical gaps, flawed assumptions, scalability limits, and missing edge cases in architectural designs, implementation proposals, and ideas. Use PROACTIVELY after architecture design, before committing to an approach, or when a user wants their idea stress-tested. Never writes…

bug-ops/zeph · 109 tokens