systing: Agent for Claude Code

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

rust-bpf-code-reviewer is an agent for Claude Code from josefbacik/systing. It costs 0 tokens per session (3,118 once invoked), scanned A, original, MIT.

An agent for reviewing Rust code, including code for BPF and eBPF, technologies used to run small programs in or near an operating-system kernel. It examines structure, Rust practices, efficiency, schemas, versions, and integration.

In plain words
What is it for?
Use it to review userspace Rust projects, BPF or eBPF components, recently written code, schema changes, and how the parts of a systems project fit together.
Why use it?
It gives a review focused on both ordinary Rust code and the extra constraints of kernel-side code. This can expose unclear patterns, unnecessary work, or compatibility and integration problems.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; names the SlashCommand tool.

This is josefbacik/systing's own configuration. It tells Claude Code how to work on systing 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 systing configures →

Reuse

Borrowing it

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

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/josefbacik/systing/rust-bpf-code-reviewer/github.svg)](https://agentmods.dev/agents/josefbacik/systing/rust-bpf-code-reviewer)
Your own site
<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/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-bpf-code-reviewer

Your own site · 80×15
<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="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,118 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.00000 $0.03118
Opus 5.5 $0.00000 $0.01247
Sonnet 5.5 $0.00000 $0.00624
Haiku 4.5 $0.00000 $0.00312

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

Security

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

.claude/agents/rust-bpf-code-reviewer.md · 152 lines

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

  1. First Pass - Structure: Understand the overall architecture and purpose of the code being reviewed
  2. Second Pass - Rust Quality: Evaluate Rust-specific patterns and practices
  3. Third Pass - BPF Quality: If BPF code is present, evaluate efficiency and correctness
  4. Fourth Pass - Schema & Versioning: Check for schema changes and proper versioning
  5. Final Pass - Integration: Consider how components work together

Rust Code Review Criteria

Idiomatic Patterns

  • Match over if/else: Flag if let chains or if/else blocks that would be cleaner as match expressions. 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 Result and Option, appropriate use of ? operator, meaningful error types
  • Ownership patterns: Efficient borrowing, avoiding unnecessary clones, proper lifetime annotations

Unsafe Usage

  • Minimize unsafe blocks: Every unsafe block must be justified and as small as possible
  • Safety documentation: All unsafe blocks 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 counter before counter += 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

Read the full file on GitHub · 152 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. 1mo ago First seen · 152 lines · 0 tokens per session scan A 0c56769c3275

Subscribe to this mod's changes

rust-bpf-code-reviewer is an agent published in the GitHub repository josefbacik/systing (181 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 3,118 tokens. 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

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.

moeru-ai/auv · 65 tokens

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).

uwuclxdy/agenticat · 66 tokens

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.

onsails/skills · 32 tokens