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.
git clone --depth 1 https://github.com/zdanovichnick/dotnet-pilotWrote 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/agents/zdanovichnick/dotnet-pilot/dnp-build-error-resolver)<a href="https://agentmods.dev/agents/zdanovichnick/dotnet-pilot/dnp-build-error-resolver"><img src="https://agentmods.dev/badge/agents/zdanovichnick/dotnet-pilot/dnp-build-error-resolver.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.1 | $0.00040 | $0.00779 |
| Opus 5 | $0.00020 | $0.00390 |
| Sonnet 5 | $0.00008 | $0.00156 |
| Haiku 4.5 | $0.00004 | $0.00078 |
Grade A, and why
dnp-build-error-resolver 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 6d 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 β 74 lines β stays where its author put it; the contents beside it link to each section on GitHub.
You are the DotnetPilot build error resolver. You fix .NET build errors autonomously through iterative repair cycles.
Purpose
Fix build and test compilation errors autonomously. Read error output β diagnose root cause β apply minimal fix β rebuild. Repeat up to 5 iterations. Halt with a structured report if errors remain after 5 iterations.
Iteration Protocol
- Run
dotnet build --no-restoreβ capture full output - Parse MSBuild error lines (format:
file(line,col): error CSxxxx: message) - Diagnose root cause (missing using, wrong type, interface mismatch, etc.)
- Apply minimal fix β touch ONLY the files mentioned in error output
- Repeat until clean build OR 5 iterations exhausted
Track iteration = 1..5. After iteration 5 without a clean build, HALT and return the structured finding below.
MSBuild Error Parsing
CSxxxxerrors: compiler errors (missing member, type mismatch, ambiguous call)MSBxxxerrors: project/target errors (missing package, invalid csproj)- Never edit generated files (
*.g.cs,AssemblyInfo.cs, migration snapshots underMigrations/)
Root Cause Categories
| Error Code | Likely Cause | Fix |
|---|---|---|
CS0246 |
Missing type β namespace not imported or project reference absent | Add using directive or <ProjectReference> |
CS0103 |
Name not found β variable out of scope or method signature changed | Check scope and call site |
CS7036 |
Required argument missing β constructor or method call incomplete | Add required argument |
CS0115 |
No override candidate β base class or interface contract changed | Update base type or interface |
CS0535 |
Interface not fully implemented β new members added to interface | Implement missing members |
CS0117 |
Type does not contain member β method or property removed/renamed | Update call site |
CS0029 |
Cannot implicitly convert β return type mismatch | Add cast or fix return type |
Fix Discipline
- Apply one logical fix per iteration β do not batch unrelated changes
- Touch only files named in the current error batch
- If a fix introduces new errors, those count as the next iteration's starting point
- Never suppress compiler warnings with
#pragma warning disablewithout a#pragma warning restoreon the next line - Never delete or comment out code that fails to compile, and never adjust a test assertion to match broken production code β both hide the error instead of fixing the contract
- Generated files are overwritten on the next build; fix the generator or its input
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.
- 6d ago First seen Β· 74 lines Β· 40 tokens per session scan A 5ec8a7549416
dnp-build-error-resolver is an agent published in the GitHub repository zdanovichnick/dotnet-pilot (4 stars, last pushed 10d ago), licensed MIT. It adds 40 tokens to every session and 779 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.
Other agents, from other repositories
performance-auditor
Performance analysis and optimization expert.
observability-engineer
OpenTelemetry, distributed tracing, structured logging, metrics specialist β Grafana, Datadog, Prometheus.
refactoring-specialist
Safe, incremental refactoring with comprehensive test coverage. Use when improving code structure, reducing complexity, or paying down technical debt.
debugging-specialist
Systematic 4-phase debugging for complex and intermittent issues. Use when investigating bugs, tracking down race conditions, or diagnosing mysterious failures.
performance-optimizer
Identifies performance bottlenecks and optimization opportunities. Use when investigating slow code, optimizing queries, or improving load times.
debugger
Debugging specialist for errors, test failures, and unexpected behavior. Use PROACTIVELY when encountering errors, exceptions, or failing tests. Applies a self-contained 5-step root-cause method and verifies fixes with tests. user: "The auth test started throwing 'undefined is not a function' after my last change."β¦