ReadingResearchRadarInvestment framework
Sign in / Sign up
← Back to reading
NewsTopic · NuGet代理技能分发Material2 min readDisconfirmAI Editorial

Microsoft .NET Team Experiments with Packaging AI Agent Skills in NuGet

Microsoft demonstrates distributing SKILL.md files via NuGet to give AI coding agents version-specific API guidance, though manual import is required and model benefits vary.

2026-11-04 14:18 GMT+8

The Microsoft .NET team has published experimental results demonstrating how to encapsulate AI Agent Skills within NuGet packages. This approach allows library developers to provide corresponding usage guidelines when releasing new versions, helping AI programming agents better understand how to use new APIs and reducing errors caused by reliance on outdated model training data.

Agent Skills is a mechanism that provides operational instructions to AI agents via SKILL.md files, which document applicable scenarios, execution steps, and related knowledge. Previously, these skills were primarily distributed through Git repositories or skill marketplaces. Microsoft's experiment uses NuGet as a carrier, enabling different versions of libraries to carry their own applicable documentation. When a .NET project executes dotnet restore, NuGet downloads dependencies to the local cache, including any embedded SKILL.md files.

However, downloading a package does not mean the AI agent will automatically use the skills contained within it. Agents must still discover and read these files themselves, or use accompanying tools to find and import them. Microsoft showcased two auxiliary tools: dotnet-inspect, which checks for skills included in NuGet packages or project dependencies, listing names, locations, and descriptions; and dotnet-package-skills, which scans project packages and copies skills to the .agents/skills directory for inclusion in version control.

Microsoft demonstrated this using the Markout library, which includes five skills covering output formats and content composition. Test results showed varying impacts on AI models of different capabilities: for powerful models already capable of completing most development tasks, adding skills resulted in limited performance improvement; for weaker models, they might fail to consistently follow the skill guidelines. Additionally, poorly designed skill content could increase token consumption, requiring maintainers to evaluate actual benefits.

Sign in / Sign up
ReadingResearchRadarInvestment framework

Currently, NuGet MCP does not yet integrate skill support, but Microsoft plans to add related features in the future. Since AI agents may take actions based on SKILL.md content, Microsoft also warned developers to pay attention to package sources to prevent malicious instructions from becoming a new supply chain attack vector.

Sources

  • ithome.com.twiThome↗
Topic

NuGet代理技能分发

微软.NET团队于2026年11月公布实验成果,展示将AI代理技能(Agent Skills)封装进NuGet套件的做法,旨在解决模型知识滞后问题。此前,Agent Skills for .NET已于7月正式发布并支持通过MCP服务器发现技…

3 steps1 piecesUpdated 2026-11-04 19:07

How it got here

  1. 2026-07-07微软发布Agent Skills for .NET稳定版,提供可复用的领域专业知识包,支持文件、类及代码定义三种创作方式。devblogs.microsoft.com ↗
  2. 2026-07-28微软宣布.NET代理可通过MCP服务器发现和加载Agent Skills,实现集中治理和无需重新部署即可更新技能。devblogs.microsoft.com ↗
  3. 2026-11-04微软.NET团队公布实验成果,展示将SKILL.md封装进NuGet套件,利用dotnet restore自动下载技能至本地缓存。ithome.com.tw ↗

What is still unsettled

  • NuGet MCP何时正式整合技能支持功能?
  • 如何有效防止恶意SKILL.md内容成为新的供应链攻击途径?
  • 不同能力水平的AI模型遵循技能指引的实际效果差异是否有量化标准?
Read the full topic →
Continue researching →