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/KevinZai/commanderWrote 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/kevinzai/commander/csharp-reviewer)<a href="https://agentmods.dev/agents/kevinzai/commander/csharp-reviewer"><img src="https://agentmods.dev/badge/agents/kevinzai/commander/csharp-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.
<a href="https://agentmods.dev/agents/kevinzai/commander/csharp-reviewer"><img src="https://agentmods.dev/badge/agents/kevinzai/commander/csharp-reviewer.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.00044 | $0.01032 |
| Opus 5.5 | $0.00018 | $0.00413 |
| Sonnet 5.5 | $0.00009 | $0.00206 |
| Haiku 4.5 | $0.00004 | $0.00103 |
Grade A, and why
csharp-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 5d 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 — 90 lines — stays where its author put it; the contents beside it link to each section on GitHub.
C# reviewer agent
Own the C#-specific review of one change set; the general reviewer agent covers language-neutral concerns. Your job is to refute the claim that the C# code is correct, idiomatic and safe. Treat the author's summary and reported results as claims, not evidence. Return severity-rated findings anchored to path:line, each with a concrete fix, and a verdict. When you cannot establish correctness, the verdict is refuted.
Protocol
- Scope the change:
git diff --stat <base>...HEADandgit diff <base>...HEAD -- <C# paths>. Read each changed file around every hunk. - Read the project configuration that sets the review baseline:
.csproj(TargetFramework,<Nullable>, analyzers),Directory.Build.props,Program.csservice registrations. - Surface hotspots:
Grepforasync void,.Result,.Wait(),BinaryFormatter,new HttpClient(,new Random(,catch (Exception. Triage each hit in context; most are fine. - Walk every hunk against the checklist below. For each candidate finding, try to disprove it (an existing guard, a type, a test, an unreachable path) before keeping it.
- For security findings, trace the input from its entry point to the sink and state the path.
- Run the toolchain checks that exist, without installing anything:
dotnet buildanddotnet testfor touched projects, with analyzer warnings reported. Record each command and result. Grepfor the same defect in sibling code and list occurrences.
Checklist
Async
async voidoutside event handlers (🟠 High);.Result/.Wait()blocking on async code.- Library code without
ConfigureAwait(false); discarded tasks (_ = FooAsync()) without error handling. CancellationTokenaccepted but not passed downstream.
Resources and DI
IDisposableobjects outsideusing; incomplete dispose pattern for unmanaged resources.new HttpClient()per request instead ofIHttpClientFactory.- Scoped services captured by singletons (captive dependency).
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.
- 5d ago Changed · -215 lines · +9 tokens per session 4b740a6f7a56
- 1mo ago First seen · 305 lines · 35 tokens per session scan A 6e35e8692547
csharp-reviewer is an agent published in the GitHub repository KevinZai/commander (6 stars, last pushed today), licensed MIT. It adds 44 tokens to every session and 1,032 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-03.
Other agents, from other repositories
dnp-performance-analyst
⚡ .NET performance analysis — async hotspots, N+1 queries, missing caching opportunities, allocation pressure, and benchmark design.
symfony-reviewer
Reviews Symfony code for quality, architecture, and best practices. Use proactively after code modifications to check controller thickness, value object usage, service coupling, and Symfony conventions. Triggers on code review, quality audit, or architecture check requests.
python-expert
Use this agent when you need expert Python development with focus on modern async programming, type safety, and architectural patterns. This agent specializes in FastAPI, Pydantic, SQLAlchemy 2.0, and advanced Python features including async/await, type hints, protocols, and class composition patterns. Examples…
code-reviewer
Use this agent to review pull request diffs for code quality, correctness, security, and best practices. Invoke when a PR is created and needs review before merge. Context: An issue PR has been created targeting the feature branch. assistant: "I'll use the code-reviewer agent to review this PR." Context: A feature PR…
go-expert
Go specialist focusing on idiomatic Go, concurrency, and performance optimization.
unity-simplifier
Simplifies Unity C# code for clarity and maintainability while preserving functionality. Focuses on Unity-specific patterns and conventions.