dotnet-selfeval

dotnet-selfeval is a skill for Claude Code, Codex from Attemainio/dotnet-toolkit. It costs 257 tokens per session (6,131 once invoked), scanned A, original, MIT.

A self-evaluation procedure for dotnet-toolkit, a set of tools for working with C# code. It measures how well those tools retrieve information from the code repository they are connected to.

In plain words
What is it for?
Use it before or after changing tool arguments or response formats, or when checking retrieval quality, token use, and workspace readiness.
Why use it?
It replaces impressions about tool efficiency with per-call measurements and comparisons against cheaper alternatives. It also accounts for repository layouts and C# features that can make code lookup difficult.

Skill for Claude CodeCodex

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 skills/attemainio/dotnet-toolkit/dotnet-selfeval
Any agent
npx skills add Attemainio/dotnet-toolkit --skill dotnet-selfeval
Clone the repo
git clone --depth 1 https://github.com/Attemainio/dotnet-toolkit

Made for: Claude Code, Codex.

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-selfeval

README.md
[![agentmods](https://agentmods.dev/badge/skills/attemainio/dotnet-toolkit/dotnet-selfeval.svg)](https://agentmods.dev/skills/attemainio/dotnet-toolkit/dotnet-selfeval)
Your own site
<a href="https://agentmods.dev/skills/attemainio/dotnet-toolkit/dotnet-selfeval"><img src="https://agentmods.dev/badge/skills/attemainio/dotnet-toolkit/dotnet-selfeval.svg" alt="Measured on agentmods" height="20"></a>
Per session 257 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,131 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 $0.00257 $0.06131
Opus 5 $0.00129 $0.03066
Sonnet 5 $0.00051 $0.01226
Haiku 4.5 $0.00026 $0.00613

Measured 3d ago against content hash ad8f9c657670, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

dotnet-selfeval 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.

skills/dotnet-selfeval/SKILL.md · 326 lines

How it starts

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

Evaluating the toolkit against the repo it is pointed at

This plugin's whole claim is that its tools answer C# questions more completely, and for fewer tokens, than Grep and Read. That claim is only ever exercised against whatever repo the server happens to be loaded with — and repos differ in exactly the ways that break retrieval tools: nested types, partial classes split across files, heavy overloading, generics, multi-targeted .csprojs, .slnx vs .sln, source generators, unconventional folder layouts. This skill is the measurement pass that turns "the tools feel efficient" into a per-call token number with a cheaper alternative next to it.

Prerequisite: Load dotnet-read skill

Before proceeding, ensure dotnet-read has been loaded. This skill contains the validated cheap-route table that serves as the ground truth for route comparison, and teaches how to interpret limitedBy values and workspace readiness. If you haven't read it yet, invoke dotnet-read.

This takes <1s and gives you:

  • The cheap-route table of verified cheaper alternatives
  • Workspace readiness rules for stale, degraded, and index_only
  • Best practices for taskId isolation and metrics sampling
  • Field naming conventions and response structure

Reading this before the evaluation ensures you're comparing against the correct baseline and can recognize when your own route analysis aligns with established guidance.

The one rule: specimen vs subject

The consuming repo is the specimen. dotnet-toolkit is the subject.

Every probe reads the repo the server is pointed at — whatever workspace_status reports as root, resolved by SolutionLocator from DOTNET_TOOLKIT_PROJECT_DIR, then CLAUDE_PROJECT_DIR, then the working directory. When this repo is the target it probes itself; installed elsewhere, it probes that repo. Never aim the probes at a different repo than the loaded workspace — the semantic tools can only answer for the loaded solution, so a cross-repo probe measures nothing.

Read the full file on GitHub · 326 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 3d ago First seen · 326 lines · 257 tokens per session scan A ad8f9c657670

Subscribe to this mod's changes

dotnet-selfeval is a skill published in the GitHub repository Attemainio/dotnet-toolkit (2 stars, last pushed 7d ago), licensed MIT. It adds 257 tokens to every session and 6,131 once invoked, about $0.0013 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 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…

dbhq-uk/vela-skill · 164 tokens

codemeridian-refactor

Plan safer refactors with CodeMeridian by checking graph freshness, exact symbols, impact, tests, duplication, and architecture risk before editing.

Driftya/code-meridian · 34 tokens

codemeridian-test-planning

Plan focused tests with CodeMeridian by finding relevant test shields, coverage gaps, impacted behavior, and the smallest useful test set before implementation.

Driftya/code-meridian · 35 tokens

human-cognitive-seed

Preserve and strengthen the user's independent reasoning during design, strategy, learning, interpretation, hypothesis work, and consequential decisions, and preserve justified durable context with explicit provenance when supported. Use when a task benefits from human-led judgment, model-building, productive…

Driftya/code-meridian · 99 tokens

codemeridian-context

Gather minimal, graph-grounded CodeMeridian context before implementation, refactoring, deletion, debugging, or test planning.

Driftya/code-meridian · 29 tokens

codemeridian-frontend

Route frontend HTML/CSS/SCSS work through CodeMeridian's generic frontend-aware tools first, then use cascade and style-duplicate analysis only when the question is truly frontend-specific.

Driftya/code-meridian · 43 tokens