sherlock

sherlock is a skill for Claude Code from jcucci/dotnet-sherlock-mcp. It costs 83 tokens per session (1,468 once invoked), scanned A, original, MIT.

A tool for inspecting compiled .NET assemblies, which are the packaged program files used by .NET applications. It can look up types, methods, interfaces, call relationships, and NuGet package contents.

In plain words
What is it for?
Use it before writing C# against an unfamiliar library or when investigating what a .NET assembly contains and how its methods are connected.
Why use it?
It replaces guesses about a library's API with information from the exact compiled version the project uses.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the sherlock plugin — 1 skill shipped together

Good fit Use it before writing C# against an unfamiliar library or when investigating what a .NET assembly contains and how its methods are connected.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jcucci/dotnet-sherlock-mcp/sherlock
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add jcucci/dotnet-sherlock-mcp --skill sherlock
Clone the repo
git clone --depth 1 https://github.com/jcucci/dotnet-sherlock-mcp

Made for: Claude Code.

Or install sherlock, the plugin that ships this one along with the rest of its 1 skill.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for sherlock

README.md
[![agentmods](https://agentmods.dev/badge/skills/jcucci/dotnet-sherlock-mcp/sherlock/github.svg)](https://agentmods.dev/skills/jcucci/dotnet-sherlock-mcp/sherlock)
Your own site
<a href="https://agentmods.dev/skills/jcucci/dotnet-sherlock-mcp/sherlock"><img src="https://agentmods.dev/badge/skills/jcucci/dotnet-sherlock-mcp/sherlock/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for sherlock

Your own site · 80×15
<a href="https://agentmods.dev/skills/jcucci/dotnet-sherlock-mcp/sherlock"><img src="https://agentmods.dev/badge/skills/jcucci/dotnet-sherlock-mcp/sherlock.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 83 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,468 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00083 $0.01468
Opus 5.5 $0.00033 $0.00587
Sonnet 5.5 $0.00017 $0.00294
Haiku 4.5 $0.00008 $0.00147

Measured 1mo ago against content hash 9037411225d6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

sherlock scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/sherlock/skills/sherlock/SKILL.md · 87 lines

How it starts

The opening of the file, as written. The whole thing — 87 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Sherlock: .NET assembly introspection

Sherlock reads real assemblies (your build output or the NuGet cache) via metadata-only reflection, so its answers match the exact version the project compiles against. Reach for it whenever correctness depends on an API's actual shape.

Tool names are snake_case; argument names are camelCase.

1. Locate the assembly

Every tool takes an assembly path. Find it rather than guessing:

  • find_assembly_by_class_name - you know a type name but not which DLL holds it.
  • find_assembly_by_nuget_package - resolve a package (and version) from the local NuGet cache.
  • get_project_output_paths - the build output DLL of a .csproj.
  • find_assembly_by_file_name - you know the DLL name.

Never hardcode bin/Debug/<tfm>/...; the target framework and configuration vary.

When you will make several calls against the same assembly, call open_assembly once and pass the returned assemblyHandle (a short asm_… id) instead of assemblyPath. The handle also carries any additionalAssemblies you opened it with.

2. Orient cheaply

  • get_assembly_info - identity, target framework, references.
  • search_members - you know a member name fragment but not its declaring type (narrow with memberKinds).
  • get_types_from_assembly - browse types, paginated.

3. Drill in, narrow to wide

  1. get_type_info - kind, base type, interfaces, accessibility, member counts.
  2. get_type_members filtered by kinds, nameContains or hasAttributeContains. The default summary projection returns { kind, name, signature }, and the C# signature already carries return type, parameters and modifiers.
  3. Re-call with projection='full' only for the few members where you need structured parameters, attributes or modifier flags.
  4. analyze_method for one method's overloads; get_xml_docs_for_type / get_xml_docs_for_member for documentation; get_type_hierarchy for the inheritance chain (format='mermaid' for a class diagram).

Start with a small maxItems and page with continuationToken instead of fetching everything.

Read the full file on GitHub · 87 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +17 lines 9037411225d6
  2. 2mo ago Changed · +3 lines d0c177dcbb28
  3. 2mo ago First seen · 67 lines · 83 tokens per session scan A 3621e744832f

Subscribe to this mod's changes

sherlock is a skill published in the GitHub repository jcucci/dotnet-sherlock-mcp (10 stars, last pushed yesterday), licensed MIT. It adds 83 tokens to every session and 1,468 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-02.

Related

sherlock compared with skills from other repositories

sherlock next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
sherlockjcucci/dotnet-sherlock-mcpSkill10yesterdayMITA83Claude Code
dotnet-reversezhaoxuya520/reverse-skillSkill46k17d agoMITA144Claude Code
check-bin-obj-clashdotnet/skillsSkill6.4ktodayMITA119Claude Code
winforms-expertdotnet/skillsSkill6.4ktodayMITA137Claude Code
build-perf-diagnosticsdotnet/skillsSkill6.4ktodayMITA135Claude Code
dump-collectdotnet/skillsSkill6.4ktodayMITA96Claude Code
binlog-generationdotnet/skillsSkill6.4ktodayMITA149Claude Code