Learning resourcesReviewed · GitHub

Creating a plugin for GitHub Copilot CLI

This GitHub guide teaches developers to package Copilot CLI customizations, but choosing the portable or legacy format changes the required file layout. It covers manifests, agents, skills, hooks, MCP server configurations and local development, including the need to reinstall a plugin after editing its files.

Researched 15 Nov 2026

In short.

This GitHub guide helps developers create shareable Copilot CLI plugins, but portability depends on the package format and the receiving client's support. It explains Agent Plugins 1.0 and the legacy Copilot format, shows where their components belong, and provides installation and inspection commands. Its most consequential development detail is caching: local edits require reinstalling the plugin. Minimum CLI versions, costs and measured reliability are unknown from this page; no commands or components were executed.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage is the complete selected documentation page at the exact supplied article-body address, including examples and notices about caching, evaluations, distribution and enterprise settings. Linked references, schemas, author documentation and marketplace instructions are excluded. The retained article is the only supplied file; it contains no complete plugin implementation or established redistribution license. No commands, plugins, servers, cross-client behavior or distribution steps were executed or tested.

The overview

Identity

Creating a plugin for GitHub Copilot CLI is an official GitHub documentation tutorial about packaging customizations for its command-line coding assistant. The resource is a guide, rather than a downloadable plugin or a standalone tool.

The selected source is the complete article body at [https://docs.github.com/api/article/body?pathname=/en/copilot/how-tos/copilot-cli/customize-copilot/plugins-creating].

Assessment

The guide is useful when a developer already has custom instructions or integrations and wants to distribute them as one installable package. Concrete examples explain both the manifest and the component directories, while the development steps explain how to inspect what loaded.

It supplies a packaging procedure, but leaves component implementation, detailed reference fields and marketplace creation to other documentation. It provides no results demonstrating plugin reliability or compatibility across clients.

Users

The main audience is developers and teams sharing Copilot CLI agents, reusable skills, hooks or MCP server connections. MCP lets an assistant connect to external tools or services through a server.

Beginners get a directory-based starting point and commands to follow. Experienced maintainers get the distinction between portable and Copilot-specific components, manifest validation behavior, environment-variable expansion and enterprise settings precedence. Familiarity with terminal commands, JSON and Markdown will help.

Capabilities

The tutorial shows how to package any combination of custom agents, skills, hooks and MCP server configurations. It includes agent and skill file examples, plus configurations for a remote Streamable HTTP server and a local server started through standard input and output.

It also explains local installation, listing installed plugins, inspecting loaded agents and skills, reinstalling edited plugins and uninstalling by manifest name. Marketplace distribution and repository defaults are introduced without a complete implementation procedure.

Using it

Requirements

Following the local development procedure requires access to Copilot CLI and the ability to create a plugin directory containing JSON and Markdown files. The page does not specify CLI installation, authentication, supported operating systems, account eligibility or a minimum CLI version.

Additional dependencies depend on the components supplied. The example local MCP server starts with node, so that example assumes a Node.js executable and the referenced server file. This does not establish Node.js as a requirement for every plugin. Remote-service credentials and access requirements are not covered.

Mechanism

Copilot CLI distinguishes formats through plugin.json. Declaring the canonical schema [https://agent-plugins.org/schemas/1.0.0/plugin.schema.json] selects Agent Plugins 1.0; omitting the Agent Plugins schema selects the legacy format. The Agent Plugins 1.0 schema allows only $schema, name, version, description, author, homepage, repository, license, keywords and extensions as top-level fields, with extensions reserved for client-specific data keyed by reverse-domain namespace. Copilot CLI reports and ignores unknown top-level fields; the page does not say how other clients handle them.

Agent Plugins 1.0 requires plugin.json at the root, skills in immediate subdirectories of skills/ with a SKILL.md file, and MCP configuration in root mcp.json. Copilot-specific agents belong in com.github.copilot/agents/ and hooks in com.github.copilot/hooks/hooks.json. Legacy manifests can configure component paths.

For standard-input/output MCP servers, Copilot CLI supplies PLUGIN_ROOT and PLUGIN_DATA and expands their placeholders in args, environment values and cwd. Installed components are cached for subsequent sessions.

Setup

Create a plugin directory, choose a format, write plugin.json at the root and add components in the appropriate locations. Install the directory with copilot plugin install ./my-plugin, then inspect the installed list with copilot plugin list or /plugin list in an interactive session.

Use /agent and /skills list to inspect those component types, then exercise each component's intended behavior. After editing local files, run the installation command again because subsequent sessions use cached components. Remove the local plugin with copilot plugin uninstall NAME, using its manifest name rather than its directory path.

These are the documented steps; successful installation and component operation were not verified.

Example

The guide illustrates a deployment skill at skills/deploy/SKILL.md. In an Agent Plugins 1.0 package, a developer would pair that file with a root plugin.json declaring the canonical schema. The skill example contains name and description metadata followed by placeholder instructions, so actual deployment behavior still needs to be written.

For a tool-backed deployment workflow, the separate MCP example shows a remote deployment-api connection and a local validator launched from ${PLUGIN_ROOT}/server/index.js. These are configuration illustrations; the page does not supply a working deployment service or validator implementation.

Assessment & evidence

Limitations

Agent Plugins 1.0 portability is described for skills and MCP servers across compatible clients. Other component support must be checked in each client's documentation. Portable packages cannot override the prescribed skill and MCP configuration locations.

This page does not fully specify hook authoring, component permissions, MCP authentication or compatibility requirements. Listing a loaded component also does not establish that its behavior works correctly; the guide separately calls for exercising components and adding evaluations.

Repository defaults can enable a plugin and members can override those defaults locally, but enterprise managed settings can require or block it and take precedence.

Fit and tradeoffs

Choose Agent Plugins 1.0 when sharing skills and MCP server configurations across compatible clients is the priority. Its fixed layout reduces configuration choices, while requiring Copilot-specific components to live in their designated directory.

Choose the legacy format when configurable component paths in Copilot CLI matter or when maintaining an existing Copilot-specific package. Neither choice alone establishes that another client will support every component. The guide's advice to evaluate behavior after instruction or tool changes is particularly relevant because a valid package can still contain ineffective instructions or integrations.

Alternatives

The supported comparison within this page is Agent Plugins 1.0 versus the legacy Copilot format. The former emphasizes portable skills and MCP configurations with fixed locations; the latter supports configurable component paths and existing Copilot-specific packages.

The page links to author documentation, a plugin reference and marketplace guidance, but their contents are outside the selected scope. No competing assistants, plugin systems or alternative distribution services were assessed.

Evidence

The evidence consists of the complete captured GitHub documentation article, including its manifest examples, component paths, commands, caching notice, evaluation advice and distribution guidance. It supports descriptions of the documented procedure, rather than claims of successful execution.

The retained source is selected-page.txt, acquired from [https://docs.github.com/api/article/body?pathname=/en/copilot/how-tos/copilot-cli/customize-copilot/plugins-creating]. Its recorded size is 8,093 bytes and source SHA-256 is c316b4a576ca2318e043f4d084b012ad6b200c969fdbf94b9d1ac64645768af2. No plugin files, execution logs or benchmark results accompany the article.

Access & freshness

Costs

Costs are unknown from this page. It gives no Copilot subscription prices, usage allowances, plugin charges or MCP service fees. The examples do not establish whether a particular implementation would require paid services or hosting.

Rights

The example Agent Plugins manifest contains a license field set to MIT. That illustrative value does not establish the license of this article, its examples or any plugin a developer creates.

The captured page supplies no documentation license notice or explicit redistribution terms. Rights to redistribute the captured article are therefore unknown from the supplied evidence. Authors would need to establish rights for the components they distribute and choose an appropriate license.

Freshness

The article was captured on 2026-11-15 at 12:25:13.068 UTC. The supplied text does not state its publication date, last update date or required Copilot CLI release.

Agent Plugins 1.0 and the 1.0.0 schema address identify the documented package format; they do not establish the installed CLI version. Compatibility with any particular CLI release remains unverified.

Next steps

Choose the package format from the intended clients and component-path requirements, then create a minimal plugin with one useful component. Confirm the required CLI version and account access separately, since this page does not specify them.

Follow the documented installation and inspection steps, exercise the component's actual behavior and reinstall after each local edit. Add evaluations for intended behaviors and repeat them when instructions, tools or other components change.

Before sharing through a marketplace, consult the linked distribution guidance and establish component licenses, external-service requirements and any enterprise restrictions. Those details are not resolved by this page.

Evidence for this report

selected-page.txtselected · checked 2026-11-15