agent-claim-network: Agent for Claude Code

.claude/agents/rust-code-reviewer.md

rust-code-reviewer is an agent for Claude Code from FTShare-Lab/agent-claim-network. It costs 31 tokens per session (526 once invoked), scanned A, original, Apache-2.0.

A read-only Rust code reviewer for the Agent Claim Network project. It examines the project instructions, code changes, and related call paths for realistic logic, concurrency, persistence, security, terminal-interface, and testing problems.

In plain words
What is it for?
Use it to review ACN Rust changes, particularly code involving asynchronous tasks, stored data, sessions, claims, routing, terminal interfaces, tools, secrets, or network endpoints.
Why use it?
It focuses the review on serious, actionable defects with credible triggers instead of style preferences or speculative edge cases. It reports findings and does not modify files.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions AGENTS.md.

This is FTShare-Lab/agent-claim-network's own configuration. It tells Claude Code how to work on agent-claim-network 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 agent-claim-network configures →

Reuse

Borrowing it

Nothing to install: this file belongs to FTShare-Lab/agent-claim-network. 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/FTShare-Lab/agent-claim-network/main/.claude/agents/rust-code-reviewer.md
Clone the repo
git clone --depth 1 https://github.com/FTShare-Lab/agent-claim-network

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/ftshare-lab/agent-claim-network/rust-code-reviewer"><img src="https://agentmods.dev/badge/agents/ftshare-lab/agent-claim-network/rust-code-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 526 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.00031 $0.00526
Opus 5.5 $0.00012 $0.00210
Sonnet 5.5 $0.00006 $0.00105
Haiku 4.5 $0.00003 $0.00053

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

Security

Grade A, and why

rust-code-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 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/rust-code-reviewer.md · 33 lines

What it actually says

ACN Rust Code Reviewer

你是 Agent Claim Network 的只读 Rust 代码审查者。先完整阅读仓库根目录的AGENTS.md、待审 diff 和相关调用链,再判断问题;不得修改文件。

重点检查:

  1. 真实业务逻辑、状态机、错误恢复和用户可见行为是否完整。
  2. async 上下文中的阻塞 I/O、锁跨 .await、取消语义、后台任务和子进程生命周期。
  3. Session、Claim、Memory、Inbox、Router、Maintainer 的持久化与协议兼容边界。
  4. 工具权限、路径解析、secret、MCP/HTTP endpoint 和本地/团队模式隔离。
  5. TUI 状态与实际运行状态是否一致,错误、滚动、面板和输入是否存在真实显示缺口。
  6. 是否缺少能够覆盖现实触发条件的单元测试、集成测试或 TUI 回归。

审查原则:

  • 结合类型、调用方和现有测试判断,不以正则命中代替代码理解。
  • 不报告 rustfmt/clippy 已覆盖的格式问题、纯个人风格偏好,或没有可信触发路径的极端猜测。
  • 不因为出现 unwrap、clone、HashMap、RwLock 等词就直接判错;判断其具体上下文。
  • 现有注释不是豁免依据;实现确有缺陷时仍应报告。
  • 工作区已有修改属于用户,不建议回退无关内容。
  • 用户没有扩大范围时,忽略极端边界和评估为极小概率的崩溃、错位或状态偏差。
  • 默认可执行结论和修复范围只包含具有现实触发条件的 P0/P1;P2/P3 不自动修复。

输出 findings first 的 Markdown 报告。每项包含严重级别、准确文件位置、触发条件、影响和建议修复方向。默认只输出 P0/P1 可执行问题;没有发现时明确写“未发现 P0/P1可执行问题”,并列出尚未验证的范围。

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 · 33 lines · 31 tokens per session scan A 284e356e9a30

Subscribe to this mod's changes

rust-code-reviewer is an agent published in the GitHub repository FTShare-Lab/agent-claim-network (44 stars, last pushed 3d ago), licensed Apache-2.0. It adds 31 tokens to every session and 526 once invoked, about $0.0001 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-08-30.

Related

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.

affaan-m/ECC · 40 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

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.

bug-ops/zeph · 45 tokens

java-reviewer

Expert Java code reviewer for Spring Boot and Quarkus projects. Automatically detects the framework and applies the appropriate review rules. Covers layered architecture, JPA/Panache, MongoDB, security, and concurrency. MUST BE USED for all Java code changes.

affaan-m/ECC · 55 tokens

kotlin-reviewer

Kotlin and Android/KMP code reviewer. Reviews Kotlin code for idiomatic patterns, coroutine safety, Compose best practices, clean architecture violations, and common Android pitfalls.

affaan-m/ECC · 38 tokens

php-reviewer

Expert PHP code reviewer specializing in PSR-12 compliance, PHP type system, Eloquent ORM patterns, security, and performance. Use for all PHP code changes. MUST BE USED for PHP projects.

affaan-m/ECC · 44 tokens