Analyzing .NET Performance
dotnet/skills
Scans C# and .NET code for about 50 performance anti-patterns and reports prioritized findings with concrete fixes, at a scan depth you choose.
Use the open-source free Asynkron.Profiler dotnet tool for CLI-first CPU, allocation, exception, contention, and heap profiling of .NET commands or existing trace artifacts.
$ npx skills add managedcode/dotnet-skills --skill asynkron-profiler -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install managedcode/dotnet-skills asynkron-profiler --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/managedcode/dotnet-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/catalog/Tools/Asynkron-Profiler/skills/asynkron-profiler .claude/skills/asynkron-profiler && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "asynkron-profiler" agent skill from https://github.com/managedcode/dotnet-skills/tree/main/catalog/Tools/Asynkron-Profiler/skills/asynkron-profiler into .claude/skills/asynkron-profiler/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "asynkron-profiler", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/managedcode/dotnet-skills/tree/main/catalog/Tools/Asynkron-Profiler/skills/asynkron-profilerType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add managedcode/dotnet-skills --skill asynkron-profiler -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install managedcode/dotnet-skills asynkron-profiler --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/managedcode/dotnet-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/catalog/Tools/Asynkron-Profiler/skills/asynkron-profiler .agents/skills/asynkron-profiler && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "asynkron-profiler" agent skill from https://github.com/managedcode/dotnet-skills/tree/main/catalog/Tools/Asynkron-Profiler/skills/asynkron-profiler into .agents/skills/asynkron-profiler/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "asynkron-profiler", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add managedcode/dotnet-skills --skill asynkron-profiler -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install managedcode/dotnet-skills asynkron-profiler --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/managedcode/dotnet-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/catalog/Tools/Asynkron-Profiler/skills/asynkron-profiler .cursor/skills/asynkron-profiler && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "asynkron-profiler" agent skill from https://github.com/managedcode/dotnet-skills/tree/main/catalog/Tools/Asynkron-Profiler/skills/asynkron-profiler into .cursor/skills/asynkron-profiler/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "asynkron-profiler", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/managedcode/dotnet-skills.git --path catalog/Tools/Asynkron-Profiler/skills/asynkron-profiler--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add managedcode/dotnet-skills --skill asynkron-profiler -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install managedcode/dotnet-skills asynkron-profiler --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/managedcode/dotnet-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/catalog/Tools/Asynkron-Profiler/skills/asynkron-profiler .gemini/skills/asynkron-profiler && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "asynkron-profiler" agent skill from https://github.com/managedcode/dotnet-skills/tree/main/catalog/Tools/Asynkron-Profiler/skills/asynkron-profiler into .gemini/skills/asynkron-profiler/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "asynkron-profiler", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install managedcode/dotnet-skills asynkron-profilerInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add managedcode/dotnet-skills --skill asynkron-profiler -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/managedcode/dotnet-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/catalog/Tools/Asynkron-Profiler/skills/asynkron-profiler .github/skills/asynkron-profiler && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "asynkron-profiler" agent skill from https://github.com/managedcode/dotnet-skills/tree/main/catalog/Tools/Asynkron-Profiler/skills/asynkron-profiler into .github/skills/asynkron-profiler/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "asynkron-profiler", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add managedcode/dotnet-skills --skill asynkron-profiler -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install managedcode/dotnet-skills asynkron-profiler --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/managedcode/dotnet-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/catalog/Tools/Asynkron-Profiler/skills/asynkron-profiler .opencode/skills/asynkron-profiler && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "asynkron-profiler" agent skill from https://github.com/managedcode/dotnet-skills/tree/main/catalog/Tools/Asynkron-Profiler/skills/asynkron-profiler into .opencode/skills/asynkron-profiler/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "asynkron-profiler", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
asynkron-profilerUse the open-source free Asynkron.Profiler dotnet tool for CLI-first CPU, allocation, exception, contention, and heap profiling of .NET commands or existing trace artifacts.
Asynkron Profiler is an agent skill from managedcode/dotnet-skills. Use the open-source free Asynkron.Profiler dotnet tool for CLI-first CPU, allocation, exception, contention, and heap profiling of .NET commands or existing trace artifacts. USE FOR: Asynkron.Profiler setup; automation-friendly profiling output; CPU, allocation, exception, contention, and heap investigation. DO NOT USE FOR: unrelated stacks; generic tasks that do not need this specific guidance. INVOKES: inspect the repository context, edit targeted files, and run relevant build, test, lint, or validation…
Its SKILL.md is about 1.7k tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including reference files (for example `manifest.json`, `references/commands.md` and `references/examples.md`). Compatibility notes: Requires the asynkron-profiler dotnet tool plus dotnet-trace and dotnet-gcdump; upstream guidance currently targets .NET SDK 10.x.
It sits in Development, covering Performance optimization. It works with .NET. The repository describes itself as: Installable .NET skill catalog and CLI for Codex, Claude Code, GitHub Copilot, and Gemini. The licence is MIT.
8 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 535dd55. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
dotnetFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Requires the `asynkron-profiler` dotnet tool plus `dotnet-trace` and `dotnet-gcdump`; upstream guidance currently targets .NET SDK 10.x.
From compatibility in the SKILL.md frontmatter.
Asynkron Profiler loads about 1.7k tokens when it runs, and up to ~4k if it reads all its reference files. Until then it costs about 141 tokens; SKILL.md has 588 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from managedcode/dotnet-skills at commit 535dd55, republished under its MIT licence (© managedcode). 588 words, ~1,674 tokens.
.claude/skills/asynkron-profiler/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.Asynkron.Profiler or asynkron-profiler.nettrace, .speedscope.json, .etlx, or .gcdump file into a readable reportRelease output over dotnet run so the trace represents the target app rather than restore/build noise.asynkron-profilerdotnet-tracedotnet-gcdump--cpu--memory--exception--contention--heap--input <path> when the trace already exists and the task is about rendering or narrowing the report, not recollecting data.--root <text> to anchor the call tree--filter <text> to trim tables--exception-type <text> for exception-heavy flows--calltree-depth, --calltree-width, --calltree-self, --calltree-sibling-cutoffprofile-output/ as the stable output folder for review artifacts and reruns.profiling.flowchart LR
A["Profiling task"] --> B{"New run or existing artifact?"}
B -->|New run| C["Build target in Release"]
C --> D["Run `asynkron-profiler --mode -- <command|csproj|sln>`"]
D --> E["Collect via `dotnet-trace` or `dotnet-gcdump`"]
E --> F["Write reports to `profile-output/`"]
B -->|Existing artifact| G["Run `asynkron-profiler --input <path> [--mode]`"]
G --> F
F --> H["Refine output with `--root`, `--filter`, and call tree flags"]dotnet tool install -g asynkron-profiler --prereleasedotnet tool install -g dotnet-trace
dotnet tool install -g dotnet-gcdumpasynkron-profiler --help
dotnet-trace --version
dotnet-gcdump --versiondotnet build -c Release
asynkron-profiler --cpu -- ./bin/Release/<tfm>/MyAppFramework-dependent apps can run through dotnet:
asynkron-profiler --memory -- dotnet ./bin/Release/<tfm>/MyApp.dllProject and solution paths are also valid when the tool should build and run for you:
asynkron-profiler --contention -- ./MyApp.csproj
asynkron-profiler --exception -- ./MySolution.slnasynkron-profiler --input ./profile-output/app.nettrace --cpu
asynkron-profiler --input ./profile-output/app.etlx --memory
asynkron-profiler --input ./profile-output/app.gcdump --heapManual collection with the official tools still fits when the trace must be captured separately:
dotnet-trace collect --output ./profile-output/app.nettrace -- dotnet run MyProject.sln
asynkron-profiler --input ./profile-output/app.nettrace --cpu--cpu for sampled hotspots--memory for GC allocation ticks and per-type call trees--exception for thrown counts and throw-site trees--contention for wait-time trees--heap for retained heap shape via dotnet-gcdump--root <text> to focus the tree on a subsystem--filter <text> to narrow function tables--exception-type <text> when one exception dominates the signal--calltree-depth <n>--calltree-width <n>--calltree-self--calltree-sibling-cutoff <n>--input <path> for .nettrace, .speedscope.json, .etlx, or .gcdump--tfm <tfm> when the profiler must resolve a specific target framework from a .csproj or .sln.NET SDK 10.x as the supported toolchain baselinedotnet run is supported but usually produces noisy traces because it captures host, restore, and build workdotnet-trace and dotnet-gcdump, so missing prerequisites or blocked diagnostics IPC will break runs--heap captures retained heap shape, not CPU or allocation timelinesprofilingasynkron-profiler command path for the profiling mode that matches the problem--root, --filter, --exception-type, or call-tree options needed for readable outputasynkron-profiler --help, dotnet-trace --version, and dotnet-gcdump --version all succeedRelease output unless there is a documented reason to accept dotnet run noiseprofile-output/ contains the expected report or artifact after the run© managedcode, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 4 other files (references) in catalog/Tools/Asynkron-Profiler/skills/asynkron-profiler of managedcode/dotnet-skills.
Open the folder on GitHubat commit 535dd55
Asynkron Profiler next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Asynkron Profiler this skillmanagedcode/dotnet-skills | 486 | — | ~1.7k | Automated safety check: Pass | MIT | |
| Analyzing .NET Performancedotnet/skills | 5.6k | 3 repos | ~3.1k | Automated safety check: Pass | MIT | |
| MAUI PR Performance Analysisdotnet/maui | 23k | — | ~2.4k | Automated safety check: Pass | MIT | |
| .NET Trimming and Native AOTAaronontheweb/dotnet-skills | 1.2k | — | ~2.9k | Automated safety check: Pass | MIT | |
| Dotnet Debuggingnovotnyllc/dotnet-artisan | 233 | — | ~2.1k | Automated safety check: Pass | MIT | |
| Build Dotnet Agentnewrelic/newrelic-dotnet-agent | 117 | — | ~871 | Automated safety check: Pass | Apache-2.0 |
dotnet/skills
Scans C# and .NET code for about 50 performance anti-patterns and reports prioritized findings with concrete fixes, at a scan depth you choose.
dotnet/maui
Interprets pinned managed benchmark evidence for a dotnet/maui pull request and writes a narrative for the performance review workflow, without running or publishing anything.
Aaronontheweb/dotnet-skills
Guides making .NET libraries trimming-safe and Native-AOT compatible: the MSBuild properties, trimming attributes, warning codes and a playbook of safe patterns.
novotnyllc/dotnet-artisan
Debugs Windows and Linux/macOS applications (native, .NET/CLR, mixed-mode) with WinDbg MCP (crash dumps, !analyze, !syncblk, !dlk, !runaway, !dumpheap, !gcroot, BSOD), dotnet-dump, lldb with SOS…
newrelic/newrelic-dotnet-agent
Build the New Relic .NET agent locally and validate that code changes compile.
newrelic/newrelic-dotnet-agent
Parse and diagnose New Relic .NET agent logs (newrelicagent.log) and profiler logs (NewRelic.Profiler.<pid.log) from a support ticket.
managedcode/dotnet-skills
Use a repo-root .editorconfig to configure free .NET analyzer and style rules.
managedcode/dotnet-skills
Use the open-source free ArchUnitNET library for architecture rules in .NET tests.
managedcode/dotnet-skills
Build, upgrade, and operate Aspire 13.5.x C or TypeScript application hosts with the current CLI, AppHost, ServiceDefaults, integrations, dashboard, testing, MCP, and deployment patterns for…
managedcode/dotnet-skills
Build, debug, modernize, or review ASP.NET Core applications with correct hosting, middleware, security, configuration, logging, and deployment patterns on current .NET.
managedcode/dotnet-skills
Build, review, or migrate Azure Functions in .NET with correct execution model, isolated worker setup, bindings, DI, and Durable Functions patterns.
managedcode/dotnet-skills
Build and review Blazor applications across server, WebAssembly, web app, and hybrid scenarios with correct component design, state flow, rendering, and hosting choices.
Works with
Categories
Use the open-source free Asynkron.Profiler dotnet tool for CLI-first CPU, allocation, exception, contention, and heap profiling of .NET commands or existing trace artifacts. Asynkron Profiler is an agent skill from managedcode/dotnet-skills.NET commands or existing trace artifacts.
Asynkron Profiler fits situations like: : Asynkron.Profiler setup; automation-friendly profiling output; heap investigation; : unrelated stacks.
Run `npx skills add managedcode/dotnet-skills --skill asynkron-profiler -a claude-code`. Or copy the skill folder (catalog/Tools/Asynkron-Profiler/skills/asynkron-profiler in managedcode/dotnet-skills) into .claude/skills/asynkron-profiler in your project. Claude Code loads it when a task matches its description.
Run `npx skills add managedcode/dotnet-skills --skill asynkron-profiler -a codex`. Or copy the skill folder (catalog/Tools/Asynkron-Profiler/skills/asynkron-profiler in managedcode/dotnet-skills) into .agents/skills/asynkron-profiler in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add managedcode/dotnet-skills --skill asynkron-profiler -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/asynkron-profiler, .gemini/skills/asynkron-profiler, .github/skills/asynkron-profiler and .opencode/skills/asynkron-profiler in your project.
Going by SKILL.md and its folder, Asynkron Profiler needs the command-line tools its instructions call (dotnet). Compatibility (from SKILL.md): Requires the `asynkron-profiler` dotnet tool plus `dotnet-trace` and `dotnet-gcdump`; upstream guidance currently targets .NET SDK 10.x..
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Asynkron Profiler is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.7k tokens (SKILL.md is roughly 6.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.3k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Asynkron Profiler: Analyzing .NET Performance (dotnet/skills, 5.6k stars), MAUI PR Performance Analysis (dotnet/maui, 23k stars), .NET Trimming and Native AOT (Aaronontheweb/dotnet-skills, 1.2k stars) and Dotnet Debugging (novotnyllc/dotnet-artisan, 233 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
managedcode (a GitHub organization) maintains it in managedcode/dotnet-skills, which has 486 GitHub stars. The repository holds 81 skills in this directory. The repository was last updated on October 7, 2026.
Source: managedcode/dotnet-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.