From ilspycmd
Decompile .NET assemblies to C# source. Trigger on inspect DLL, recover source code, decompile EXE, extract API surface, or understand third-party library internals.
How this skill is triggered — by the user, by Claude, or both
Slash command
/ilspycmd:ilspycmdThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
.NET assembly decompiler. Converts compiled DLL/EXE back to readable C# source.
.NET assembly decompiler. Converts compiled DLL/EXE back to readable C# source.
dotnet tool install --global ilspycmd
| Task | Command |
|---|---|
| Decompile to directory | ilspycmd <assembly.dll> -o <output-dir> |
| Decompile single file | ilspycmd <assembly.dll> -o <output-dir> -p |
| Show types only | ilspycmd <assembly.dll> -l |
| Decompile with deps | Copy all dependency DLLs to same folder first |
Extract API surface from a NuGet package:
# 1. Download nupkg from NuGet.org
dotnet nuget push does not apply. Use:
# https://www.nuget.org/api/v2/package/<id>/<version>
# 2. Extract the nupkg (it's a zip)
unzip <package>.nupkg -d <dir>
# 3. Find the DLL in lib/netX.Y/
# 4. Decompile
ilspycmd <dir>/lib/net8.0/<assembly>.dll -o <output> -p
If ilspycmd fails with runtime version error:
The tool requires the exact .NET runtime it was built for. Install the missing runtime from https://dotnet.microsoft.com/download.
See references/decompilation-guide.md for detailed workflows.
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub angri450/nong.dev.net --plugin ilspycmd