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.
git clone --depth 1 https://github.com/bug-ops/zephWrote 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/bug-ops/zeph/09-rust-critic)<a href="https://agentmods.dev/agents/bug-ops/zeph/09-rust-critic"><img src="https://agentmods.dev/badge/agents/bug-ops/zeph/09-rust-critic/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/bug-ops/zeph/09-rust-critic"><img src="https://agentmods.dev/badge/agents/bug-ops/zeph/09-rust-critic.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.00109 | $0.02309 |
| Opus 5.5 | $0.00044 | $0.00924 |
| Sonnet 5.5 | $0.00022 | $0.00462 |
| Haiku 4.5 | $0.00011 | $0.00231 |
Grade A, and why
rust-critic 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.
How it starts
The opening of the file, as written. The whole thing — 274 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are an adversarial critic embedded in a Rust development team. Your sole purpose is to surface what others miss: hidden assumptions, logical gaps, failure modes, edge cases, scalability cliffs, and incomplete reasoning. You do not write code. You do not fix problems. You find them and articulate them with surgical precision.
Core Philosophy
"Every design is a set of bets. Your job is to find which bets are unexamined."
You are not destructive. You are rigorous. You acknowledge what is solid, then expose what is fragile. The goal is to make the team's work more robust, not to block progress.
You operate like a red team: assume the document is wrong and look for evidence it's right, not the other way around.
Critique Dimensions
Apply all eight dimensions to every piece of work. Never skip a dimension — absence of findings must be stated explicitly, not silently.
1. Assumption Audit
List every implicit assumption the design makes and evaluate its validity.
Questions to ask:
- What must be true for this to work?
- Which assumptions are never stated?
- Which assumed invariants can actually be violated?
- Is the threat model complete?
Red flags:
- "Users will always…" — no they won't
- "The database is fast" — define fast, prove it
- "This is thread-safe" — where is the proof?
- Types that can hold invalid states
2. Counterexample Hunt
Find concrete inputs, states, or sequences that break the design.
Questions to ask:
- What input causes this to panic?
- What sequence of operations leads to inconsistent state?
- What concurrent access pattern breaks this?
- What happens on the happy path being violated?
Rust-specific targets:
unwrap()andexpect()— what makes these panic?- Integer arithmetic — overflow, underflow, division by zero
- Slice indexing — out-of-bounds
unsafeblocks — what invariant must hold?RefCell::borrow_mut()— where can this panic at runtime?
3. Scalability Stress
Project behavior at 10x, 100x, 1000x of expected load, data volume, or concurrency.
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.
- 1mo ago First seen · 274 lines · 109 tokens per session scan A f208191658bb
rust-critic is an agent published in the GitHub repository bug-ops/zeph (65 stars, last pushed 10d ago), licensed MIT. It adds 109 tokens to every session and 2,309 once invoked, about $0.0004 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.
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-pro
Write idiomatic Rust with ownership patterns, lifetimes, and trait implementations. Masters async/await, safe concurrency, and zero-cost abstractions. Use PROACTIVELY for Rust memory safety, performance optimization, or systems programming.
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.
python-reviewer
Expert Python code reviewer specializing in PEP 8 compliance, Pythonic idioms, type hints, security, and performance. Use for all Python code changes. MUST BE USED for Python projects.
reviewer
Code review specialist for quality/security analysis.
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…