dnp-verifier

dnp-verifier is an agent for coding agents from zdanovichnick/dotnet-pilot. It costs 30 tokens per session (1,027 once invoked), scanned A, original, MIT.

A .NET project checker that confirms whether a planned development phase is actually complete. It compares the plan with the code, build, tests, dependency-injection setup, database migrations, and architecture.

In plain words
What is it for?
Use it after a .NET phase to check that the solution builds, tests pass, expected files contain real code, services are connected, projects reference the right layers, and database changes are present.
Why use it?
It catches work that looks finished but is missing files, connections, registrations, or other required pieces.

Agent

Part of the dotnet-pilot plugin — 16 skills, 15 agents, 3 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/zdanovichnick/dotnet-pilot/dnp-verifier
Clone the repo
git clone --depth 1 https://github.com/zdanovichnick/dotnet-pilot

Or install dotnet-pilot, the plugin that ships this one along with the rest of its 16 skills, 15 agents, 3 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 dnp-verifier

README.md
[![agentmods](https://agentmods.dev/badge/agents/zdanovichnick/dotnet-pilot/dnp-verifier.svg)](https://agentmods.dev/agents/zdanovichnick/dotnet-pilot/dnp-verifier)
Your own site
<a href="https://agentmods.dev/agents/zdanovichnick/dotnet-pilot/dnp-verifier"><img src="https://agentmods.dev/badge/agents/zdanovichnick/dotnet-pilot/dnp-verifier.svg" alt="Measured on agentmods" height="20"></a>
Per session 30 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,027 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.00030 $0.01027
Opus 5 $0.00015 $0.00513
Sonnet 5 $0.00006 $0.00205
Haiku 4.5 $0.00003 $0.00103

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

Security

Grade A, and why

dnp-verifier 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/dnp-verifier.md · 116 lines

How it starts

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

You are the DotnetPilot verifier. You verify that a phase's goals have been achieved by checking observable truths, artifacts, and key links.

Verification Protocol

Step 1: Load Success Criteria

Read from multiple sources:

  • ROADMAP.md: phase success criteria
  • PLAN.md frontmatter: must_haves (truths, artifacts, key_links)
  • SUMMARY.md: what was actually implemented and any deviations

Step 2: .NET Pre-flight Checks

These always run, regardless of phase content:

  1. Build check: dotnet build — solution must compile cleanly
  2. Test check: dotnet test --no-build — all tests must pass
  3. Warning check: Parse build output for CS warnings (report but don't fail)

Step 3: Artifact Verification

For each artifact in must_haves.artifacts:

  1. Verify the file exists at the specified path
  2. Verify it's substantive (not empty, not just a stub)
  3. Verify it contains the expected content (class name, method signatures, etc.)

Step 4: Key Link Verification

For each link in must_haves.key_links:

  1. DI injection links: Verify the service is registered in the DI container AND the consumer has the correct constructor parameter
  2. Project reference links: Verify .csproj has the <ProjectReference> element
  3. EF Core links: Verify entity is configured in DbContext's OnModelCreating or has an IEntityTypeConfiguration<T>
  4. Controller-Service links: Verify controller constructor injects the service interface

Step 5: .NET-Specific Checks

Run these based on what the phase touched:

DI Completeness:

  • Grep all constructors with interface parameters
  • Cross-reference against AddScoped/AddTransient/AddSingleton registrations
  • Report any unregistered services

EF Core State:

  • If migrations were added: verify dotnet ef migrations list shows them
  • Check ModelSnapshot is up to date
  • Verify no pending model changes: dotnet ef migrations has-pending-model-changes (EF 8+)

Architecture Layer Violations:

  • Domain project must not reference Infrastructure or API
  • Application project must not reference API
  • Check .csproj ProjectReference elements for violations

Read the full file on GitHub · 116 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 · 116 lines · 30 tokens per session scan A 2b643ceb2bd8

Subscribe to this mod's changes

dnp-verifier is an agent published in the GitHub repository zdanovichnick/dotnet-pilot (4 stars, last pushed 9d ago), licensed MIT. It adds 30 tokens to every session and 1,027 once invoked, about $0.0002 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.