Plugins provide a way to distribute custom CLI functionality. You can use a plugin to add a preconfigured set of capabilities to Интерфейс командной строки Copilot.
What is a plugin?
- A distributable package that extends Интерфейс командной строки Copilot's functionality.
- A bundle of components in a single installable unit.
What plugins contain
A plugin can contain some or all of the following components:
- Custom agents — Specialized AI assistants (
*.agent.mdfiles inagents/) - Skills — Discrete callable capabilities (skills subdirectories in
skills/, containing aSKILL.mdfile) - Hooks — Event handlers that intercept agent behavior (a
hooks.jsonfile in the plugin root, or inhooks/) - MCP server configurations — Model Context Protocol integrations (a
.mcp.jsonfile in the plugin root, or anmcp.jsonfile in.github/) - LSP server configurations — Language Server Protocol integrations (an
lsp.jsonfile in the plugin root, or in.github/)
Why use plugins?
Plugins provide the following benefits:
- Reusability across projects
- Team standardization of CLI configuration
- Share domain expertise (for example, by providing the skills of a Rails expert, or a Kubernetes expert)
- Encapsulate complex MCP server setups
Where can I get plugins?
You can install plugins from:
- A marketplace
- A repository
- A local path
A marketplace is a location where developers can publish, discover, install, and manage plugins. It's a bit like an app store—but for plugins.
Examples of marketplaces include:
- copilot-plugins (added by default)
- awesome-copilot (added by default)
- claude-code-plugins
- claudeforge-marketplace
For more about adding marketplaces and installing plugins from them, see Finding and installing plugins for GitHub Copilot CLI.
Plugins compared with manual configuration
Any functionality that you could add with a plugin, you could also add by configuring Интерфейс командной строки Copilot manually—for example, by adding custom agent profiles or MCP servers. However, plugins provide several advantages over manual configuration:
| Feature | Manual configuration in a repository | Plugin |
|---|---|---|
| Scope | Single repository | Any project |
| Sharing | Manual copy/paste | /plugin install command |
| Versioning | Git history | Marketplace versions |
| Discovery | Searching repositories | Marketplace browsing |