Agent skill

Ilspy Decompile

by NikiforovAll in NikiforovAll/claude-code-rules

Understand implementation details of .NET code by decompiling assemblies.

Apache-2.0Auto-check passed

Install Ilspy Decompile

skills CLI
$ npx skills add NikiforovAll/claude-code-rules --skill ilspy-decompile -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install NikiforovAll/claude-code-rules ilspy-decompile --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/NikiforovAll/claude-code-rules.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/handbook-dotnet/skills/ilspy-decompile .claude/skills/ilspy-decompile && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
ilspy-decompile
GitHub stars
141
Used in
2 other repos
Token cost
~760 tokens
SKILL.md length
200 words
Files
2 (incl. references)
Skills in repo
26
Repo updated
First seen
Licence
Apache-2.0

At a glance

Understand implementation details of .NET code by decompiling assemblies.

  • Works in 4 steps: Identify what you want to understand → Locate the assembly → List types to find the target → …
  • You want to see how a .NET API works internally
  • SKILL.md covers Prerequisites, Quick start, Common .NET Assembly Locations and Core workflow, plus 4 more sections
  • Calls dotnet

What it does

Ilspy Decompile is an agent skill from NikiforovAll/claude-code-rules. 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.

Its SKILL.md is about 760 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/diagrammer.md`).

It works with .NET. The repository describes itself as: Learn practical techniques to enhance your AI-assisted development workflow with Claude Code. The licence is Apache-2.0.

When your agent uses it

  • You want to see how a .NET API works internally
  • Inspect NuGet package source
  • View framework implementation
  • Understand compiled .NET binaries

Example prompts

  • “/ilspy-decompile”

Requirements

  • Pre-approved tools (allowed-tools): Bash(dotnet dnx:*), Bash(ilspycmd:*)

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Identify what you want to understand
  2. Locate the assembly
  3. List types to find the target
  4. Decompile the target

What it can do on your machine

Read from SKILL.md and the folder at commit 281c063. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Bash(dotnet dnx:*)
    • Bash(ilspycmd:*)

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • dotnet

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Ilspy Decompile loads about 760 tokens when it runs, and up to ~1.3k if it reads all its reference files. Until then it costs about 62 tokens; SKILL.md has 200 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~62
When it runs · the whole SKILL.md, loaded when a task matches
~760
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from NikiforovAll/claude-code-rules at commit 281c063, republished under its Apache-2.0 licence (© NikiforovAll). 200 words, ~760 tokens.

Download SKILL.mdSave it as .claude/skills/ilspy-decompile/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
ilspy-decompile
description
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.
allowed-tools
Bash(dotnet dnx:*), Bash(ilspycmd:*)

.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:
    • dotnet 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

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

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

Common .NET Assembly Locations

NuGet packages
bash
~/.nuget/packages/<package-name>/<version>/lib/<tfm>/
.NET runtime libraries
bash
dotnet --list-runtimes
.NET SDK reference assemblies
bash
dotnet --list-sdks

Reference assemblies do not contain implementations.

Project build output
bash
./bin/Debug/net8.0/<AssemblyName>.dll
./bin/Release/net8.0/publish/<AssemblyName>.dll

Core workflow

  1. Identify what you want to understand
  2. Locate the assembly
  3. List types to find the target
  4. Decompile the target

Commands

List types in an assembly

Use -l with an entity type to discover what's inside:

bash
# List classes
ilspycmd -l c MyLibrary.dll

# List interfaces
ilspycmd -l i MyLibrary.dll

# List structs, delegates, enums
ilspycmd -l s MyLibrary.dll
ilspycmd -l d MyLibrary.dll
ilspycmd -l e MyLibrary.dll
Basic decompilation
bash
ilspycmd MyLibrary.dll
ilspycmd -o ./decompiled MyLibrary.dll
ilspycmd -p -o ./project MyLibrary.dll
Targeted decompilation
bash
# Decompile specific type
ilspycmd -t Namespace.ClassName MyLibrary.dll

# Specify C# language version (default: Latest)
ilspycmd -lv CSharp12_0 MyLibrary.dll
View IL code
bash
ilspycmd -il MyLibrary.dll
Clean output
bash
# Remove dead code and dead stores for cleaner results
ilspycmd --no-dead-code --no-dead-stores MyLibrary.dll
Organized project output
bash
# Decompile with nested directories matching namespaces
ilspycmd --nested-directories -p -o ./decompiled MyLibrary.dll

References

  • references/diagrammer.md — Generate interactive HTML diagrams from assemblies. Load when the user asks to visualize or explore type relationships.

Notes on modern .NET builds

  • ReadyToRun images may reduce readability
  • Trimmed or AOT builds may omit code
  • Prefer non-trimmed builds

Decompiling assemblies may be subject to license restrictions.

© NikiforovAll, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (references) in plugins/handbook-dotnet/skills/ilspy-decompile of NikiforovAll/claude-code-rules.

  • SKILL.md
  • references/diagrammer.md

Open the folder on GitHubat commit 281c063

Used in 2 other repositories

We found 2 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 2 other GitHub owners. This page covers the copy in NikiforovAll/claude-code-rules, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Ilspy Decompile next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Ilspy Decompile compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Ilspy Decompile this skillNikiforovAll/claude-code-rules1412 repos~760Automated safety check: PassApache-2.0
Minimax DOCXpoco-ai/poco-claw1.4k7 repos~3.9kAutomated safety check: PassMIT
Microsoft Skill CreatorMicrosoftDocs/mcp1.9k3 repos~2.1kAutomated safety check: PassCC-BY-4.0
Speckit ConstitutionWeihanLi/WeihanLi.Common24211 repos~2.1kAutomated safety check: PassApache-2.0
Copilot Session Failure Analysisdotnet/maui23k—~3.4kAutomated safety check: PassMIT
Update .NET OS Packagesdotnet/core22k—~2.3kAutomated safety check: PassMIT

Similar skills

  • Minimax DOCX

    poco-ai/poco-claw

    Professional DOCX document creation, editing, and formatting using OpenXML SDK (.NET).

    1.4k GitHub starsUsed in 7 repos~3.9k tokens
    Documents & OfficeAuto-check passed
  • Microsoft Skill Creator

    MicrosoftDocs/mcp

    Official

    Create agent skills for Microsoft technologies using official documentation.

    1.9k GitHub starsUsed in 3 repos~2.1k tokens
    Agent WorkflowsAuto-check passed
  • Speckit Constitution

    WeihanLi/WeihanLi.Common

    Create or update the project constitution from interactive or provided principle inputs, ensuring all dependent templates stay in sync.

    242 GitHub starsUsed in 11 repos~2.1k tokens
    DevelopmentAuto-check passed
  • Mines local Copilot CLI session logs for dotnet/maui to rank costly or failing runs, tag recurring failure modes, propose repo edits and emit guard evals.

    23k GitHub stars~3.4k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Official

    Audits and updates os-packages.json files listing the Linux packages each .NET release needs per distro, then regenerates the Markdown from the JSON.

    22k GitHub stars~2.3k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Microsoft Code Reference

    MicrosoftDocs/mcp

    Official

    Find working code samples, verify API signatures, and fix Microsoft SDK errors using official docs.

    1.9k GitHub starsUsed in 3 repos~1.1k tokens
    DevelopmentAuto-check passed

More from NikiforovAll/claude-code-rules

All 26 skills in this repo
  • Reflect Solution

    NikiforovAll/claude-code-rules

    Summarize WHAT WAS SHIPPED in a Claude Code session as a self-contained HTML slide deck — the elevator pitch (problem, solution, decisions, artifacts, verification, gaps), not a play-by-play of tool…

    141 GitHub stars~3.8k tokensUpdated 7 days ago
    Auto-check passed
  • Dotnet Analyzers

    NikiforovAll/claude-code-rules

    Run dotnet format to fix code style and analyzer diagnostics (IDE0005, CA, SA).

    141 GitHub stars~1.9k tokensUpdated 7 days ago
    Auto-check passed
  • Reflect Tree

    NikiforovAll/claude-code-rules

    Visualize a Claude Code session as a quest/skill tree — a navigable SVG graph where nodes are turns and edges show flow, with distinct visual encoding for normal flow, dead-ends, corrections…

    141 GitHub stars~2.8k tokensUpdated 7 days ago
    Auto-check passed
  • Structured Plan Mode

    NikiforovAll/claude-code-rules

    This skill should be used when planning and tracking complex feature implementations that require systematic task decomposition.

    141 GitHub stars~4.2k tokensUpdated 7 days ago
    Auto-check passed
  • Glab

    NikiforovAll/claude-code-rules

    Expert guidance for using the GitLab CLI (glab) to manage GitLab issues, merge requests, CI/CD pipelines, repositories, and other GitLab operations from the command line.

    141 GitHub starsUsed in 1 repo~2.2k tokens
    Auto-check passed
  • Version Bump

    NikiforovAll/claude-code-rules

    This skill automates version bumping during the release process for the Claude Code Handbook monorepo.

    141 GitHub stars~858 tokensUpdated 7 days ago
    Auto-check passed

Works with

Questions about Ilspy Decompile

What does Ilspy Decompile do?

Understand implementation details of .NET code by decompiling assemblies. Ilspy Decompile is an agent skill from NikiforovAll/claude-code-rules.NET code by decompiling assemblies.

When should I use Ilspy Decompile?

Ilspy Decompile fits situations like: you want to see how a .NET API works internally; inspect NuGet package source; view framework implementation; understand compiled .NET binaries.

How do I install Ilspy Decompile in Claude Code?

Run `npx skills add NikiforovAll/claude-code-rules --skill ilspy-decompile -a claude-code`. Or copy the skill folder (plugins/handbook-dotnet/skills/ilspy-decompile in NikiforovAll/claude-code-rules) into .claude/skills/ilspy-decompile in your project. Claude Code loads it when a task matches its description.

How do I install Ilspy Decompile in Codex?

Run `npx skills add NikiforovAll/claude-code-rules --skill ilspy-decompile -a codex`. Or copy the skill folder (plugins/handbook-dotnet/skills/ilspy-decompile in NikiforovAll/claude-code-rules) into .agents/skills/ilspy-decompile in your project. Codex loads it when a task matches its description.

Can I use Ilspy Decompile in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add NikiforovAll/claude-code-rules --skill ilspy-decompile -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/ilspy-decompile, .gemini/skills/ilspy-decompile, .github/skills/ilspy-decompile and .opencode/skills/ilspy-decompile in your project.

What does Ilspy Decompile need to run?

Going by SKILL.md and its folder, Ilspy Decompile needs the command-line tools its instructions call (dotnet). Its frontmatter pre-approves these tools: Bash(dotnet dnx:*), Bash(ilspycmd:*).

Does Ilspy Decompile access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Ilspy Decompile safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Ilspy Decompile use?

Ilspy Decompile is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Ilspy Decompile use?

About 760 tokens (SKILL.md is roughly 3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 506 tokens, read only when the agent opens those files.

What are the alternatives to Ilspy Decompile?

Skills that share tags, products or a category with Ilspy Decompile: Minimax DOCX (poco-ai/poco-claw, 1.4k stars), Microsoft Skill Creator (MicrosoftDocs/mcp, 1.9k stars), Speckit Constitution (WeihanLi/WeihanLi.Common, 242 stars) and Copilot Session Failure Analysis (dotnet/maui, 23k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Ilspy Decompile?

NikiforovAll (a GitHub user) maintains it in NikiforovAll/claude-code-rules, which has 141 GitHub stars. The repository holds 26 skills in this directory. The repository was last updated on October 2, 2026.

Source: NikiforovAll/claude-code-rules on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.