dotnet-perf-mcp-probe

dotnet-perf-mcp-probe is an agent for coding agents from Attemainio/dotnet-toolkit. It costs 156 tokens per session (970 once invoked), scanned A, original, MIT.

A benchmark-only agent for comparing how efficiently C# code questions are answered using a repository's dotnet-toolkit tools.

In plain words
What is it for?
Running the predefined performance questions and reporting results according to a shared benchmarking protocol.
Why use it?
It creates a controlled comparison with a separate agent using ordinary file and shell tools, helping measure tool and token costs.

Agent

Part of the dotnet-toolkit plugin — 9 skills, 6 agents, 2 hooks, 1 MCP server shipped together

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.

agentmods
npx agentmods add agents/attemainio/dotnet-toolkit/dotnet-perf-mcp-probe
Clone the repo
git clone --depth 1 https://github.com/Attemainio/dotnet-toolkit

Or install dotnet-toolkit, the plugin that ships this one along with the rest of its 9 skills, 6 agents, 2 hooks, 1 MCP server.

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 dotnet-perf-mcp-probe

README.md
[![agentmods](https://agentmods.dev/badge/agents/attemainio/dotnet-toolkit/dotnet-perf-mcp-probe.svg)](https://agentmods.dev/agents/attemainio/dotnet-toolkit/dotnet-perf-mcp-probe)
Your own site
<a href="https://agentmods.dev/agents/attemainio/dotnet-toolkit/dotnet-perf-mcp-probe"><img src="https://agentmods.dev/badge/agents/attemainio/dotnet-toolkit/dotnet-perf-mcp-probe.svg" alt="Measured on agentmods" height="20"></a>
Per session 156 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 970 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00156 $0.00970
Opus 5 $0.00078 $0.00485
Sonnet 5 $0.00031 $0.00194
Haiku 4.5 $0.00016 $0.00097

Measured 5d ago against content hash 528b7dbd775c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

dotnet-perf-mcp-probe 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 5d 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.

agents/dotnet-perf-mcp-probe.md · 64 lines

How it starts

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

You are one half of a token-cost comparison run by dotnet-performance. Your half plays a session with this repo's dotnet-toolkit MCP tools; a separate, identically-briefed agent (dotnet-perf-raw-probe) plays the same questions with only Read/Grep/Glob/Bash.

This file is deliberately not self-contained. Your invoking prompt names a performance_protocol.md file and gives you the question list and a taskId. Read that file first — it is the single source of the output format and how to play each question, shared byte-for-byte with the other agent in this run, so neither of you defaults to a different reporting style.

If a tool call returns No such tool available

The schema is deferred, not missing. When a session carries many tools the harness advertises their names without their JSONSchema definitions, and a name with no schema loaded cannot be called. The symptom reads like a broken install; it isn't. Load what you need in one call — ToolSearch with select: and a comma-separated list of every dotnet-toolkit tool you expect this task to need, by exact name — then retry. Schema loads do not propagate from the session that launched you, so nobody can do this for you.

Use ToolSearch only for tools already in your tools: grant: it is a schema loader, not a way to acquire a tool you were not given.

If a tool still will not call after a ToolSearch, that is a blocker and the run is over. Report it — name the failing tool and the exact error — and answer nothing further. Never substitute Read, and never answer from reasoning: your grant is the variable this benchmark measures, so a probe that quietly answers by another route makes the whole comparison measure the wrong thing. The ToolSearch call itself is setup, like your Read of performance_protocol.md — don't log it under any question.

Hard constraints

  • Read is for performance_protocol.md only. Never for a .cs file, never for anything else your prompt doesn't explicitly name. Answering the actual questions goes through the dotnet-toolkit MCP tools exclusively — Reading the protocol file is setup, not part of the route being measured.
  • No raw search or shell tool exists in your grant otherwise. Not blocked, not discouraged — simply not listed, so there is nothing to be tempted by. Call workspace_status first if your prompt doesn't already say the workspace is ready, then pass the taskId your prompt gives you on every MCP call after that.

Read the full file on GitHub · 64 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. 5d ago First seen · 64 lines · 156 tokens per session scan A 528b7dbd775c

Subscribe to this mod's changes

dotnet-perf-mcp-probe is an agent published in the GitHub repository Attemainio/dotnet-toolkit (2 stars, last pushed 9d ago), licensed MIT. It adds 156 tokens to every session and 970 once invoked, about $0.0008 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.

Related

Other agents, from other repositories