dotnet-inspect

dotnet-inspect is a skill for Claude Code, Codex from thangchung/agent-engineering-experiment. It costs 54 tokens per session (1,608 once invoked), scanned A, a copy of dotnet-inspect, MIT.

A tool for inspecting the programming interfaces provided by .NET libraries, NuGet packages, platform libraries, and local compiled files.

In plain words
What is it for?
Use it to find types and members, read method signatures and documentation, inspect source or intermediate code, compare package versions, and find extension methods or implementors.
Why use it?
It answers what types and methods exist, how they are used, and what changed between package versions. This reduces guesswork when an API is missing, changed, or unfamiliar.

Skill for Claude CodeCodex

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/thangchung/agent-engineering-experiment/dotnet-inspect
Any agent
npx skills add thangchung/agent-engineering-experiment --skill dotnet-inspect
Clone the repo
git clone --depth 1 https://github.com/thangchung/agent-engineering-experiment

Made for: Claude Code, Codex.

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/thangchung/agent-engineering-experiment/dotnet-inspect.svg)](https://agentmods.dev/skills/thangchung/agent-engineering-experiment/dotnet-inspect)
Your own site
<a href="https://agentmods.dev/skills/thangchung/agent-engineering-experiment/dotnet-inspect"><img src="https://agentmods.dev/badge/skills/thangchung/agent-engineering-experiment/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,608 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod 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.01608
Opus 5 $0.00027 $0.00804
Sonnet 5 $0.00011 $0.00322
Haiku 4.5 $0.00005 $0.00161

Measured 5d ago against content hash 944d0d4130c9, 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

This is a copy

100% identical to dotnet-inspect — 238 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

agentgateway-entraid-obo/.claude/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 944d0d4130c9

Subscribe to this mod's changes

dotnet-inspect is a skill published in the GitHub repository thangchung/agent-engineering-experiment (24 stars, last pushed 1mo ago), licensed MIT. It adds 54 tokens to every session and 1,608 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to dotnet-inspect, differing in 238 lines, and is treated as a copy.