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.
npx agentmods add skills/attemainio/dotnet-toolkit/dotnet-readnpx skills add Attemainio/dotnet-toolkit --skill dotnet-readgit clone --depth 1 https://github.com/Attemainio/dotnet-toolkitWrote 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.
[](https://agentmods.dev/skills/attemainio/dotnet-toolkit/dotnet-read)<a href="https://agentmods.dev/skills/attemainio/dotnet-toolkit/dotnet-read"><img src="https://agentmods.dev/badge/skills/attemainio/dotnet-toolkit/dotnet-read.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00137 | $0.07685 |
| Opus 5 | $0.00068 | $0.03843 |
| Sonnet 5 | $0.00027 | $0.01537 |
| Haiku 4.5 | $0.00014 | $0.00768 |
Grade A, and why
dotnet-read 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 3d 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.
How it starts
The opening of the file, as written. The whole thing — 471 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Reading and navigating C# with dotnet-toolkit
Every question below is answered by a Roslyn-backed MCP tool that reads the compiler's own model.
Grep, Glob, find, cat, sed and bare Read on a .cs file are wrong here, not just
slower — they cannot see interface, virtual or delegate dispatch, count comment and string matches as
real hits, silently under-report when output is truncated, and hand back one fragment of a partial
class with no signal that the rest exists. A PreToolUse hook adds an advisory note when Read or a
shell read reaches a compiled .cs file, but does not block it — Grep/Glob are watched by no hook
at all. The router below, not hook enforcement, is what actually keeps you on the right tool.
Tool names are prefixed mcp__plugin_dotnet-toolkit_dotnet__.
Step 0 — call workspace_status before any read
First MCP call of the session, always. It is free, takes no arguments, records no telemetry, and gives you two things nothing else can:
-
Readiness. Until the workspace is loaded, semantic tools answer from the syntax tier or refuse outright. A zero-hit from
get_references,get_call_hierarchy,get_call_slice,get_type_hierarchyorget_semantic_diffagainst a cold workspace is workspace state, not absence — never report it as "nothing uses this". -
pluginRoot. The plugin's install directory, and the only supported way to reach a file that ships with the plugin. Join it yourself:- a tool manual →
<pluginRoot>/docs/tools/<tool>.md - a coding standard →
<pluginRoot>/standards/<name>.md
Never write
${CLAUDE_PLUGIN_ROOT}into a path. The harness substitutes it into.mcp.jsonargs, hook commands and skill content, but not into a rule or an agent definition, so it stays literal and the read fails.Readthe joined path — the guards only block.cs. - a tool manual →
Re-call it whenever a response comes back stale or degraded (see Workspace readiness below).
Step 1 — load the tool by its exact name
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.
- 3d ago First seen · 471 lines · 137 tokens per session scan A 895b679988d8
dotnet-read is a skill published in the GitHub repository Attemainio/dotnet-toolkit (2 stars, last pushed 7d ago), licensed MIT. It adds 137 tokens to every session and 7,685 once invoked, about $0.0007 per session on Opus 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-08-31.
Other skills, from other repositories
vela
Compiler-exact code search for .NET solutions - find where a symbol is defined, every reference to it, who calls it, and what a change would break. Covers C#, VB, Razor Pages, MVC views and Blazor components, which grep and every other code-intelligence tool miss. Deterministic, built on Roslyn, never modifies the…
grasshopper-component
Complete guide for developing custom Grasshopper components in C# — GHComponent class, RegisterInputParams/OutputParams, SolveInstance, DataTree patterns, parameter types, error handling, and component packaging as .gha. Use this skill whenever creating or debugging a Grasshopper component: "grasshopper component c#"…
rhinocommon-geometry
Deep reference for Rhino.Geometry namespace — all geometry types, operations, and patterns in RhinoCommon. Use this skill whenever working with Rhino geometry in C# or Python: Point3d, Vector3d, Curve, Surface, Brep, Mesh, NURBS, intersections, boolean operations, transforms, planes, bounding boxes. Triggers on…
dotnet-analyzer-actions
Perform code refactoring, generation, project file operations, decompilation, XAML analysis, and desktop pattern detection in .NET projects using Roslyn-powered MCP tools. Use when the user asks to refactor code, extract methods, rename symbols, generate code, implement interfaces, add project references, install…
dotnet-analyzer-code-intelligence
Navigate and understand C# code through symbol queries, type hierarchies, call graphs, and semantic analysis using Roslyn-powered MCP tools. Use when the user asks to find references, go to definition, understand type inheritance, explore call hierarchies, get symbol info, analyze code metrics, or traverse syntax…
dotnet-analyzer-code-quality
Detect code quality issues, architecture rule violations, code smells, technical debt, dead code, and performance problems in .NET projects using Roslyn-powered MCP tools. Use when the user asks to check code quality, detect code smells, measure technical debt, generate quality reports, check architecture rules, find…