dotnet-performance-analyst

dotnet-performance-analyst is an agent for Claude Code from novotnyllc/dotnet-artisan. It costs 64 tokens per session (1,667 once invoked), scanned A, original, MIT.

A .NET performance analyst that examines profiling data, benchmark results, memory behavior, and runtime diagnostics to find bottlenecks. It reports evidence and recommends targeted fixes without changing code.

In plain words
What is it for?
Use it to investigate slow requests, performance regressions, excessive garbage collection, high allocations, flame graphs, heap dumps, or benchmark results.
Why use it?
It helps explain why a .NET application is slow or uses too much memory by connecting measurements to likely causes.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter; mentions subagents.

Part of the dotnet-artisan plugin — 10 skills, 14 agents, 1 MCP server shipped together

Good fit Use it to investigate slow requests, performance regressions, excessive garbage collection, high allocations, flame graphs, heap dumps, or benchmark results.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/novotnyllc/dotnet-artisan/dotnet-performance-analyst
Install

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.

Clone the repo
git clone --depth 1 https://github.com/novotnyllc/dotnet-artisan

Made for: Claude Code.

Or install dotnet-artisan, the plugin that ships this one along with the rest of its 10 skills, 14 agents, 1 MCP server.

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 dotnet-performance-analyst

README.md
[![agentmods](https://agentmods.dev/badge/agents/novotnyllc/dotnet-artisan/dotnet-performance-analyst/github.svg)](https://agentmods.dev/agents/novotnyllc/dotnet-artisan/dotnet-performance-analyst)
Your own site
<a href="https://agentmods.dev/agents/novotnyllc/dotnet-artisan/dotnet-performance-analyst"><img src="https://agentmods.dev/badge/agents/novotnyllc/dotnet-artisan/dotnet-performance-analyst/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 dotnet-performance-analyst

Your own site · 80×15
<a href="https://agentmods.dev/agents/novotnyllc/dotnet-artisan/dotnet-performance-analyst"><img src="https://agentmods.dev/badge/agents/novotnyllc/dotnet-artisan/dotnet-performance-analyst.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 64 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,667 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.00064 $0.01667
Opus 5.5 $0.00026 $0.00667
Sonnet 5.5 $0.00013 $0.00333
Haiku 4.5 $0.00006 $0.00167

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

Security

Grade A, and why

dotnet-performance-analyst 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.

plugins/dotnet-artisan/agents/dotnet-performance-analyst.md · 98 lines

How it starts

The opening of the file, as written. The whole thing — 98 lines — stays where its author put it; the contents beside it link to each section on GitHub.

dotnet-performance-analyst

Senior performance engineer subagent for .NET projects. Performs read-only analysis of profiling data, benchmark results, and runtime diagnostics to identify bottlenecks, explain regressions, and recommend targeted optimizations. Never modifies code -- produces findings with evidence, root cause analysis, and actionable remediation referencing specific optimization patterns.

Preloaded Skills

Always load these skills before analysis:

  • [skill:dotnet-tooling] (read references/profiling.md) -- diagnostic tool guidance: dotnet-counters real-time metrics, dotnet-trace flame graphs and CPU sampling, dotnet-dump heap analysis and SOS commands
  • [skill:dotnet-testing] (read references/benchmarkdotnet.md) -- BenchmarkDotNet setup, memory diagnosers, exporters, baselines, and common measurement pitfalls
  • [skill:dotnet-devops] (read references/observability.md) -- OpenTelemetry metrics correlation, GC and threadpool counter interpretation

Workflow

  1. Triage the symptom -- Determine whether the performance problem is CPU-bound (high CPU, slow response), memory-bound (GC pressure, large heap, memory leak), I/O-bound (long waits, thread pool starvation), or a benchmark regression (slower results vs baseline). This classification drives which profiling data to examine first.

  2. Read profiling data -- Using [skill:dotnet-tooling] (read references/profiling.md), interpret the available diagnostic output:

    • Flame graphs (dotnet-trace): Identify the widest stack frames consuming the most CPU time. Look for unexpected framework code dominating the profile (e.g., JIT compilation, GC suspension, lock contention).
    • Heap dumps (dotnet-dump): Run !dumpheap -stat to find types with highest count and total size. Use !gcroot to trace retention paths for suspected leaks. Check !finalizequeue for excessive disposable objects.
    • Real-time counters (dotnet-counters): Monitor GC Gen0/Gen1/Gen2 collection rates, threadpool queue length, and exception count to correlate symptoms with runtime behavior.

Read the full file on GitHub · 98 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 · 98 lines · 64 tokens per session scan A 1d06c0311cb8

Subscribe to this mod's changes

dotnet-performance-analyst is an agent published in the GitHub repository novotnyllc/dotnet-artisan (234 stars, last pushed 3d ago), licensed MIT. It adds 64 tokens to every session and 1,667 once invoked, about $0.0003 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.

Related

Other agents, from other repositories

C#/.NET Janitor

Perform janitorial tasks on C#/.NET code including cleanup, modernization, and tech debt remediation.

github/awesome-copilot · 27 tokens

msbuild

Expert agent for MSBuild and .NET build troubleshooting, optimization, and project file quality. Routes to specialized agents for performance analysis and code review. Verifies MSBuild domain relevance before deep-diving. Specializes in build configuration, error diagnosis, binary log analysis, and resolving common…

dotnet/skills · 62 tokens

dotnet-concurrency-specialist

Expert in .NET concurrency, threading, and race condition analysis. Specializes in Task/async patterns, thread safety, synchronization primitives, and identifying timing-dependent bugs in multithreaded .NET applications. Use for analyzing racy unit tests, deadlocks, and concurrent code issues.

Aaronontheweb/dotnet-skills · 64 tokens

build-error-resolver

Autonomous .NET build fixer — parses dotnet build errors, categorizes them, applies known fix patterns, and rebuilds iteratively until green. Use when the build is broken, after a large refactor or dependency update, or whenever compiler errors need systematic resolution without hand-holding.

codewithmukesh/dotnet-claude-kit · 63 tokens

dnp-di-wiring-checker

🔌 Verifies DI container completeness — scans constructor injections and cross-references against service registrations.

zdanovichnick/dotnet-pilot · 27 tokens

dotnet-concurrency-specialist

Expert in .NET concurrency, threading, and race condition analysis. Specializes in Task/async patterns, thread safety, synchronization primitives, and identifying timing-dependent bugs in multithreaded .NET applications. Use for analyzing racy unit tests, deadlocks, and concurrent code issues.

F-U-S-E-E/FuseDevelopmentGroup · 64 tokens