This wraps ILSpy's command-line decompiler so Claude can inspect .NET assemblies for you. Point it at a DLL from NuGet packages, your build output, or the runtime itself, and it'll show you the actual C# implementation behind any API. Useful when documentation is thin or you need to understand why something behaves the way it does. The skill covers both standalone ilspycmd and the dnx version, walks through common assembly locations, and reminds you about gotchas like trimmed builds producing incomplete output. Just be aware that decompiling code you don't own can have licensing implications depending on what you're looking at.

skills.sh installs
640
GitHub stars
1.3K
last updated
Aug 21, 2026

Install

$ npx -y skills add aaronontheweb/dotnet-skills --skill ilspy-decompile --agent claude-code

Installs into .claude/skills of the current project.

Files

.NET Assembly Decompilation with ILSpy

Use this skill to understand how .NET code works internally by decompiling compiled assemblies.

Prerequisites

  • .NET SDK installed
  • ILSpy command-line tool available via one of the following:
    • dnx ilspycmd (if available in your SDK or runtime)
    • dotnet tool install --global ilspycmd

Both forms are shown below. Use the one that works in your environment.

Note: ILSpyCmd options may vary slightly by version.
Always verify supported flags with ilspycmd -h.

Quick start

# Decompile an assembly to stdout
ilspycmd MyLibrary.dll
# or
dnx ilspycmd MyLibrary.dll

# Decompile to an output folder
ilspycmd -o output-folder MyLibrary.dll

Common .NET Assembly Locations

NuGet packages

~/.nuget/packages/<package-name>/<version>/lib/<tfm>/

.NET runtime libraries

dotnet --list-runtimes

.NET SDK reference assemblies

dotnet --list-sdks

Reference assemblies do not contain implementations.

Project build output

./bin/Debug/net8.0/<AssemblyName>.dll
./bin/Release/net8.0/publish/<AssemblyName>.dll

Core workflow

Sponsors

Details

Repository
github.com/aaronontheweb/dotnet-skills
Categories
Backend & APIs, .NET & C#
First seen
Jun 3, 2026

More from aaronontheweb/dotnet-skills

All 34
1bobmatnyc avatarhono-cloudflarebobmatnyc/claude-mpm-skillsHono on Cloudflare Workers - bindings, KV, D1, R2, Durable Objects, and edge deployment patterns639skills.sh installs
2hkuds avatarcli-anything-browserhkuds/cli-anythingBrowser automation CLI using DOMShell MCP server. Maps Chrome's Accessibility Tree to a virtual filesystem for agent-native navigation.639skills.sh installs
3tech-leads-club avatartechnical-design-doc-creatortech-leads-club/agent-skillsCreates comprehensive Technical Design Documents (TDD) with mandatory and optional sections through interactive discovery. Use when user asks to "write a design639skills.sh installs
4everyinc avatargemini-imagegeneveryinc/compound-engineering-pluginThis skill should be used when generating and editing images using the Gemini API (Nano Banana Pro). It applies when creating images from text prompts, editing 633skills.sh installs
5davila7 avatarnextjs-best-practicesdavila7/claude-code-templatesNext.js App Router principles. Server Components, data fetching, routing patterns.632skills.sh installs
6sanky369 avatarsocial-graphicssanky369/vibe-building-skillsProduce platform-correct social media graphics: pick the right dimensions and layout per platform, write the headline/body/CTA copy, build the generation prompt629skills.sh installs