dotnet-consistency

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

A consistency audit for a plugin's code, documentation, instructions, and automated hooks. MCP tools are functions that an AI assistant can call, and the audit checks that their documented behavior matches reality and the official rules.

In plain words
What is it for?
Run it after changing an MCP tool or related documentation to find mismatches in tool details, return formats, errors, hooks, and supported Claude Code conventions.
Why use it?
Hand-maintained files can drift after a tool changes, causing the assistant to use outdated names, inputs, outputs, or instructions.

Skill for Claude CodeCodex

Installs and runs on its own, but its text points at files inside its plugin — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed. Installing the plugin gets both.

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-consistency
Any agent
npx skills add Attemainio/dotnet-toolkit --skill dotnet-consistency
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-consistency

README.md
[![agentmods](https://agentmods.dev/badge/skills/attemainio/dotnet-toolkit/dotnet-consistency.svg)](https://agentmods.dev/skills/attemainio/dotnet-toolkit/dotnet-consistency)
Your own site
<a href="https://agentmods.dev/skills/attemainio/dotnet-toolkit/dotnet-consistency"><img src="https://agentmods.dev/badge/skills/attemainio/dotnet-toolkit/dotnet-consistency.svg" alt="Measured on agentmods" height="20"></a>
Per session 225 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,741 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.00225 $0.06741
Opus 5 $0.00112 $0.03370
Sonnet 5 $0.00045 $0.01348
Haiku 4.5 $0.00022 $0.00674

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

Security

Grade A, and why

dotnet-consistency 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 4d 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-consistency/SKILL.md · 266 lines

How it starts

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

Auditing plugin self-consistency

This plugin teaches Claude to use its own MCP tools through a scattered set of hand-maintained files — skills, agent definitions, rules, hooks, docs/*.md, CLAUDE.md, README.md. None is generated, so any of them can silently drift the moment something changes and the doc edit is skipped. This is the audit pass that catches that, run as its own task rather than trusted to unrelated work.

Three sources of truth, and which one wins

The code is not the only ground truth, and treating it that way is how a defect gets locked in: the doc gets rewritten to match code that was itself wrong.

  • Code is ground truth for facts. Tool names, signatures, arguments, defaults, return shapes, error codes, what a hook actually dispatches. A doc that disagrees here always loses.
  • Official Claude documentation is ground truth for design. How a tool gets found, what is always loaded and what is not, what a skill / agent / rule may contain, the harness's own limits. Code that disagrees here loses — and the result is a CODE FINDING, not a doc edit.
  • Internal documents are ground truth for nothing. They are claims, checked against both.

The three reference files

All in ${CLAUDE_PLUGIN_ROOT}/skills/dotnet-consistency/, read on demand — a run that only needs drift detection should not pay for the rest.

File Owns Read by
claude-docs.md the official Claude doc URLs, their must-remember shortlists, and the staleness gate Step 1
harness-compliance.md the by-section checklist §A–§G with every threshold and its citation Step 1
drift.md the baseline, the evidence order, and the drift-sensitivity ranking Step 7

Step 0 — enumerate the actual tool surface

Get the current, complete list from the source — don't trust any doc's tool list, including this skill's own examples; that is exactly the kind of claim being audited. Not grep: the guard-cs-bash-read hook flags a shell read of a solution .cs file as advisory (allowed, not blocked, since 2026-08-21) rather than denying it, but get_symbol is still the right call regardless of what the hook does — this is a symbol query, not a text search.

Read the full file on GitHub · 266 lines

Files

What ships with it

3 files 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. 4d ago First seen · 266 lines · 225 tokens per session scan A 5a4dd2fc724d

Subscribe to this mod's changes

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

chief-revenue-officer

Owns the revenue engine end to end: sales, monetization, pricing, customer success, retention, and partnerships. Use this for pricing and packaging decisions, sales strategy and coverage, forecast and pipeline health, churn and expansion, partner and channel strategy, or when marketing-sourced demand is not…

cbrock84/headcount · 80 tokens

chief-strategy-officer

Owns where the business plays and how it wins over a multi-year horizon — portfolio choices, corporate development, strategic partnerships, and planning under uncertainty. Use this for a decision about which markets or businesses to be in, whether to build, buy, or partner, how to allocate capital across business…

cbrock84/headcount · 93 tokens

seo-strategy

Audits and improves organic search performance — technical health, site architecture, internal linking, structured data, and the content decisions that determine what can rank. Use this to run an SEO audit, diagnose why pages are not ranking or were deindexed, plan a site's URL and navigation structure, add structured…

cbrock84/headcount · 74 tokens

financial-statement-analysis

Reads a set of financial statements and establishes what changed and why — fluctuation analysis against prior period and against budget, profitability, liquidity, solvency and efficiency ratios, benchmarking, and the non-GAAP measures presented alongside them. Use this to interpret results, review a counterparty's or…

cbrock84/headcount · 93 tokens

youtube-producer

Plans, packages, and scripts long-form video for retention and channel growth — idea selection, titles and thumbnails, script structure, and diagnosing why a video or channel underperforms. Use this for video ideas, packaging, scripting, a retention teardown, or channel strategy — including when someone describes a…

cbrock84/headcount · 86 tokens

estimating-and-contingency

Produces a cost or effort estimate someone can defend — decomposing the work, choosing between analogous, parametric and bottom-up methods, documenting the basis and its assumptions, expressing confidence as a range, and sizing contingency and management reserve separately. Use this to build an estimate, challenge one…

cbrock84/headcount · 87 tokens