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.
Build the New Relic .NET agent locally and validate that code changes compile.
$ npx skills add newrelic/newrelic-dotnet-agent --skill build-dotnet-agent -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install newrelic/newrelic-dotnet-agent build-dotnet-agent --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/newrelic/newrelic-dotnet-agent.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/build-dotnet-agent .claude/skills/build-dotnet-agent && 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 "build-dotnet-agent" agent skill from https://github.com/newrelic/newrelic-dotnet-agent/tree/main/.claude/skills/build-dotnet-agent into .claude/skills/build-dotnet-agent/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "build-dotnet-agent", 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/newrelic/newrelic-dotnet-agent/tree/main/.claude/skills/build-dotnet-agentType 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 newrelic/newrelic-dotnet-agent --skill build-dotnet-agent -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install newrelic/newrelic-dotnet-agent build-dotnet-agent --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/newrelic/newrelic-dotnet-agent.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/build-dotnet-agent .agents/skills/build-dotnet-agent && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "build-dotnet-agent" agent skill from https://github.com/newrelic/newrelic-dotnet-agent/tree/main/.claude/skills/build-dotnet-agent into .agents/skills/build-dotnet-agent/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "build-dotnet-agent", 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 newrelic/newrelic-dotnet-agent --skill build-dotnet-agent -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install newrelic/newrelic-dotnet-agent build-dotnet-agent --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/newrelic/newrelic-dotnet-agent.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/build-dotnet-agent .cursor/skills/build-dotnet-agent && 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 "build-dotnet-agent" agent skill from https://github.com/newrelic/newrelic-dotnet-agent/tree/main/.claude/skills/build-dotnet-agent into .cursor/skills/build-dotnet-agent/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "build-dotnet-agent", 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/newrelic/newrelic-dotnet-agent.git --path .claude/skills/build-dotnet-agent--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 newrelic/newrelic-dotnet-agent --skill build-dotnet-agent -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install newrelic/newrelic-dotnet-agent build-dotnet-agent --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/newrelic/newrelic-dotnet-agent.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/build-dotnet-agent .gemini/skills/build-dotnet-agent && 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 "build-dotnet-agent" agent skill from https://github.com/newrelic/newrelic-dotnet-agent/tree/main/.claude/skills/build-dotnet-agent into .gemini/skills/build-dotnet-agent/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "build-dotnet-agent", 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 newrelic/newrelic-dotnet-agent build-dotnet-agentInstalls 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 newrelic/newrelic-dotnet-agent --skill build-dotnet-agent -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/newrelic/newrelic-dotnet-agent.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/build-dotnet-agent .github/skills/build-dotnet-agent && 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 "build-dotnet-agent" agent skill from https://github.com/newrelic/newrelic-dotnet-agent/tree/main/.claude/skills/build-dotnet-agent into .github/skills/build-dotnet-agent/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "build-dotnet-agent", 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 newrelic/newrelic-dotnet-agent --skill build-dotnet-agent -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install newrelic/newrelic-dotnet-agent build-dotnet-agent --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/newrelic/newrelic-dotnet-agent.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/build-dotnet-agent .opencode/skills/build-dotnet-agent && 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 "build-dotnet-agent" agent skill from https://github.com/newrelic/newrelic-dotnet-agent/tree/main/.claude/skills/build-dotnet-agent into .opencode/skills/build-dotnet-agent/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "build-dotnet-agent", 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.
build-dotnet-agentBuild the New Relic .NET agent locally and validate that code changes compile.
Build Dotnet Agent is an agent skill from newrelic/newrelic-dotnet-agent. Build the New Relic .NET agent locally and validate that code changes compile. Use this whenever you are about to build the agent, need to confirm your edits compile, need to refresh the agent home directories (newrelichome) before running tests, or find yourself reaching for dotnet build / msbuild on any project in this repo. Always build the full solution from the CLI in Debug -- never a single project. Covers that command and the traps that waste time (building individual projects, Release config, building the…
Its SKILL.md is about 870 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Development, covering Performance optimization. It works with .NET and New Relic. The repository describes itself as: The New Relic .NET language agent. The licence is Apache-2.0.
Read from SKILL.md and the folder at commit aca7658. 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.
Build Dotnet Agent loads about 871 tokens when it runs. Until then it costs about 151 tokens; SKILL.md has 293 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 newrelic/newrelic-dotnet-agent at commit aca7658, republished under its Apache-2.0 licence (© newrelic). 293 words, ~871 tokens.
.claude/skills/build-dotnet-agent/SKILL.md (or your agent's skills folder).To validate edits or refresh agent home dirs, build the full solution yourself from the repo root:
dotnet build FullAgent.slnDebug is default -- never pass -c Release. It's slow; run in background or tee to a file and read the tail. The user builds in VS; that's their path, not yours -- you use the CLI.
.csproj. Core.csproj and its dependents have a post-build step (ILRepack + AssemblyModifier.exe) whose ordering only the solution provides. Building one project alone yields AssemblyModifier.exe not found, exit code 3, or $(SolutionDir)/*Undefined* errors.IntegrationTests.sln / UnboundedIntegrationTests.sln build with VS MSBuild, not the dotnet build above; the dotnet SDK cannot build their legacy ASP.NET FW web apps. Invocation and required flags: tests/CLAUDE.md.Core.UnitTest from the CLI needs SolutionDir (VS sets it, dotnet doesn't), trailing backslash required. Both forms below pass the same value (<repo-root>\):# bash (Git Bash)
SLN="$(cygpath -w "$PWD")\\"
dotnet build tests/Agent/UnitTests/Core.UnitTest/Core.UnitTest.csproj -f net10.0 -p:SolutionDir="$SLN"# PowerShell
$sln = "$((Resolve-Path .).Path)\"
dotnet build tests/Agent/UnitTests/Core.UnitTest/Core.UnitTest.csproj -f net10.0 -p:SolutionDir="$sln"NewRelic.Agent.Extensions.Tests: dotnet test on the csproj silently no-ops via VSTestTask -- test the built DLL instead (path in root CLAUDE.md).Profiler.sln, src/Agent/NewRelic/Profiler/, only when changing the profiler): build with build.ps1, never raw MSBuild; Debug; Linux build needs Docker Desktop.net10.0): build/* tools (ArtifactBuilder, Dotty, etc.) and AssemblyModifier. When evaluating a preview .NET, retarget agent core + tests, not the build tools.FullAgent.sln writes these under src/Agent/; all integration/unbounded/container tests read from them, so a stale home dir = "my change isn't taking effect." Rebuild after changing agent/wrapper code. If new instrumentation isn't applied, confirm files exist under <agent-home>/extensions/ (and extensions/netcore/ for .NET Core wrappers).
| Framework | OS | Arch | Directory |
|---|---|---|---|
| .NET FW | Win | x64 | newrelichome_x64 |
| .NET FW | Win | x86 | newrelichome_x86 |
| .NET Core | Win | x64 | newrelichome_x64_coreclr |
| .NET Core | Win | x86 | newrelichome_x86_coreclr |
| .NET Core | Linux | x64 | newrelichome_x64_coreclr_linux |
| .NET Core | Linux | arm64 | newrelichome_arm64_coreclr_linux |
© newrelic, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .claude/skills/build-dotnet-agent of newrelic/newrelic-dotnet-agent.
Open the folder on GitHubat commit aca7658
Build Dotnet Agent 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 |
|---|---|---|---|---|---|---|
| Build Dotnet Agent this skillnewrelic/newrelic-dotnet-agent | 117 | — | ~871 | Automated safety check: Pass | Apache-2.0 | |
| 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 | |
| Asynkron Profilermanagedcode/dotnet-skills | 486 | — | ~1.7k | Automated safety check: Pass | MIT |
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…
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.
grafana/skills
Continuously profile applications with Grafana Pyroscope and read the result as flame graphs.
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.
newrelic/newrelic-dotnet-agent
Open an Angler PR that adds the latest .NET agent release to metricnames.txt.
newrelic/newrelic-dotnet-agent
Run the New Relic .NET agent integration tests locally. An agent skill from newrelic/newrelic-dotnet-agent.
newrelic/newrelic-dotnet-agent
A skill your agent uses when the user mentions a Dotty PR, dotty (package/dependency) updates, or asks to update the .NET agent compatibility docs / net-agent-compatibility-requirements after tested…
newrelic/newrelic-dotnet-agent
Mandatory unit-test and code-coverage rules for the .NET agent.
newrelic/newrelic-dotnet-agent
A skill your agent uses when a CI integration, unbounded, or container test job fails intermittently, passes on a rerun, fails identically across every matrix variant, or shows an infra-shaped error…
Categories
Build the New Relic .NET agent locally and validate that code changes compile. Build Dotnet Agent is an agent skill from newrelic/newrelic-dotnet-agent.NET agent locally and validate that code changes compile.
Build Dotnet Agent fits situations like: tasks that involve Performance optimization.
Run `npx skills add newrelic/newrelic-dotnet-agent --skill build-dotnet-agent -a claude-code`. Or copy the skill folder (.claude/skills/build-dotnet-agent in newrelic/newrelic-dotnet-agent) into .claude/skills/build-dotnet-agent in your project. Claude Code loads it when a task matches its description.
Run `npx skills add newrelic/newrelic-dotnet-agent --skill build-dotnet-agent -a codex`. Or copy the skill folder (.claude/skills/build-dotnet-agent in newrelic/newrelic-dotnet-agent) into .agents/skills/build-dotnet-agent 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 newrelic/newrelic-dotnet-agent --skill build-dotnet-agent -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/build-dotnet-agent, .gemini/skills/build-dotnet-agent, .github/skills/build-dotnet-agent and .opencode/skills/build-dotnet-agent in your project.
Going by SKILL.md and its folder, Build Dotnet Agent needs the command-line tools its instructions call (dotnet). Our summary lists: Docker.
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.
Build Dotnet Agent is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 871 tokens (SKILL.md is roughly 3.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Build Dotnet Agent: 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.
newrelic (a GitHub organization) maintains it in newrelic/newrelic-dotnet-agent, which has 117 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on October 8, 2026.
Source: newrelic/newrelic-dotnet-agent on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.