dotnet-analyzer-code-intelligence

dotnet-analyzer-code-intelligence is a skill for Claude Code from CartapenaBark/DotNetAnalyzer. It costs 226 tokens per session (1,150 once invoked), scanned A, original, MIT.

A C# code-navigation and analysis skill based on Roslyn, Microsoft’s technology for understanding C# code. It can inspect symbols, definitions, references, type inheritance, and call relationships.

In plain words
What is it for?
It helps find where symbols are declared or used, jump to definitions, inspect types, follow callers, and examine C# code structure.
Why use it?
It helps developers understand unfamiliar C# projects without manually searching through every file. It also checks that the required analysis tool is installed before use.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the netan plugin — 5 skills, 3 commands shipped together

Good fit It helps find where symbols are declared or used, jump to definitions, inspect types, follow callers, and examine C# code structure.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cartapenabark/dotnetanalyzer/dotnet-analyzer-code-intelligence
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 CartapenaBark/DotNetAnalyzer --skill dotnet-analyzer-code-intelligence
Clone the repo
git clone --depth 1 https://github.com/CartapenaBark/DotNetAnalyzer

Made for: Claude Code.

Or install netan, the plugin that ships this one along with the rest of its 5 skills, 3 commands.

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-analyzer-code-intelligence

README.md
[![agentmods](https://agentmods.dev/badge/skills/cartapenabark/dotnetanalyzer/dotnet-analyzer-code-intelligence/github.svg)](https://agentmods.dev/skills/cartapenabark/dotnetanalyzer/dotnet-analyzer-code-intelligence)
Your own site
<a href="https://agentmods.dev/skills/cartapenabark/dotnetanalyzer/dotnet-analyzer-code-intelligence"><img src="https://agentmods.dev/badge/skills/cartapenabark/dotnetanalyzer/dotnet-analyzer-code-intelligence/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-analyzer-code-intelligence

Your own site · 80×15
<a href="https://agentmods.dev/skills/cartapenabark/dotnetanalyzer/dotnet-analyzer-code-intelligence"><img src="https://agentmods.dev/badge/skills/cartapenabark/dotnetanalyzer/dotnet-analyzer-code-intelligence.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 226 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,150 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.00226 $0.01150
Opus 5.5 $0.00090 $0.00460
Sonnet 5.5 $0.00045 $0.00230
Haiku 4.5 $0.00023 $0.00115

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

Security

Grade A, and why

dotnet-analyzer-code-intelligence 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.

plugin/skills/dotnet-analyzer-code-intelligence/SKILL.md · 92 lines

How it starts

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

.NET Code Intelligence

Navigate and understand C# code through symbol queries, type hierarchies, call graphs, and semantic analysis.

Prerequisite Check

Before any analysis, verify dotnet-analyzer is installed:

  1. Run dotnet-analyzer --version in a shell
  2. If it fails, ask the user: "DotNetAnalyzer global tool is not installed. Shall I run dotnet tool install --global DotNetAnalyzer for you?"
    • If confirmed, run the install command and continue
    • If declined, provide the manual install command and stop

Available MCP Tools

Use these MCP tools (prefixed with mcp__plugin_netan_dotnet-analyzer__):

Tool Purpose Key Parameters
find_references Find all references to a symbol projectPath, filePath, line, column
find_declarations Find symbol declaration locations projectPath, filePath, line, column
get_symbol_info Get detailed symbol metadata projectPath, filePath, line, column
resolve_symbol Resolve a symbol by name projectPath, filePath, line, column
go_to_definition Jump to symbol definition filePath, line, column
get_type_hierarchy Full type inheritance chain projectPath, typeName
get_member_hierarchy Member override/implementation chain projectPath, memberName, containingType
get_semantic_model Semantic info at a position filePath, line, column
get_syntax_tree Syntax tree structure as JSON filePath, optional range, maxDepth
get_code_metrics Complexity and quality metrics projectPath, filePath
get_caller_info Find all callers of a method projectPath, filePath, line, column
get_callee_info Find all methods called by a method projectPath, filePath, line, column
get_call_graph Generate call graph (DOT/JSON/Mermaid) projectPath, filePath, optional format
get_definition_and_references Combined definition + references projectPath, filePath, line, column

Read the full file on GitHub · 92 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 · 92 lines · 226 tokens per session scan A 09a981ed110a

Subscribe to this mod's changes

dotnet-analyzer-code-intelligence is a skill published in the GitHub repository CartapenaBark/DotNetAnalyzer (2 stars, last pushed 6mo ago), licensed MIT. It adds 226 tokens to every session and 1,150 once invoked, about $0.0009 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-31.

Related

Other skills, from other repositories

roslyn-codelens

Use when working with any .NET / C# code (.cs/.csproj/.sln/.slnx files), finding callers/references/implementations, checking compiler errors or warnings, running dotnet build for diagnostics, searching for a type/method/interface by name, inspecting DI registrations, detecting dead code or circular dependencies…

MarcelRoozekrans/roslyn-codelens-mcp · 104 tokens

lightcad

Use when building or extending a desktop CAD/BIM application with the open-source FeiYang LightCAD platform — plugin development, custom elements, DWG/DXF I/O, 2D drafting and 3D/BIM modeling on C#/.NET. LightCAD (FeiYang Integrated Design Platform) is a C# CAD system integrating 2D design, 3D design, and BIM.

znlgis/opengis-skills · 85 tokens

rider-search

Routing rules for code search in JetBrains Rider projects — use the Rider MCP symbol/reference/file tools instead of Bash grep. Use whenever searching for a symbol, definition, function, variable, type, or finding usages/references in a C#/.NET or Unreal C++ codebase open in Rider.

JSungMin/rider-mcp-enforcer · 60 tokens

dotnet-review

Use when the user asks to review C#/.NET code, check a PR/diff, look for naming or styling issues, assess performance or concurrency, find dead code/duplication, review XML documentation, check test coverage, or do a security review. ALSO use it for a convention or consistency audit across existing code — "are all our…

Attemainio/dotnet-toolkit · 218 tokens

dotnet-explore

Use before changing C#/.NET code when the set of symbols the task touches is not already known — surveying an unfamiliar subsystem, assessing how a new feature lands in the existing codebase, or finding out what a change would break. Delegates the wide searchindex/getreferences sweep to the plugin's dotnet-explore…

Attemainio/dotnet-toolkit · 104 tokens

grasshopper-component

Complete guide for developing custom Grasshopper components in C# — GHComponent class, RegisterInputParams/OutputParams, SolveInstance, DataTree patterns, parameter types, error handling, and component packaging as .gha. Use this skill whenever creating or debugging a Grasshopper component: "grasshopper component c#"…

bcshih/rhino-dev-skills · 128 tokens