/dotnet-inspect:dotnet-inspect-private-feedsfrom dotnet-inspect
Inspects NuGet packages from private or folder feeds using explicit sources, source mapping, and noninteractive authentication. Helps distinguish package absence from feed failures.
Ships in dotnet-inspect. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Use this skill when package evidence lives outside NuGet.org.
Run dnx dotnet-inspect -y -- <command>. Start with a credential-free
configuration and a NuGet credential provider; keep tokens out of repositories,
URLs and command lines.
dnx dotnet-inspect -y -- package [email protected] \
--nugetconfig ./NuGet.Config
dnx dotnet-inspect -y -- package MyCompany.Widget --versions-with-feed \
--nugetconfig ./NuGet.Config
dnx dotnet-inspect -y -- package MyCompany.Widget --versions -n 1 \
--source ./feed
dnx dotnet-inspect -y -- package [email protected] \
--source ./feed --path @readme --content --raw
--nugetconfig selects exactly that configuration. Repeatable --source
replaces configured sources; --add-source augments them for one invocation.
Folder feeds accept a path or file:// URI. Source order is not version
precedence: discovery chooses among eligible observations. Pin Id@version
when the exact coordinate matters; Id@latest --versions requests a fresh
latest-version check, and --preview opts into prereleases.
find --packages is NuGet.org-only and rejects source overrides.
For API/history inspection, carry the same --source/--nugetconfig and TFM
through every probe. Load skill compatibility for ranges, checkpoints and
--major-versions; do not reuse ordinals from an unlisted-inclusive version
listing in a listed-only history vector.
For detailed command admission use --help; for unfamiliar inspection/query
depth use explain "<question>" and follow its returned binding.
Use normal <packageSources> plus <packageSourceMapping> in NuGet.Config.
Every requested package, including dependencies and tool redirects, needs an
eligible source. Exact-ID mapping wins over prefixes; otherwise the longest
prefix wins.
<packageSourceMapping>
<packageSource key="private">
<package pattern="MyCompany.*" />
</packageSource>
<packageSource key="nuget.org">
<package pattern="*" />
</packageSource>
</packageSourceMapping>
An override does not disable mapping. Its endpoint must match a configured source to retain that source's mapped name. Do not recover mapping failures by silently switching to another authority.
Install Microsoft's Azure Artifacts provider:
dotnet tool install --global Microsoft.Artifacts.CredentialProvider.NuGet.Tool
dotnet-inspect discovers NUGET_NETCORE_PLUGIN_PATHS, NUGET_PLUGIN_PATHS,
the normal ~/.nuget/plugins/netcore/ directory, and nuget-plugin-* tools on
PATH. Providers run after a 401 and are requested noninteractively: cached
and environment-supplied credentials work, but no sign-in prompt opens.
az login alone does not supply a NuGet credential.
In Azure Pipelines, run NuGetAuthenticate@1 before inspection. Outside it,
use the provider's documented unattended input such as
ARTIFACTS_CREDENTIALPROVIDER_EXTERNAL_FEED_ENDPOINTS, without printing its
expanded secret value. For build identities, the provider also accepts
ARTIFACTS_CREDENTIALPROVIDER_URI_PREFIXES and
ARTIFACTS_CREDENTIALPROVIDER_ACCESSTOKEN; certificate inputs use
ARTIFACTS_CREDENTIALPROVIDER_FEED_ENDPOINTS.
If no provider serves the feed, a private config outside the repository can
supply both Username and ClearTextPassword under the matching
packageSourceCredentials key. Do not rely on %VAR% expansion, encrypted
Password, NuGetPackageSourceCredentials_*, or URL credentials:
dotnet-inspect does not consume those forms.
dnx dotnet-inspect -y -- workspace \
--package [email protected] --tfm net10.0 \
--nuget-source-auth-required \
https://nuget.pkg.github.com/example/index.json --share url
Inspect Web prompts per authentication-required endpoint. Credentials stay in page-session memory, not the packet, URL, browser storage or telemetry. Reloading prompts again. The declaration carries source requirements, not credentials or proof that acquisition succeeded.
A 401 means unreadable source, not absent package. Check provider discovery,
endpoint matching, token scope and expiry before changing the ID. Missing
folders and malformed archives are source failures too. A healthy peer does
not make incomplete automatic version discovery complete.
Payload caches do not authorize a new source or introduce version candidates.
Retain source provenance and warnings; a warm cache must not become an
unqualified cross-feed answer. --no-nuget-cache excludes the NuGet global
package-cache layer where supported.
--offline prohibits network and credential plugins; successful inspection
requires already authorized local content. It is not a metadata-only online
version query. An offline cache miss is not evidence that the package does
not exist.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Generated from the plugin's indexed repository (richlander/dotnet-inspect) — no native marketplace selected
npx claudepluginhub p/richlander-dotnet-inspect13 skills in this plugin
/dotnet-inspect-compatibilityCompare .NET library versions for API breaks, implementation changes and static analysis shifts; follow exact API correspondence and history without treating comparisons as safe-upgrade verdicts./dotnet-inspect-correctnessInvestigate .NET exception handling, unsafe operations, interop boundaries and pooled-resource ownership using exact Member and IL evidence; static findings do not establish overall safety./dotnet-inspect-decompilerRead .NET method and type implementations as authored-first source, decompiled C#, annotated source or IL; interpret reconstruction fidelity and locate exact code coordinates. Use --offline to prohibit network acquisition./dotnet-inspectFind and share evidence instead of guessing about .NET packages, libraries, APIs, dependencies, source, performance, and version changes./dotnet-inspect-metadataInspect raw ECMA-335 metadata in a .NET assembly; discover tables and heaps, read decoded rows and handles, locate exact coordinates and project bounded machine-readable results./dotnet-inspect-package-skillsDiscover version-matched agent skills in restored NuGet dependencies or an exact package, select relevant guidance and load it without changing the repository; persist skills only when explicitly requested.Other plugins' skills for the same job