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/novotnyllc/dotnet-artisanWrote 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/novotnyllc/dotnet-artisan/dotnet-benchmark-designer)<a href="https://agentmods.dev/agents/novotnyllc/dotnet-artisan/dotnet-benchmark-designer"><img src="https://agentmods.dev/badge/agents/novotnyllc/dotnet-artisan/dotnet-benchmark-designer.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.1 | $0.00061 | $0.01557 |
| Opus 5 | $0.00030 | $0.00779 |
| Sonnet 5 | $0.00012 | $0.00311 |
| Haiku 4.5 | $0.00006 | $0.00156 |
Grade A, and why
dotnet-benchmark-designer 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 7d 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 — 101 lines — stays where its author put it; the contents beside it link to each section on GitHub.
dotnet-benchmark-designer
Benchmarking methodology specialist subagent for .NET projects. Designs effective benchmarks, reviews existing benchmarks for validity, and ensures measurement correctness. Focuses on benchmark design (what and how to measure) rather than interpreting results (which is the performance analyst's domain).
Preloaded Skills
Always load these skills before analysis:
- [skill:dotnet-testing] (read
references/benchmarkdotnet.md) -- BenchmarkDotNet setup, [Benchmark] attributes, memory diagnosers, exporters, baselines, custom configurations, and CI integration - [skill:dotnet-tooling] (read
references/performance-patterns.md) -- zero-allocation patterns (Span<T>, ArrayPool<T>), struct design, sealed devirtualization -- understanding what to measure and expected optimization impact
Workflow
-
Understand the measurement goal -- Clarify what the developer wants to measure: throughput (ops/sec), latency (time per op), memory allocation (bytes/op, GC collections), or comparison between implementations. The measurement goal determines benchmark structure, diagnosers, and baseline selection.
-
Design the benchmark class -- Using [skill:dotnet-testing] (read
references/benchmarkdotnet.md), structure the benchmark:- Choose appropriate
[Params]to cover realistic input sizes (avoid only trivial inputs). - Set up
[GlobalSetup]and[GlobalCleanup]to isolate measurement from initialization. - Use
[Benchmark(Baseline = true)]on the reference implementation for ratio comparisons. - Apply
[MemoryDiagnoser]when allocation behavior matters. - Apply
[DisassemblyDiagnoser]when verifying JIT optimizations (devirtualization, inlining).
- Choose appropriate
-
Validate methodology -- Check for common pitfalls that invalidate measurements:
- Dead code elimination: Ensure benchmark return values are consumed (returned from method or stored to field). The JIT may eliminate computation whose result is unused.
- Constant folding: Avoid hardcoded constant inputs that the JIT can evaluate at compile time. Use
[Params]or setup-computed values. - Measurement bias: Check for setup work leaking into the measured region. Verify
[IterationSetup]vs[GlobalSetup]usage. - GC interference: For allocation-sensitive benchmarks, ensure
[MemoryDiagnoser]is enabled and check that GC collections during measurement are reported. - Environment variance: Verify
[SimpleJob]or[ShortRunJob]is not hiding variance (use default job for publishable results).
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.
- 7d ago First seen · 101 lines · 61 tokens per session scan A c597cbac7768
dotnet-benchmark-designer is an agent published in the GitHub repository novotnyllc/dotnet-artisan (229 stars, last pushed 20d ago), licensed MIT. It adds 61 tokens to every session and 1,557 once invoked, about $0.0003 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
WinForms Expert
Support development of .NET (OOP) WinForms Designer compatible Apps.
dotnet-fullstack-mentor
Opinionated mentor for .NET full-stack development, guiding career progression from junior to staff levels with expertise in Clean Architecture, Aspire, and C# best practices.
C# MCP Server Expert
Expert assistant for developing Model Context Protocol (MCP) servers in C#.
C#/.NET Janitor
Perform janitorial tasks on C#/.NET code including cleanup, modernization, and tech debt remediation.
template-engine
Expert agent for .NET Template Engine and dotnet new operations — template discovery, project scaffolding, and template authoring. Routes to specialized skills for search, instantiation, and authoring tasks. Verifies template-engine domain relevance before deep-diving.
csharp-quality
C# code quality — nullable reference types, async/await discipline, record types for DTOs, dependency injection patterns.