Ilspy Decompile
Ilspy Decompile automatically decompiles .NET assemblies into C# source code for analysis and reverse engineering, saving significant time.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add ilspy-decompile npx -- -y @trustedskills/ilspy-decompile
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"ilspy-decompile": {
"command": "npx",
"args": [
"-y",
"@trustedskills/ilspy-decompile"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill enables AI agents to decompile .NET assemblies using ILSpy, converting compiled binaries back into readable Intermediate Language (IL) code. It allows for the inspection of internal logic within closed-source or obfuscated applications without requiring access to the original source files.
When to use it
- Analyzing legacy .NET applications where source code is unavailable but behavior needs understanding.
- Debugging runtime errors by examining the actual IL instructions executed during a crash.
- Investigating security vulnerabilities in third-party libraries by reviewing their compiled logic.
- Extracting algorithmic details from proprietary software for educational or reverse-engineering purposes.
Key capabilities
- Executes decompilation of .NET assemblies into human-readable IL code.
- Integrates with the ILSpy engine to parse binary structures.
- Outputs structured text representing method bodies and control flow.
Example prompts
- "Use ilspy-decompile to analyze
System.dlland show me the IL implementation ofString.Concat." - "Decompile the attached
MyApp.exefile and summarize the logic inside theMainmethod." - "Run ilspy-decompile on this assembly and list all public methods that interact with database connections."
Tips & gotchas
Ensure you have valid .NET assemblies to process, as decompiling invalid or corrupted binaries may result in errors. While ILSpy provides high-quality output, the resulting code is an approximation of the original source and should not be treated as a perfect 1:1 replacement for human-written C# or VB.NET.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.