dotnet-inspect

dotnet-inspect is a skill for Claude Code, Codex from NikiforovAll/claude-code-rules. It costs 54 tokens per session (1,613 once invoked), scanned A, original, Apache-2.0.

A command-line tool for inspecting the programming interfaces in .NET libraries, NuGet packages, platform libraries, and local files. It can show types, members, signatures, documentation, source, and intermediate language.

In plain words
What is it for?
Use it to search APIs, inspect methods and constructors, find implementors or extension methods, compare versions, and examine source or compiled output.
Why use it?
It avoids guessing which classes, methods, or extensions a .NET package provides. It also makes it easier to compare package versions and spot changes that could break code.

Skill for Claude CodeCodex

Part of the handbook-dotnet plugin — 9 skills, 1 hook shipped together

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.

agentmods
npx agentmods add skills/nikiforovall/claude-code-rules/dotnet-inspect
Any agent
npx skills add NikiforovAll/claude-code-rules --skill dotnet-inspect
Clone the repo
git clone --depth 1 https://github.com/NikiforovAll/claude-code-rules

Made for: Claude Code, Codex.

Or install handbook-dotnet, the plugin that ships this one along with the rest of its 9 skills, 1 hook.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/nikiforovall/claude-code-rules/dotnet-inspect.svg)](https://agentmods.dev/skills/nikiforovall/claude-code-rules/dotnet-inspect)
Your own site
<a href="https://agentmods.dev/skills/nikiforovall/claude-code-rules/dotnet-inspect"><img src="https://agentmods.dev/badge/skills/nikiforovall/claude-code-rules/dotnet-inspect.svg" alt="Measured on agentmods" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,613 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00054 $0.01613
Opus 5 $0.00027 $0.00807
Sonnet 5 $0.00011 $0.00323
Haiku 4.5 $0.00005 $0.00161

Measured 5d ago against content hash 76c090d1910c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

dotnet-inspect 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 5d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

plugins/handbook-dotnet/skills/dotnet-inspect/SKILL.md · 120 lines

How it starts

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

dotnet-inspect

Query .NET library APIs — the same commands work across NuGet packages, platform libraries (System., Microsoft.AspNetCore.), and local .dll/.nupkg files.

Quick Decision Tree

  • Code broken?diff --package [email protected] first, then member --oneline
  • Need API surface?member Type --package Foo --oneline (token-efficient)
  • Need signatures?member Type --package Foo -m Method (default shows full signatures + docs)
  • Need source/IL?member Type --package Foo -m Method -v:d (adds Source, Lowered C#, IL)
  • Need constructors?member 'Type<T>' --package Foo -m .ctor (use <T> not <>)
  • Need all overloads?member Type --package Foo --select (shows Name:N indices)

When to Use This Skill

  • "What types are in this package?"type discovers types (terse), find searches by pattern
  • "What's the API surface?"type for discovery, member for detailed inspection (docs on)
  • "What changed between versions?"diff classifies breaking/additive changes
  • "This code uses an old API — fix it"diff the old..new version, then member --oneline to see the new API
  • "What extends this type?"extensions finds extension methods/properties
  • "What implements this interface?"implements finds concrete types
  • "What does this type depend on?"depends walks the type hierarchy upward
  • "What version/metadata does this have?"package and library inspect metadata
  • "Show me something cool"demo runs curated showcase queries

Key Patterns

Use --oneline as the default for scanning — it works on type, member, find, diff, and implements:

dnx dotnet-inspect -y -- member JsonSerializer --package System.Text.Json --oneline  # scan members
dnx dotnet-inspect -y -- type --package System.Text.Json --oneline                   # scan types
dnx dotnet-inspect -y -- diff --package [email protected] --oneline  # triage changes

Read the full file on GitHub · 120 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. 5d ago First seen · 120 lines · 54 tokens per session scan A 76c090d1910c

Subscribe to this mod's changes

dotnet-inspect is a skill published in the GitHub repository NikiforovAll/claude-code-rules (141 stars, last pushed 6d ago), licensed Apache-2.0. It adds 54 tokens to every session and 1,613 once invoked, about $0.0003 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

unity-coder

Use when implementing Unity C# code to follow proper coding guidelines, naming conventions, member ordering, and Unity-specific patterns.

DmitriyYukhanov/claude-plugins · 27 tokens

unity-dev

Start Unity C# development workflow with architecture, implementation, review, and testing phases.

DmitriyYukhanov/claude-plugins · 19 tokens

review-pr

Review a Pull Request in one of two postures: an expository "tour guide" that walks through changes in logical order, or an adversarial audit that assumes the change is wrong until proven safe and hunts for the failure mode. Triggers: "review PR #123", "adversarial review", "walk me through this PR", "PR tour guide"…

jontsai/claude-plugins · 139 tokens

researcher

Use when asked to create research documents, generate PDFs, make one-pagers, or create cheatsheets. Triggers: "research document", "generate PDF", "one-pager", "cheatsheet", "distinctive design". Provides HTML/Markdown/PDF with Terminal, Editorial, Corporate, Industrial, Fresh aesthetic presets.

jontsai/claude-plugins · 68 tokens

writing-csharp

Idiomatic C# /.NET development. Use when writing C# code, changing .csproj or .sln, or working on ASP.NET Core apps, libraries, CLIs, workers, and xUnit/NUnit/MSTest suites. Emphasizes nullable references, async/await, LINQ discipline, boundary validation, focused dotnet feedback, and minimal dependencies. NOT for Go…

alexei-led/cc-thingz · 99 tokens

dotnet-backend-expert

This skill should be used when the user is writing, reviewing, debugging, or architecting pure .NET backend code for Kestrel-hosted services. It provides expert critique for REST endpoints, SignalR hubs, TypeScript/React client integration shape, pragmatic Rust interop, application services, AppHost-aware project…

mathisk2095/jko-claude-plugins · 181 tokens