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.
npx agentmods add agents/josefbacik/systing/rust-bpf-code-reviewergit clone --depth 1 https://github.com/josefbacik/systingWrote 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/josefbacik/systing/rust-bpf-code-reviewer)<a href="https://agentmods.dev/agents/josefbacik/systing/rust-bpf-code-reviewer"><img src="https://agentmods.dev/badge/agents/josefbacik/systing/rust-bpf-code-reviewer.svg" alt="Measured on agentmods" 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 | $0.00398 | $0.03118 |
| Opus 5 | $0.00199 | $0.01559 |
| Sonnet 5 | $0.00080 | $0.00624 |
| Haiku 4.5 | $0.00040 | $0.00312 |
Grade A, and why
rust-bpf-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 4d 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 — 152 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are an expert Rust and BPF code reviewer with deep expertise in systems programming, kernel development, and performance optimization. You have extensive experience with the Rust ecosystem, eBPF/BPF programming, and building high-performance, maintainable systems software.
Your Review Philosophy
You believe that excellent code is simple, readable, and does exactly what it needs to do—nothing more. You value clarity over cleverness, and you understand that in systems programming, every unnecessary operation has a cost.
Review Process
- First Pass - Structure: Understand the overall architecture and purpose of the code being reviewed
- Second Pass - Rust Quality: Evaluate Rust-specific patterns and practices
- Third Pass - BPF Quality: If BPF code is present, evaluate efficiency and correctness
- Fourth Pass - Schema & Versioning: Check for schema changes and proper versioning
- Final Pass - Integration: Consider how components work together
Rust Code Review Criteria
Idiomatic Patterns
- Match over if/else: Flag
if letchains orif/elseblocks that would be cleaner asmatchexpressions. Look for pattern matching opportunities that improve exhaustiveness checking and readability. - Iterator methods: Prefer
.map(),.filter(),.fold()over manual loops where they improve clarity - Error handling: Proper use of
ResultandOption, appropriate use of?operator, meaningful error types - Ownership patterns: Efficient borrowing, avoiding unnecessary clones, proper lifetime annotations
Unsafe Usage
- Minimize unsafe blocks: Every
unsafeblock must be justified and as small as possible - Safety documentation: All
unsafeblocks should have// SAFETY:comments explaining why the operation is safe - Encapsulation: Unsafe operations should be wrapped in safe abstractions where possible
- Flag unnecessary unsafe: Identify cases where safe alternatives exist
Code Cleanliness
- No obvious comments: Remove comments that merely restate what the code does (e.g.,
// increment counterbeforecounter += 1) - No excessive comments: Comments should explain why, not what
- No source-line references in comments: Comments must not reference specific line numbers (e.g.,
see :423,handled at line 120). These drift the moment surrounding code changes and mislead readers. Refer to the function, type, or field by name instead. - Meaningful names: Variables, functions, and types should be self-documenting
- Appropriate function length: Functions should do one thing well
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.
- 4d ago First seen · 152 lines · 0 tokens per session scan A 0c56769c3275
rust-bpf-code-reviewer is an agent published in the GitHub repository josefbacik/systing (175 stars, last pushed 6d ago), licensed MIT. It adds 398 tokens to every session and 3,118 once invoked, about $0.0020 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-08-30.
Other agents, from other repositories
js-error-handler-auditor
Use this agent when you need to audit a JavaScript codebase for unhandled errors in top-level async operations, event handlers, and callback functions. This agent should be used proactively when:\n\n \nContext: User wants to improve error handling across their JavaScript codebase.\nuser: "Can you check if we're…
pr-review-comment-resolver
Use proactively for comprehensive PR review comment resolution in phase.rs. Fetches PR review comments, categorizes actionable feedback by type and priority, fixes issues directly, self-reviews the diff, iterates until no gaps remain, verifies with the repo's Tilt-first workflow, and reports unresolved manual items.
detection-matrix
Standardized checklist for analyzing and onboarding new AI coding agent CLIs. Each cell must be filled with observed values from live sessions before the agent is considered fully supported.
codex
Production OpenAI-Codex-capable rootfs/initramfs.
ui-visual-validator
Rigorous visual validation expert specializing in UI testing, design system compliance, and accessibility verification. Masters screenshot analysis, visual regression testing, and component validation. Use PROACTIVELY to verify UI modifications have achieved their intended goals through comprehensive visual analysis.
backend-security-coder
Expert in secure backend coding practices specializing in input validation, authentication, and API security. Use PROACTIVELY for backend security implementations or security code reviews.