Overview Q & A Rating & Review
Agent Package Manager
Create NuGet packages from .github agent configuration folders directly in Visual Studio.
Overview
Agent Package Manager packages GitHub Copilot assets (agents, skills, instructions, prompts, and related files) into a .nupkg by invoking ApmPackager .
The extension is designed to streamline packaging workflows for agent configuration content stored under .github.
Features
Detects .github in the selected base directory
Creates or updates .github/agent-package.json
Computes package source content hash (excluding agent-package.json)
Auto-bumps patch version when package content changes
Prompts for package metadata (ID, version, description, authors)
Writes package output to <baseDirectory>/bin/packages
Supports quick access to generated .nupkg artifacts
Packaging Workflow
Locate .github in the selected base directory
Read or create .github/agent-package.json
Compute content hash from package source files
Auto-bump patch version when content has changed
Collect metadata values
Run ApmPackager
Persist updated contentHash after successful package creation
Requirements
.NET 8 SDK (when ApmPackager is executed via .csproj or .dll)
ApmPackager available in the repository layout or via explicit path configuration
Output
.github/agent-package.json (created or updated)
<baseDirectory>/bin/packages/*.nupkg
Troubleshooting
No .github folder found
Ensure .github exists in the selected base folder.
Configured packager path does not exist
Verify the configured ApmPackager path.
Unable to locate ApmPackager
Configure the packager path or use the expected repository layout.
Repository