Skip to content

Anselmoo/copilot-plugin-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

23 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Copilot Plugin Manager (cpm)

CI PyPI version

Copilot Plugin Manager or just cpm is a package manager for GitHub Copilot assets. It helps you define, install, update, inspect, and reset plugins, skills, agents, MCPs, hooks, workflows, and instructions with a reproducible manifest and lockfile workflow.

The package is published as copilot-plugin-manager, but the command you run is cpm.

Why use cpm?

  • keep your Copilot setup in cpm.toml
  • lock resolved revisions in cpm.lock
  • install assets into repository-local or global Copilot locations
  • manage assets from marketplace specs, GitHub sources, and local paths
  • inspect drift with overview, show, tree, doctor, and status

Install

For one-off usage:

uvx --from copilot-plugin-manager cpm --help

or:

uvx copilot-plugin-manager --help

For a persistent install:

uv tool install copilot-plugin-manager

Or with pip:

pip install copilot-plugin-manager

Quick start

If you installed cpm, use cpm .... If you prefer not to install it globally, replace cpm with uvx --from copilot-plugin-manager cpm in the examples below.

Initialize a new project:

cpm init

Add a plugin and a skill:

cpm add spark@copilot-plugins --plugin
cpm add https://github.com/anthropics/skills/tree/main/skills/pdf --skill

Apply the lockfile to disk:

cpm sync

Inspect what is installed:

cpm list
cpm status

Common examples

Install a plugin from a Copilot marketplace registry:

cpm add spark@copilot-plugins --plugin

Registry plugins delegated to copilot plugin install are effectively global installs. Native plugin bundles added from GitHub tree URLs or local paths still honor local vs global scope.

Install a plugin bundle from a GitHub tree URL:

cpm add https://github.com/github/awesome-copilot/tree/main/plugins/testing-automation --plugin

Install a skill from GitHub:

cpm add https://github.com/anthropics/skills/tree/main/skills/pdf --skill

Inspect one asset in detail:

cpm show testing-automation --plugin

See the consolidated view of manifest, lockfile, and installed state:

cpm overview

Core commands

Command What it does
cpm init Create a new cpm.toml and cpm.lock
cpm add Add an asset to the manifest and resolve it
cpm sync Install everything recorded in cpm.lock
cpm update Update one or all managed assets
cpm remove Remove a managed asset
cpm lock Resolve without installing
cpm reset Remove managed state and/or installed assets
cpm overview Show the combined manifest, lockfile, and disk view
cpm list List installed assets
cpm show Show full details for a single asset
cpm tree Show the dependency tree
cpm doctor Verify installed files match the lockfile
cpm status Show drift between manifest, lockfile, and disk

How cpm works

  • cpm.toml records the assets you want
  • cpm.lock records the resolved versions and hashes
  • cpm sync materializes those assets into .github/ for local scope or ~/.copilot/ for global scope
  • concrete GitHub file and tree sources are fetched directly by cpm
  • delegated Copilot plugin installs are used where the Copilot CLI is the installer of record

Documentation

License

See LICENSE-MIT and LICENSE-APACHE.

About

๐Ÿ› ๏ธ A Python-based tool for installing, configuring, and managing GitHub Copilot plugins. ๐Ÿค–

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors