Tooluck logoTooluck
SKILL.md

ilspy-decompile

Agent skill fromAaronontheweb/dotnet-skills

Understand implementation details of .NET code by decompiling assemblies. Use when you want to see how a .NET API works internally, inspect NuGet package source, view framework implementation, or understand compiled .NET binaries.

How to install ilspy-decompile

install ilspy-decompile
# install the dotnet-skills pack with the skills CLI
npx skills add Aaronontheweb/dotnet-skills

# or add only this skill to Claude Code: copy the folder

skills/ilspy-decompile/

# into

~/.claude/skills/ilspy-decompile/ (all projects)

.claude/skills/ilspy-decompile/ (one project)

skills/ilspy-decompile/SKILL.md

MITFull file
1# .NET Assembly Decompilation with ILSpy
2
3Use this skill to understand how .NET code works internally by decompiling compiled assemblies.
4
5## Prerequisites
6
7- .NET SDK installed
8- ILSpy command-line tool available via one of the following:
9 - `dnx ilspycmd` (if available in your SDK or runtime)
10 - `dotnet tool install --global ilspycmd`
11
12Both forms are shown below. Use the one that works in your environment.
13
14> Note: ILSpyCmd options may vary slightly by version.
15> Always verify supported flags with `ilspycmd -h`.
16
17## Quick start
18
19```bash
20# Decompile an assembly to stdout
21ilspycmd MyLibrary.dll
22# or
23dnx ilspycmd MyLibrary.dll
24
25# Decompile to an output folder
26ilspycmd -o output-folder MyLibrary.dll
27```
28
29## Common .NET Assembly Locations
30
31### NuGet packages
32
33```bash
34~/.nuget/packages/<package-name>/<version>/lib/<tfm>/
35```
36
37### .NET runtime libraries
38
39```bash
40dotnet --list-runtimes
41```
42
43### .NET SDK reference assemblies
44
45```bash
46dotnet --list-sdks
47```
48
49> Reference assemblies do not contain implementations.
50
51### Project build output
52
53```bash
54./bin/Debug/net8.0/<AssemblyName>.dll
55./bin/Release/net8.0/publish/<AssemblyName>.dll
56```
57
58## Core workflow
59
601. Identify what you want to understand
612. Locate the assembly
623. List types
634. Decompile the target
64
65## Commands
66
67### Basic decompilation
68
69```bash
70ilspycmd MyLibrary.dll
71ilspycmd -o ./decompiled MyLibrary.dll
72ilspycmd -p -o ./project MyLibrary.dll
73```
74
75### Targeted decompilation
76
77```bash
78…

Excerpt shown under the repository's MIT license.

More skills in dotnet-skills

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

pbakaus /

impeccable
108k

The design vocabulary for your coding agent. Steer with polish and bolder, review with critique and audit, catch AI slop before it ships.

2 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates