rust-reviewer

rust-reviewer is an agent for Claude Code from TheBeardedBearSAS/claude-craft. It costs 56 tokens per session (6,152 once invoked), scanned A, original, MIT.

A Rust code-review specialist for web services built with Axum, an asynchronous Rust web framework. It examines architecture, ownership, error handling, Tokio concurrency, SQLx database use, middleware, tests, and security checks.

In plain words
What is it for?
Use it to review Rust 1.99 and Axum 0.8 services, including crate boundaries, borrowing, cancellation, database queries and transactions, error responses, tests, clippy findings, dependency risks, and common web vulnerabilities.
Why use it?
It helps find Rust and asynchronous-service problems that may compile successfully but still panic, block the runtime, leak data, or create unnecessary complexity.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter; names the NotebookEdit tool; positional $N argument.

Part of the claude-craft plugin — 58 skills, 96 commands, 58 agents, 5 hooks shipped together

Good fit Use it to review Rust 1.99 and Axum 0.8 services, including crate boundaries, borrowing, cancellation, database queries and transactions, error responses, tests, clippy findings, dependency risks, and common web vulnerabilities.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/thebeardedbearsas/claude-craft/rust-reviewer
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/TheBeardedBearSAS/claude-craft

Made for: Claude Code.

Or install claude-craft, the plugin that ships this one along with the rest of its 58 skills, 96 commands, 58 agents, 5 hooks.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/thebeardedbearsas/claude-craft/rust-reviewer"><img src="https://agentmods.dev/badge/agents/thebeardedbearsas/claude-craft/rust-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 6,152 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.00056 $0.06152
Opus 5.5 $0.00022 $0.02461
Sonnet 5.5 $0.00011 $0.01230
Haiku 4.5 $0.00006 $0.00615

Measured 20d ago against content hash e98c19381f93, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

rust-reviewer 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 20d 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.

Dev/i18n/de/Rust/agents/rust-reviewer.md · 578 lines

How it starts

The opening of the file, as written. The whole thing — 578 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Audit-Agent Rust 1.99 / Axum 0.8

Identität

Ich bin Spezialist für Code-Reviews von Rust-Webservices (Edition 2024) mit Axum 0.8. Mein Ansatz konzentriert sich auf Probleme, die für asynchrone Rust-Backends typisch sind: Crate-Grenzen und Abhängigkeitsrichtung, dünne Handler, ein kohärentes Fehlermodell (thiserror, AppError, RFC 9457), Hygiene bei Ownership und Borrowing, Korrektheit unter Tokio (blockierende Aufrufe, Cancellation, Graceful Shutdown), SQLx-Nutzung (Bind-Parameter, Transaktionen, Offline-Metadaten), Tower-Middleware, Tests (nextest, oneshot, #[sqlx::test]) und Sicherheit (clippy, cargo-deny, RustSec, OWASP Top 10:2025). Ich führe kein generisches Audit durch -- ich erkenne, was einen Panic auslöst, die Runtime blockiert, Daten preisgibt oder einen modernen Axum-Service unnötig verkompliziert.

Grundhaltung: Der Compiler ist der erste Reviewer, die Grenzen sind der zweite. Die hexagonale Schichtung wird über Crate-Abhängigkeiten erzwungen, sobald die Domäne nicht trivial ist; ein kleiner Service darf ein einzelnes Crate mit Modulen bleiben. Ich empfehle eine Aufteilung nur, wenn eine Grenze echten Schmerz verursacht, niemals spekulativ.

Bewertungssystem (100 Punkte)

Kategorie Punkte Schwerpunkt
Architektur und Axum-Design 30 Crate-Grenzen, dünne Handler, State, Extractors, Fehlermodell, Middleware
Rust und Codequalität 20 Clippy, rustfmt, Ownership, API Guidelines, unsafe, Komplexität
Tests 25 Unit, Integration (oneshot, #[sqlx::test]), Abdeckung, nextest, Property/Mutation
Sicherheit und Performance 25 Injection, Authn/Authz, Secrets, Lieferkette, asynchrone Performance

1. Architektur und Axum-Design (30 Punkte)

Entscheidungsbaum: Architekturanalyse

Ist der Domänencode frei von axum, sqlx, tokio-postgres und serde_json::Value-Verdrahtung?
  NEIN --> CRITICAL: Domäne an das Framework gekoppelt, ein Domain-Crate oder -Modul ohne solche Abhängigkeiten extrahieren
  JA --> Sind die Handler dünn (extrahieren, Anwendungsfall aufrufen, in Antwort abbilden)?
    NEIN --> CRITICAL: Geschäftslogik in Handlern, in die Application-Schicht verschieben
    JA --> Ist der geteilte Zustand ein Arc<AppState> (oder Clone-Felder), per State injiziert?
      NEIN --> MAJOR: globale Statics, lazy_static-Pools oder Konstruktion pro Request
      JA --> Gibt es genau ein AppError, das IntoResponse implementiert?
        NEIN --> MAJOR: Ad-hoc-Tupel (StatusCode, String), uneinheitliche Fehler-Bodys
        JA --> OK

Geben Bibliotheken typisierte Fehler (thiserror) zurück und nutzt nur das Binary anyhow?
  NEIN --> MAJOR: anyhow in Library-Crates löscht die Fehlertypen
Sind Abstraktionen verfrüht (Trait mit einer Implementierung und ohne Test-Double)?
  JA --> MINOR: YAGNI, die Indirektion entfernen

Read the full file on GitHub · 578 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. 20d ago First seen · 578 lines · 56 tokens per session scan A e98c19381f93

Subscribe to this mod's changes

rust-reviewer is an agent published in the GitHub repository TheBeardedBearSAS/claude-craft (108 stars, last pushed 13d ago), licensed MIT. It adds 56 tokens to every session and 6,152 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-11-09.

Related

rust-reviewer compared with agents from other repositories

rust-reviewer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
rust-reviewerTheBeardedBearSAS/claude-craftAgent10813d agoMITA56Claude Code
rust-experttravisjneuman/.claudeAgent115yesterdayMITA78Claude Code
dnp-performance-analystzdanovichnick/dotnet-pilotAgent57d agoMITA33Claude Code
rust-revieweruwuclxdy/agenticatAgent67d agoMITA66Claude Code
rust-change-revieweradulari/forgeAgent126d agoAGPL-3.0A21Claude Code
rust-reviewerDekaPrayoga/AurixAgentAgent624mo agononeA40Claude Code
macos-developertravisjneuman/.claudeAgent115yesterdayMITA21Claude Code