Original URL: https://getagenttools.com/blog/copilot-cli-plugins/

# Copilot CLI plugins: copilot plugin install, list, update, the marketplace and plugin hooks

18 Nov 2026Marek.

- copilot
- coding-agents
- agent-ops

GitHub Copilot CLI plugins are packages that bundle custom agents, skills, hooks, MCP servers and LSP servers. You manage them with `copilot plugin`. The main subcommands are `install`, `list` and `update`. A second group, `copilot plugin marketplace`, adds and browses catalogs. This post is for people who know plugins from Claude Code or Codex. Copilot CLI is not on my machine and I never ran it. Everything below is from reading. On 6 November 2026 I went through the GitHub docs and the CLI changelog up to 1.0.106.

 

```bash
copilot plugin marketplace browse awesome-copilot
copilot plugin install database-data-management@awesome-copilot
copilot plugin list --json
copilot plugin update --all
```

  

- **One command group.** `copilot plugin`, with `copilot plugins` kept as a legacy alias. In a session it is `/plugin`.
- **Five install sources.** A marketplace spec, `OWNER/REPO`, a repository subfolder, a Git URL or a local path.
- **One built-in marketplace.** `awesome-copilot` ships with the CLI and cannot be removed.
- **Hooks come along.** A plugin's `hooks.json` loads after policy, user and repository hooks. Every entry runs.
- **How I know.** Docs and changelog only. No session of my own.

 

The Claude Code version, with scopes and cleanup, is in [Claude Code plugins](https://getagenttools.com/blog/claude-code-plugins/). The Codex side, with a read-only test on my Mac, is in [Codex plugins](https://getagenttools.com/blog/codex-plugins/).

 

## How do I install a Copilot CLI plugin?

 

Run `copilot plugin install` with a spec. What took me a second read in the [plugin reference](https://docs.github.com/en/copilot/reference/copilot-cli-reference/cli-plugin-reference) is how many shapes the spec takes:

 

- `plugin@marketplace`, from a marketplace you registered
- `OWNER/REPO`, the root of a GitHub repository
- `OWNER/REPO:PATH/TO/PLUGIN`, a subfolder
- any Git URL
- a local path like `./my-plugin`

 

`add` works as an alias. In a session, `/plugin install SOURCE` does the same.

 

The ID tripped me up. It joins the plugin name and the marketplace name. And the marketplace name is not the repo name. It comes from the `name` field inside its `marketplace.json`. One skill on its own goes through `copilot skill add`, not this command. Folders, load order and `copilot skill list` are in [Copilot CLI skills](https://getagenttools.com/blog/copilot-cli-skills/).

 

`copilot plugin disable NAME` switches a plugin off. It stays installed. `copilot plugin uninstall NAME` takes it out. There is a repo-level switch too. Put `enabledPlugins` in `.github/copilot/settings.json` and the plugins turn on by default for everyone who works in it. Folder trust decides whether those settings load. `COPILOT_ALLOW_ALL=true` trusts the folder too, a trap I covered in [Copilot CLI allow all tools](https://getagenttools.com/blog/copilot-cli-allow-all-tools/).

 

## How do I list and update Copilot CLI plugins?

 

`copilot plugin list` shows what is installed. To update, I would run one of these:

 

```bash
copilot plugin update NAME
copilot plugin update --all
```

 

The changelog only adds `--all` in 1.0.49, in May 2026. For scripts, read `list --json`. It prints a flat array. Every row carries `name`, `enabled` and `source`. `marketplace`, `version` and `installedFrom` show up only when they apply.

 

Some plugins update on their own. Plugins from `awesome-copilot` update at the start of each session in a trusted folder. Set `autoUpdate` to `false`, or `COPILOT_AUTO_UPDATE=false`, to stop that. Per the reference, auto-update is skipped by default in CI.

 

Local plugins have a catch. The [creating guide](https://docs.github.com/en/copilot/how-tos/copilot-cli/customize-copilot/plugins-creating) says installed components are cached. A changed local plugin needs `copilot plugin install ./my-plugin` again. Plugins from a local directory marketplace load live from their folder instead. They pick up edits on `/restart`.

 

## How does the Copilot CLI plugin marketplace work?

 

Think of a Copilot CLI marketplace as one `marketplace.json` file. Each entry names a plugin and where to fetch it. `awesome-copilot` is there out of the box. Others you register:

 

```bash
copilot plugin marketplace add owner/repo
copilot plugin marketplace add owner/repo#ref
copilot plugin marketplace add /PATH/TO/MARKETPLACE-DIRECTORY
copilot plugin marketplace add https://gitlab.com/OWNER/REPO.git
```

 

Adding a marketplace only makes its plugins browsable. Nothing gets installed at that step.

 

After that you have `list`, `browse NAME` and `update [NAME]`. The last one re-fetches the catalog. `remove NAME` is the one with a guard. With plugins from that marketplace still installed, it stops. Add `--force` and it uninstalls them, then goes ahead.

 

Inside a repo, put the file at `.github/plugin/marketplace.json`. That is one of several places Copilot CLI checks, and `.claude-plugin/marketplace.json` is on the list too. Each plugin entry needs two fields, `name` and `source`. For a GitHub source I would pin a full 40-character `sha`. The reference says that survives force-pushes and moved tags.

 

## What can a Copilot CLI plugin contain?

 

A Copilot CLI plugin is a folder with a `plugin.json` manifest. Per the [concepts page](https://docs.github.com/en/copilot/concepts/agents/about-plugins) it can hold custom agents, skills, hooks, extensions, MCP server configs and LSP server configs. The CLI reads two formats. Agent Plugins 1.0 sets a `$schema` URL in `plugin.json`. A manifest without that schema loads as the legacy Copilot format.

 

```text
my-plugin/
├── plugin.json
├── skills/deploy/SKILL.md
├── mcp.json
└── com.github.copilot/
    ├── agents/helper.agent.md
    ├── commands/
    ├── hooks/hooks.json
    └── lsp.json
```

 

In Agent Plugins 1.0 only skills and `mcp.json` are portable. Agents, commands, rules, hooks and LSP servers go under `com.github.copilot/`. Other clients ignore that folder. The legacy format keeps `agents/`, `skills/` and `hooks.json` at the root.

 

A plugin cannot override a project or personal agent or skill with the same name. The reference says the plugin copy is "silently ignored". MCP servers work the other way. A plugin server replaces your own server of the same name. Where plugin agents sit in the load order is in [Copilot CLI subagents](https://getagenttools.com/blog/copilot-cli-subagents/).

 

## How do hooks and commands from a Copilot CLI plugin load?

 

Hooks from a plugin load last, after policy, user and repository hooks. For one event, every entry from every source runs. A legacy plugin keeps them in `hooks.json` or `hooks/hooks.json`. An Agent Plugins 1.0 plugin uses `com.github.copilot/hooks/hooks.json`. The format and the events are in [Copilot CLI hooks](https://getagenttools.com/blog/copilot-cli-hooks/).

 

Since 1.0.26 plugin hooks get `PLUGIN_ROOT` with the install folder. Since 1.0.62 Claude-format `PreToolUse` hooks in a plugin match tool names like `Bash`. With the session sandbox on, plugin hooks run inside it.

 

The 0.0.406 changelog entry says "Commands from plugins are now translated into skills". Agent Plugins 1.0 puts them in `com.github.copilot/commands/`. I found no page that documents the command file format itself.

 

## Can Copilot CLI install Claude Code plugins?

 

Possibly. Two Claude Code paths are on the list Copilot CLI reads: `.claude-plugin/plugin.json` (legacy manifest spot) and `.claude-plugin/marketplace.json` (catalog). The install how-to even picks `copilot plugin marketplace add anthropics/claude-code` as its example. The docs do not say whether a Claude Code plugin works unchanged. I have not tried one.

 

|  | Copilot CLI 1.0.106 | Claude Code | Codex CLI 0.166.0 |
| --- | --- | --- | --- |
| Shell command | `copilot plugin` | `claude plugin` | `codex plugin` |
| In a session | `/plugin` | `/plugin` | `/plugins` |
| Install | `copilot plugin install name@marketplace` | `claude plugin install name@marketplace` | `codex plugin add name@marketplace` |
| Scope flag on install | None in the reference | `--scope user`, `project` or `local` | None in the help |
| Refresh a marketplace | `marketplace update` | `marketplace update` | `marketplace upgrade` |

 

The Claude Code column is from its [plugin commands reference](https://code.claude.com/docs/en/plugins/cli-reference). The Codex column comes from my own read-only run on 5 November.

 

## Frequently asked questions

 

### Does GitHub Copilot CLI support plugins?

 

Yes. `copilot plugin` covers install, list, update, enable, disable and uninstall. `awesome-copilot` ships as the built-in marketplace.

 

### Where does Copilot CLI install plugins?

 

They land in `~/.copilot/installed-plugins/`. A marketplace plugin gets a `MARKETPLACE/PLUGIN-NAME` folder there, a direct install goes in `_direct/`. Set `COPILOT_HOME` and the whole folder moves.

 

### What does --plugin-dir do in Copilot CLI?

 

`--plugin-dir` loads a plugin from a local folder at startup. The flag can repeat. `copilot plugin disable` cannot change such a plugin, since it has no saved activation.

 

### Did you test this?

 

No. Copilot CLI is not installed on my machine, and I ran no `copilot` command. This post reads the GitHub Copilot docs and the CLI changelog up to 1.0.106, both on 6 November 2026.

 

## The verdict

 

I use Codex every day as a worker next to Claude Code. On Copilot CLI I would check two things before an install. First, the marketplace, since `awesome-copilot` plugins update themselves. Second, whether the plugin ships hooks. Those run on every matching event, next to yours.

 

Sources, read on 6 November 2026: the GitHub Copilot pages linked above, the [command reference](https://docs.github.com/en/copilot/reference/copilot-cli-reference/cli-command-reference), the [hooks reference](https://docs.github.com/en/copilot/reference/hooks-reference) and the [github/copilot-cli](https://github.com/github/copilot-cli) changelog.

Put this into practice

[See the tool list](https://getagenttools.com/tools/)[Train your team](https://getagenttools.com/#training)
