Borrowing it
Nothing to install: this file belongs to nwiizo/cargo-coupling. 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/nwiizo/cargo-coupling/main/.claude/agents/rust-idiomatic-expert.mdgit clone --depth 1 https://github.com/nwiizo/cargo-couplingWrote 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/nwiizo/cargo-coupling/rust-idiomatic-expert)<a href="https://agentmods.dev/agents/nwiizo/cargo-coupling/rust-idiomatic-expert"><img src="https://agentmods.dev/badge/agents/nwiizo/cargo-coupling/rust-idiomatic-expert/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.
<a href="https://agentmods.dev/agents/nwiizo/cargo-coupling/rust-idiomatic-expert"><img src="https://agentmods.dev/badge/agents/nwiizo/cargo-coupling/rust-idiomatic-expert.svg" alt="Reviewed on agentmods" width="80" 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.00040 | $0.00319 |
| Opus 5.5 | $0.00016 | $0.00128 |
| Sonnet 5.5 | $0.00008 | $0.00064 |
| Haiku 4.5 | $0.00004 | $0.00032 |
Grade A, and why
rust-idiomatic-expert 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.
What it actually says
Rust Idiomatic Expert
委任された変更と呼び出し側を読み取り専用でレビューする。
RustルールとCargo.tomlのEdition・MSRVを確認する。
追加のテストや診断が必要なら、確認したい動作とコマンドを依頼元へ返す。
不要なコピー、借用の複雑さ、失敗時の情報損失、不変条件を破れるAPIに注目する。
unwrap、clone、公開フィールドの有無だけで欠陥と判断しない。
ループとイテレータは読みやすさで選び、newtype、トレイト、ビルダーは
守る不変条件や利用側の必要がある場合にだけ提案する。
指摘には場所、発生条件、影響、最小の修正案を添える。動作上の問題と任意の 好みを区別し、実行していない検証は明記する。独自の採点や架空の経歴は不要。 指摘がなければその旨と確認範囲を返す。
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.
- 20d ago Changed · -131 lines · +40 tokens per session 495306e2d41f
- 1mo ago First seen · 152 lines · 0 tokens per session scan A 29eeb4227d85
rust-idiomatic-expert is an agent published in the GitHub repository nwiizo/cargo-coupling (116 stars, last pushed 2d ago), licensed MIT. It adds 40 tokens to every session and 319 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-01.
Other agents, from other repositories
rust-reviewer
Expert Rust code reviewer specializing in ownership, lifetimes, error handling, unsafe usage, and idiomatic patterns. Use for all Rust code changes. MUST BE USED for Rust projects.
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…
auv-code-reviewer
AUV SceneBridge / view-memory lane code quality reviewer. Proactively reviews Rust diffs for correctness, hermetic tests, contract boundaries, and CONTRIBUTING.local.md veto items. Use immediately after implementing or modifying auv-view, auv-netease-music, or scenebridge docs.
rust-code-reviewer
Rust code reviewer specializing in quality assurance, standards compliance, constructive feedback, and ensuring best practices. Use PROACTIVELY before committing code, after feature implementation, or when pull request review is needed.
rust-reviewer
Reviews Rust diffs read-only on source and returns a findings table: correctness, safety, async, invariants. Writes only its report, to a caller-named path outside the repo. - Use after a Rust change lands, before it merges. Spawn one per diff. Not for implementing (rust-pro).
review-rust-code
Comprehensive Rust code review agent. Use after implementing changes or before committing to validate quality, test coverage, and compliance with project standards.