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.
npx agentmods add skills/nevaberry/nevaberry-plugins/dotnet-csharp-knowledge-patchnpx skills add Nevaberry/nevaberry-plugins --skill dotnet-csharp-knowledge-patchgit clone --depth 1 https://github.com/Nevaberry/nevaberry-pluginsWhat 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 | $0.00013 | $0.01786 |
| Opus 5 | $0.00006 | $0.00893 |
| Sonnet 5 | $0.00003 | $0.00357 |
| Haiku 4.5 | $0.00001 | $0.00179 |
Grade A, and why
dotnet-csharp-knowledge-patch 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 2d 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 — 219 lines — stays where its author put it; the contents beside it link to each section on GitHub.
.NET and C# Knowledge Patch
Use this skill when changing, reviewing, or troubleshooting C# language features, .NET runtime behavior, libraries, SDK commands, packaging, deployment, or servicing.
Start Here
Before applying guidance:
- Inspect the project file,
global.json,Directory.Build.*, package references, publish properties, and container configuration. - Identify the target framework, C#
LangVersion, installed SDK/runtime, workload, operating system, architecture, and publish mode. - Treat compiler diagnostics, current API signatures, generated assets, and tests as authoritative for the exact project configuration.
- Read the topic reference containing the affected subsystem; many compatibility changes are platform- or mode-specific.
- When upgrading deployed applications, separate SDK selection from runtime and container servicing.
Reference Index
| Reference | Topics |
|---|---|
| Language | Extension members, field, span conversions, lambdas, partial members, assignments, Visual Basic compatibility |
| Hosting, Platform, and Interop | Hosting, configuration, logging, native libraries, COM, desktop behavior |
| Runtime, I/O, and Core Libraries | Streams, shutdown, core types, globalization, tensors, intrinsics |
| SDK, CLI, Packaging, and Testing | CLI behavior, tools, workloads, NuGet, MSBuild, file-based apps, containers, testing |
| Security and Networking | Servicing, certificates, post-quantum APIs, AES-KWP, TLS, HTTP, URI, mail |
| Serialization, Data, and Diagnostics | JSON, XML serialization, telemetry, sampling, EF Core filters |
Breaking Changes and Migration Checks
Service the runtime before debugging application symptoms
Deployed .NET 10 applications and container bases need the security fixes carried by runtime 10.0.11. SDK 10.0.400, 10.0.303, and 10.0.111 install that runtime and its matching ASP.NET Core runtime. See Security and Networking.
What ships with it
7 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.
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.
- 2d ago First seen · 219 lines · 13 tokens per session scan A cf98729e5e84
dotnet-csharp-knowledge-patch is a skill published in the GitHub repository Nevaberry/nevaberry-plugins (24 stars, last pushed 5d ago), licensed MIT. It adds 13 tokens to every session and 1,786 once invoked, about $0.0001 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-30.
Other skills, from other repositories
design-mcp-server
Design the tool surface, resources, and service layer for a new MCP server. Use when starting a new server, planning a major feature expansion, or when the user describes a domain/API they want to expose via MCP. Produces a design doc at docs/design.md that drives implementation.
api-context
Canonical reference for the unified Context object passed to every tool and resource handler in @cyanheads/mcp-ts-core. Covers the full interface, its RequestContext base, all sub-APIs (ctx.log, ctx.state, ctx.requestInput, ctx.inputs, ctx.enrich, ctx.content), and when to use each.
api-canvas
DataCanvas primitive reference — a Tier 3 SQL/analytical workspace for tabular MCP servers, backed by DuckDB. Use when registering tables from upstream APIs, running ad-hoc SQL across them, and exporting results. Covers the acquire → register → query → export flow, per-table TTL, the token-sharing pattern for…
api-testing
Testing patterns for MCP tool/resource handlers using createMockContext and Vitest. Covers mock context options, handler testing, McpError assertions, format testing, Vitest config setup, and test isolation conventions.
field-test
Exercise tools, resources, and prompts against a live HTTP server via MCP JSON-RPC over curl. Starts the server, surfaces the catalog, runs real and adversarial inputs, and produces a tight report with concrete findings and numbered follow-up options. Use after adding or modifying definitions, or when the user asks to…
maintenance
Investigate, adopt, and verify dependency updates — with special handling for @cyanheads/mcp-ts-core. Captures what changed, understands why, cross-references against the codebase, adopts framework improvements, syncs project skills, and runs final checks. Supports two entry modes: run the full flow end-to-end, or…