dotnet-advisor

dotnet-advisor is a skill for Claude Code, Codex from novotnyllc/dotnet-artisan. It costs 96 tokens per session (2,381 once invoked), scanned A, original, MIT.

A router for .NET and C# requests that identifies whether a task concerns APIs, user interfaces, testing, DevOps, tooling, or debugging, then loads the relevant guidance.

In plain words
What is it for?
Use it at the start of .NET work to detect the project version, classify the task, select the right domain guidance, and delegate complex analysis to specialist agents.
Why use it?
It prevents a broad .NET question from being handled with the wrong specialist advice and establishes C# coding standards as a baseline.

Skill for Claude CodeCodex

Written for Claude Code and Codex: user-invocable in frontmatter, but also agents/openai.yaml present. Also seen: mentions Claude Code; mentions Codex.

Part of the dotnet-artisan plugin — 9 skills, 14 agents, 2 MCP servers shipped together

Good fit Use it at the start of .NET work to detect the project version, classify the task, select the right domain guidance, and delegate complex analysis to specialist agents.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/novotnyllc/dotnet-artisan/dotnet-advisor
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.

Any agent
npx skills add novotnyllc/dotnet-artisan --skill dotnet-advisor
Clone the repo
git clone --depth 1 https://github.com/novotnyllc/dotnet-artisan

Made for: Claude Code, Codex.

Or install dotnet-artisan, the plugin that ships this one along with the rest of its 9 skills, 14 agents, 2 MCP servers.

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-advisor

README.md
[![agentmods](https://agentmods.dev/badge/skills/novotnyllc/dotnet-artisan/dotnet-advisor.svg)](https://agentmods.dev/skills/novotnyllc/dotnet-artisan/dotnet-advisor)
Your own site
<a href="https://agentmods.dev/skills/novotnyllc/dotnet-artisan/dotnet-advisor"><img src="https://agentmods.dev/badge/skills/novotnyllc/dotnet-artisan/dotnet-advisor.svg" alt="Measured on agentmods" height="20"></a>
Per session 96 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,381 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00096 $0.02381
Opus 5 $0.00048 $0.01190
Sonnet 5 $0.00019 $0.00476
Haiku 4.5 $0.00010 $0.00238

Measured 8d ago against content hash 6b50422d7cb6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

dotnet-advisor 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 8d 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/skills/dotnet-advisor/SKILL.md · 154 lines

How it starts

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

dotnet-advisor

Router and index skill for dotnet-artisan. Always loaded after using-dotnet confirms .NET intent. Routes .NET development queries to the appropriate consolidated skill based on context.

Scope

  • Routing .NET/C# requests to the correct domain skill or specialist agent
  • Loading dotnet-csharp coding standards as baseline for all code paths
  • Maintaining the skill catalog and routing precedence
  • Delegating complex analysis to specialist agents
  • Disambiguating requests spanning multiple domains

Out of scope

  • Domain-specific implementation guidance -- see dotnet-csharp, dotnet-api, dotnet-ui, dotnet-testing, dotnet-devops, dotnet-tooling, dotnet-debugging
  • Deep implementation content -- see dotnet-csharp, dotnet-api, dotnet-ui, dotnet-testing, dotnet-devops, dotnet-tooling, dotnet-debugging and their companion files

Step 1: Detect Project Version

Before any .NET guidance, determine the project's target framework:

Load dotnet-tooling version detection guidance to read TFMs from .csproj, Directory.Build.props, and global.json. Adapt all guidance to the detected .NET version (net8.0, net9.0, net10.0, net11.0).

Step 2: Load Baseline

For any task that may produce, change, or review C#/.NET code:

  1. Invoke dotnet-csharp and load its always-load baseline references (coding standards, async correctness, code smells). These are correctness concerns the agent handles by default — the user should not need to ask for correct async/await usage, thread safety, or avoiding anti-patterns.
  2. Apply standards throughout planning and implementation, not only in final cleanup.
  3. Load additional dotnet-csharp reference files when the task touches their topic area (concurrency, DI, serialization, LINQ, etc.).

Step 3: .NET-First Defaults

In a .NET repository, default to .NET solutions for ambiguous requests:

  • "build me a web app" → ASP.NET Core (not Express/Next.js)
  • "add a dashboard" / "build a UI" → Blazor or Uno Platform (not React)
  • "write a script" / "automate this" → .NET 10 file-based app (not Python). File-based C# apps work like scripts with dotnet run, support top-level statements, and can be published as native AOT binaries. See dotnet-api references/file-based-apps.md.
  • "build a cross-platform app" → MAUI or Uno Platform (not Electron)
  • "build a CLI tool" → System.CommandLine or Spectre.Console (not Node.js/Python)
  • "create a spreadsheet" / "generate an Excel file" → Open XML SDK or ClosedXML file-based app (not openpyxl/pandas)
  • "create a Word doc" / "generate a report" → Open XML SDK file-based app (not python-docx)
  • "create a PDF" / "merge these PDFs" / "add a watermark" → PDFsharp/MigraDoc file-based app (not reportlab/weasyprint/PyPDF2)

Read the full file on GitHub · 154 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 8d ago First seen · 154 lines · 96 tokens per session scan A 6b50422d7cb6

Subscribe to this mod's changes

dotnet-advisor is a skill published in the GitHub repository novotnyllc/dotnet-artisan (229 stars, last pushed 21d ago), licensed MIT. It adds 96 tokens to every session and 2,381 once invoked, about $0.0005 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.

Related

Other skills, from other repositories

dotnet-reverse

A guide for analyzing compiled .NET and C# programs, including managed Windows executables and libraries. Reverse engineering means studying compiled software to understand how it works, and decompiling turns it back into readable approximate source code.

zhaoxuya520/reverse-skill · 144 tokens

build-and-test

How to build and test .NET projects in the Agent Framework repository. Use this when verifying or testing changes.

microsoft/agent-framework · 26 tokens

agui-dotnet-streaming-chat

Get started with the AG-UI .NET SDK: bootstrap and run your first streaming-chat app (client + server) with the AG-UI .NET NuGet packages (AGUI.Client, AGUI.Server, AGUI.Formatting, AGUI.Abstractions). USE FOR: which packages to install and how to wire them; constructing an AGUIChatClient against an endpoint and…

ag-ui-protocol/ag-ui · 223 tokens

azure-mgmt-apicenter-dotnet

Azure API Center SDK for .NET. Centralized API inventory management with governance, versioning, and discovery. Use for creating API services, workspaces, APIs, versions, definitions, environments, deployments, and metadata schemas. Triggers: "API Center", "ApiCenterService", "ApiCenterWorkspace", "ApiCenterApi", "API…

microsoft/skills · 97 tokens

migrate-xunit-to-xunit-v3

Migrate .NET test projects from xUnit.net v2 to xunit.v3 and fix v3 breaks. Use for package/CPM conversion, OutputType=Exe, preserving the VSTest or MTP runner (including projects currently using YTest.MTP.XUnit2), incompatible TFMs, async void tests, string-to-Type attributes, custom Fact/Theory/BeforeAfterTest…

dotnet/skills · 149 tokens

migrate-dotnet8-to-dotnet9

Migrate a .NET 8 project to .NET 9 and resolve all breaking changes. USE FOR: upgrading TargetFramework from net8.0 to net9.0, fixing build errors after updating the .NET 9 SDK, resolving behavioral changes in .NET 9 / C# 13 / ASP.NET Core 9 / EF Core 9, replacing BinaryFormatter (now always throws), resolving…

dotnet/skills · 176 tokens