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/lewing/helix.mcp/csharp-cpm-migrationnpx skills add lewing/helix.mcp --skill csharp-cpm-migrationgit clone --depth 1 https://github.com/lewing/helix.mcpWrote 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/skills/lewing/helix.mcp/csharp-cpm-migration)<a href="https://agentmods.dev/skills/lewing/helix.mcp/csharp-cpm-migration"><img src="https://agentmods.dev/badge/skills/lewing/helix.mcp/csharp-cpm-migration.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.00000 | $0.01087 |
| Opus 5 | $0.00000 | $0.00544 |
| Sonnet 5 | $0.00000 | $0.00217 |
| Haiku 4.5 | $0.00000 | $0.00109 |
Grade A, and why
csharp-cpm-migration 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.
How it starts
The opening of the file, as written. The whole thing — 59 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Skill: C# Central Package Management Migration
When to use: Migrating a multi-project .NET solution from per-csproj <PackageReference Version="..."> to a single Directory.Packages.props so future package bumps are one-line edits.
Steps
-
Inventory. From repo root:
find . -name "*.csproj" -not -path "*/bin/*" -not -path "*/obj/*"thencateach one. Build a table of every distinct(PackageId, Version)pair and which projects use it. -
Resolve drift. For any package referenced at multiple versions, pick the higher one (or the version actually being tested in CI). Surface these explicitly in the commit message — CPM consolidation is the moment to fix drift, not hide it.
-
Create
Directory.Packages.propsat the repo root (sibling of the.sln/.slnx):<Project> <PropertyGroup> <ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally> <!-- Add only if any project pins a floating version like 17.* or 10.*-* --> <CentralPackageFloatingVersionsEnabled>true</CentralPackageFloatingVersionsEnabled> </PropertyGroup> <ItemGroup> <PackageVersion Include="PackageId" Version="x.y.z" /> <!-- ... one entry per distinct package ... --> </ItemGroup> </Project>MSBuild auto-imports any
Directory.Packages.propsfrom each project up to the root — no<Import>needed. -
Strip
Version=from everyPackageReferencein every csproj. KeepInclude=and any sibling attributes (PrivateAssets,OutputItemType,IncludeAssets, etc.). Example:- Before:
<PackageReference Include="xunit" Version="2.*" /> - After:
<PackageReference Include="xunit" />
- Before:
-
Include analyzer/source-generator projects too. netstandard2.0 source generator csprojs (e.g. with
Microsoft.CodeAnalysis.CSharp) participate in CPM the same way. Don't skip them. -
Restore.
dotnet restore. Common failures and fixes:- NU1011 — "PackageVersion items cannot specify a floating version." → Add
<CentralPackageFloatingVersionsEnabled>true</CentralPackageFloatingVersionsEnabled>toDirectory.Packages.props. Alternative: pin to a concrete version, but that loses the original intent. - NU1008 — "Projects that use central package version management should not define the version on the PackageReference items." → A
Version=attribute slipped through. Re-grepPackageReference.*Version=across all csprojs. - NU1507 — "There are N package sources defined… please map your package sources." → Pre-existing multi-source NuGet.config config that CPM now warns about. Out of scope for the migration commit; flag as follow-up. Fix later by adding
<packageSourceMapping>toNuGet.config.
- NU1011 — "PackageVersion items cannot specify a floating version." → Add
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.
- 5d ago First seen · 59 lines · 0 tokens per session scan A 2bd8243d77e3
csharp-cpm-migration is a skill published in the GitHub repository lewing/helix.mcp (4 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,087 tokens. 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 skills, from other repositories
dpg-migration
Migration logic for Azure SDK for .NET data-plane libraries migrating from AutoRest/Swagger to TypeSpec-based generation. Uses MCP tools from the generator-agent server for automated deterministic fixes.
mitigate-breaking-changes
Patterns and techniques for mitigating breaking changes in Azure management-plane SDKs. Covers SDK-side customizations (partial classes, CodeGenType, CodeGenSuppress) and TypeSpec decorator customizations (clientName, access, markAsPageable, alternateType, hierarchyBuilding).
author-test
Generate a test given sample. Parameters: C# SDK repository root; Package name: one of Azure.AI.Projects, Azure.AI.Projects.Agents or Azure.AI.Extensions.OpenAI; the sample to use as a starting point for the test.
nunit-code-style
Use when writing or modifying C# method bodies, type declarations, or non-trivial logic in NUnit source. Covers NUnit's taste-and-judgment conventions — exception construction, simplification, naming intent, StringComparison, non-null check form, and var usage — that aren't already caught at build time.
nunit-api-design
Use when adding or modifying public API surface in NUnit — new or changed constraints, attributes, assertions, helpers, or any type/member visibility change. Covers the conventions NUnit maintainers enforce for types that ship to consumers of the framework.
mcp
Build or consume Model Context Protocol (MCP) servers and clients in .NET using the official MCP C# SDK, including stdio, Streamable HTTP, tools, prompts, resources, and capability negotiation. USE FOR: .NET MCP servers or clients; stdio versus HTTP transport choices; tools, resources, prompts, completions, and…