Skip to content
| Marketplace
Sign in
Visual Studio>Tools>Agent Package Manager
Agent Package Manager

Agent Package Manager

Hefaistos68

| (0) | Free
Package and distribute GitHub Copilot agent configurations (.github folder contents) as NuGet packages. Right-click a solution or project node to create an agent NuGet package from its .github folder.
Download

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

  1. Locate .github in the selected base directory
  2. Read or create .github/agent-package.json
  3. Compute content hash from package source files
  4. Auto-bump patch version when content has changed
  5. Collect metadata values
  6. Run ApmPackager
  7. 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

  • Source: https://github.com/Hefaistos68/AgentPackageManager
  • License: MIT
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft