Files
Holocron/plugins/kyberforge/docs/research/docs/github-copilot-plugins/copilot-extensions.md
T
Defame1297andClaude Sonnet 4.6 3e52636da6 docs(kyberforge): fill marketplace and plugin gaps in Claude Code and Copilot research docs
## Why
The initial research pass focused on agent definitions. An audit identified
critical and minor gaps in both doc sets around plugin publishing, marketplace
registration, and the Copilot extensibility model.

## Implementation Notes
Claude Code gaps filled: end-to-end publish walkthrough (scaffold → validate →
tag → host → register), CLI vs in-session command surface equivalence, all six
marketplace source URL formats, plugin update/upgrade lifecycle, interactive
plugin manager UI, private marketplace auth, `commands` vs `skills/` distinction.

Copilot gaps filled: discovered that the GitHub App-based Copilot Extensions
track was sunset November 2025. Created copilot-extensions.md as historical
reference (deprecated, with MCP servers as the current replacement path).
Documented the agent vs. skillset extension type distinction, OAuth install
flow, and VS Code Chat Participants as the surviving @mention mechanism.
overview.md updated with a "Which Track to Use" decision table covering all
four active tracks plus the deprecated one.

Co-authored-by: Claude Sonnet 4.6 <[email protected]>
2026-06-27 15:40:53 +00:00

11 KiB

topic, source_keys, status
topic source_keys status
copilot-extensions
github-changelog-copilot-extensions-ga
github-changelog-copilot-extensions-sunset
github-docs-copilot-extensions-skillsets
github-docs-copilot-extensions-building
vscode-chat-participant-api
historical-with-current-successor

GitHub Copilot Extensions — GitHub App Track

DEPRECATION NOTICE GitHub App-based Copilot Extensions were generally available from February 2025 and sunset on November 10, 2025 at 11:59 PM PST. New extensions could not be registered after September 24, 2025. All @mention invocations stopped working at the sunset date.

The replacement is MCP servers. Any tool previously exposed as a Copilot Extension should now be published as an MCP server and added to the GitHub MCP Registry. See the MCP section below for the current path.

VS Code Chat Participants (a separate VS Code extension API) are still supported and still provide @mention-based agents in VS Code. See the VS Code Chat Participants section below for the surviving VS Code-specific mechanism.

This document covers the architecture of the now-deprecated GitHub App-based Copilot Extensions track for historical reference, plus the two surviving mechanisms that deliver the same @mention experience today.


What GitHub App-based Copilot Extensions Were

GitHub App-based Copilot Extensions were a GitHub Marketplace distribution track where third parties (Sentry, DataStax, etc.) registered a GitHub App backed by a server and exposed it as a named @mention agent in Copilot Chat. Unlike the CLI plugin system (which installs into the copilot or gh copilot binary), these extensions surfaced inside Copilot Chat in:

  • VS Code
  • GitHub.com web UI
  • Visual Studio
  • JetBrains IDEs

The key architectural difference from CLI plugins:

Dimension CLI Plugin System GitHub App Extension (deprecated)
Distribution copilot plugin install from a marketplace repo Install from GitHub Marketplace as a GitHub App
Runtime location Inside the CLI binary on the developer's machine External HTTP/SSE server operated by the extension publisher
Access context Terminal session, local files Copilot Chat thread, optionally editor context
Invocation @agent-name in Copilot CLI interactive mode @extension-name in Copilot Chat in IDE or GitHub.com
Auth n/a OAuth / OIDC via GitHub
Status Active Deprecated (sunset Nov 10, 2025)

Extension Types: Agent vs. Skillset

GitHub App-based Extensions had two sub-types. The choice was made at build time — one extension could not be both.

Agent Extensions

Agent extensions implemented a full chat backend. The extension operated its own server, received conversation turns as POST requests, and streamed responses back via Server-Sent Events (SSE). The extension could:

  • Call its own LLM or any third-party model
  • Integrate with the Copilot API to use Copilot's model
  • Manage conversation context across turns
  • Implement arbitrary business logic

Use agent extensions when: you need full control over how requests are processed, want to run your own model, or have complex multi-step workflows.

Skillset Extensions

Skillset extensions defined up to 5 discrete API endpoints (skills) that Copilot called when relevant. Copilot handled:

  • Routing the user's message to the correct skill
  • Prompt crafting
  • Function evaluation
  • Response generation

The extension only needed to implement the skill endpoints themselves — no AI expertise required. Each skill was a simple HTTP endpoint that received structured input and returned structured output.

Use skillset extensions when: you need data retrieval or specific operations integrated into Copilot Chat with minimal setup.

An existing agent extension could be converted to a skillset, but not simultaneously operated as both types.


Architecture (Historical Reference)

GitHub App Registration

A Copilot Extension was always backed by a GitHub App. Required configuration:

  1. Homepage URL — the extension's public-facing URL
  2. Callback URL — the OAuth callback endpoint on your server
  3. GitHub Copilot Chat permission — set to Read-only
  4. Copilot Editor Context permission — set to Read-only (enables passing current file context to the extension)
  5. Webhooks — typically disabled for extensions (the interaction model is request/response, not webhook push)

After registering the GitHub App, you configured it as a Copilot Extension by pointing to your backend server's hostname and specifying whether it was an agent or a skillset.

Note: The exact registration fields and permission names should be confirmed against official docs if you are auditing historical extensions. The product was actively changing up to its sunset.

SSE Endpoint Contract (Agent Extensions)

Agent extensions received POST requests with the user's message and context, and returned responses as a stream of Server-Sent Events. The general contract:

  • Request: JSON body containing the conversation turn (user message, optional editor context, optional references). The X-Github-Token header (or OIDC token after GA) identified the user.
  • Response: text/event-stream with SSE events. Each event contained a chunk of the assistant's reply. A terminal event signalled end-of-stream.

Note: The exact request/response schema for SSE events is unverified — confirm against official docs or archived documentation. The copilot-extensions GitHub org (github.com/copilot-extensions) had example implementations before sunset.

Skillset Skill Endpoint Contract

Each skill was a POST endpoint that:

  • Received a structured JSON payload with the extracted parameters Copilot inferred from the user's message
  • Returned a JSON response with the result

Copilot assembled the final chat response from the skill's output without the skill needing to produce prose.

Note: Unverified — confirm exact payload shape against archived official docs or copilot-extensions/skillset-example on GitHub.

Authentication

At general availability (February 2025), GitHub replaced the original X-Github-Token auth header model with OIDC support, enabling direct third-party token authentication. This improved security by letting extensions validate tokens without proxying through GitHub.


Publishing to GitHub Marketplace (Historical)

Publishing a GitHub App-based Copilot Extension required:

  1. Verified publisher: the publishing GitHub App must belong to an organization that is a verified publisher on the GitHub Marketplace.
  2. Organization owner role: app managers without owner status could not publish.
  3. Capability description: the extension must respond meaningfully to "What can you do?" or "List your capabilities."
  4. Stable UX: the extension must deliver the features described in its Marketplace listing.
  5. Low-friction onboarding: new users must be able to install, set up, and authorize the extension with minimal steps.
  6. Draft listing → Submit for review: after completing the Marketplace listing form, you clicked "Submit for review." GitHub's team reviewed for quality, performance, reliability, and security. Denials included reasons; extensions could be revised and resubmitted.

Note: Paid plans were not approved during the public preview period. Marketplace listing requirements are documented at docs.github.com/en/apps/github-marketplace/creating-apps-for-github-marketplace/requirements-for-listing-an-app.


End-User Install Flow (Historical)

  1. Discover: user visited GitHub Marketplace (github.com/marketplace?type=apps&copilot_app=true) and found an extension.
  2. Install: clicked the "Install" button on the extension's Marketplace listing, which initiated a GitHub App installation — the standard GitHub OAuth/permissions consent screen, granting the app the scopes it requested.
  3. Authorize: on first use, some extensions required an additional OAuth authorization step to link the user's account with the extension's backend service.
  4. Verify activation: after install, the extension appeared as an available @mention in Copilot Chat. Users could verify by typing @ in the Copilot Chat panel in VS Code or on GitHub.com.
  5. Invoke: type @extension-name followed by a natural language request. The extension handled the turn and streamed its response.

Organization admins could restrict which extensions were installable by members via the organization's Copilot settings.


Replacement: MCP Servers

GitHub recommended MCP servers as the architectural replacement for GitHub App-based Copilot Extensions. The rationale: MCP is a universal standard — build the server once and it works across any compatible AI agent or chatbot, not only GitHub Copilot.

Key differences:

Dimension GitHub App Extension (deprecated) MCP Server
Standard GitHub-proprietary Open (Anthropic / industry-wide)
Scope GitHub Copilot only Any MCP-compatible AI agent
Distribution GitHub Marketplace GitHub MCP Registry (public preview)
Integration in CLI Not supported .mcp.json config / copilot plugin marketplace
Integration in VS Code Native via GitHub App install VS Code MCP panel or @mcp in extensions search

To add an MCP server to GitHub Copilot in VS Code: open the MCP panel in Copilot Chat, browse the GitHub MCP Registry, and click Install. For CLI use: copilot plugin marketplace add with an MCP-capable marketplace, or configure directly in .mcp.json.


VS Code Chat Participants — Still Supported

VS Code Copilot Extensions built with the VS Code Chat Participant API are not affected by the GitHub App sunset. This is a separate mechanism:

  • Implemented as a standard VS Code extension (.vsix) that registers a chat participant via vscode.chat.createChatParticipant()
  • Distributed through the VS Code Marketplace, not the GitHub Marketplace
  • Invoked with @participant-name in the Copilot Chat panel inside VS Code
  • Defined in package.json under contributes.chatParticipants
  • Has access to VS Code Language Model API and can call Copilot's built-in models

This is the current supported path for building an @mention-based agent that lives inside VS Code. It does not require a GitHub App or any server-side component — the extension runs inside VS Code.

For publishing: submit to the VS Code Marketplace (marketplace.visualstudio.com) via the standard vsce publish flow. This is distinct from the GitHub Marketplace.

Note: VS Code Chat Participant API documentation is at code.visualstudio.com/api/extension-guides/ai/chat.


Choosing the Right Track in 2026

Goal Recommended track
Add tools/data sources to Copilot Chat (any IDE/GitHub.com) MCP server registered in GitHub MCP Registry
Build a custom @mention agent that runs inside VS Code VS Code Chat Participant (vscode extension API)
Package and distribute agents/skills/hooks for Copilot CLI CLI Plugin System (plugin.json + marketplace)
Custom agents in the Copilot cloud agent or IDE agents pane Cloud/IDE Custom Agents (.github/copilot/agents/ .md files)
GitHub App-based Copilot Extension (deprecated) Do not build — sunset November 10, 2025