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]>
This commit is contained in:
Defame1297andClaude Sonnet 4.6 committed 2026-06-27 15:40:53 +00:00
1 parent 0c6268f9fe
commit 3e52636da6
9 files changed
+707 -22

No files matched your search

@@ -0,0 +1,191 @@
---
topic: copilot-extensions
source_keys:
- github-changelog-copilot-extensions-ga
- github-changelog-copilot-extensions-sunset
- github-docs-copilot-extensions-skillsets
- github-docs-copilot-extensions-building
- vscode-chat-participant-api
status: 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](#replacement-mcp-servers) 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](#vs-code-chat-participants-still-supported) 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 |
@@ -131,3 +131,34 @@ Reference implementations: `github/copilot-plugins` and `github/awesome-copilot`
## The `strict` Field
When `strict: false` is set on a plugin entry, the CLI performs relaxed schema validation for that plugin. This is useful for plugins distributed as `.claude-plugin/` directories that also need to serve Claude Code — it allows extra or non-standard fields without failing validation.
---
## Contributing to the Official Registries
Two registries are active: `github/awesome-copilot` (community-driven) and `github/copilot-plugins` (official GitHub collection). Both accept contributions via pull request.
### Submitting to `github/awesome-copilot`
`awesome-copilot` is a community-curated collection of agents, skills, instructions, hooks, workflows, and plugins. The repo is at `github.com/github/awesome-copilot`.
Contribution process:
1. Fork `github/awesome-copilot`.
2. Add your content in the appropriate directory (`agents/`, `skills/`, `plugins/`, etc.).
3. Follow the formatting conventions in existing entries — `README.md` files in each directory describe the expected structure.
4. Open a pull request against the `main` branch.
5. Once the PR is merged, your content appears on `awesome-copilot.github.com`.
The repository's `CONTRIBUTING.md` (if present) is the authoritative guide for content requirements and review criteria.
### Submitting to `github/copilot-plugins`
`copilot-plugins` is the official GitHub Copilot plugins collection — it focuses on MCP servers, skills, hooks, and other CLI-extensibility tools.
Contribution process:
1. Fork `github/copilot-plugins`.
2. Add your plugin directory under `plugins/` following the `plugin.json` structure documented in this repo.
3. Update `marketplace.json` (at `.github/plugin/marketplace.json`) to add an entry referencing your plugin.
4. Open a pull request. The repo's contributing guide describes any additional requirements.
> **Note:** Specific review criteria and timelines for both registries are not authoritatively documented in public sources as of this research. Check each repo's `CONTRIBUTING.md` and open issues for current curator expectations before submitting.
@@ -6,13 +6,27 @@ source_keys:
- github-cli-plugin-reference
- github-custom-agents-configuration
- github-sdk-custom-agents
- github-changelog-copilot-extensions-sunset
- vscode-chat-participant-api
---
# GitHub Copilot Agents and Plugins — Overview
GitHub Copilot exposes three distinct extension tracks. They share some vocabulary but differ in distribution model, runtime context, and target audience.
GitHub Copilot exposes four active extension tracks plus one deprecated track. They share some vocabulary but differ in distribution model, runtime context, and target audience. Pick the right track before building — they are not interchangeable.
## Three Extension Tracks
## Which Track to Use
| Goal | Track |
|---|---|
| Add tools/data sources to Copilot Chat across all IDEs and GitHub.com | MCP server (via GitHub MCP Registry) |
| Build a custom @mention agent running inside VS Code | VS Code Chat Participant (VS Code extension API) |
| Package and distribute agents/skills/hooks for Copilot CLI | CLI Plugin System |
| Custom agents in the cloud agent or IDE agents pane | Cloud/IDE Custom Agents |
| GitHub App-based Copilot Extension | **Deprecated — do not build (sunset Nov 2025)** |
---
## Four Active Extension Tracks
### 1. CLI Plugin System
@@ -30,17 +44,46 @@ These agents are scoped at three levels — **enterprise > organization > reposi
The Copilot SDK (`@github/copilot-sdk` for TypeScript, plus Go, Python, Java, .NET packages) lets application developers attach named `CustomAgentConfig` objects to a session at creation time. The runtime can auto-select sub-agents based on task context (`infer: true`, the default) or require explicit invocation. This track is for building Copilot-powered applications rather than personalizing the CLI.
### 4. VS Code Chat Participants
VS Code extensions that implement the Chat Participant API (`vscode.chat.createChatParticipant()`) appear as @mention agents inside the Copilot Chat panel in VS Code. This is the current supported path for building an @mention-based agent that runs locally inside VS Code:
- Implemented as a standard VS Code extension (`.vsix`) — no server required
- Distributed via the VS Code Marketplace (marketplace.visualstudio.com), not the GitHub Marketplace
- Declared in `package.json` under `contributes.chatParticipants`
- Has access to the VS Code Language Model API to call Copilot's built-in models
- Users invoke with `@participant-name` in the Copilot Chat panel
This track is **distinct from** the deprecated GitHub App-based Copilot Extensions (see below). It is not affected by the November 2025 sunset.
---
## Deprecated Track: GitHub App-based Copilot Extensions
From public preview (2024) through general availability (February 2025) until **sunset on November 10, 2025**, GitHub supported a GitHub Marketplace track where third-party tools registered a GitHub App backed by an SSE/HTTP server. These appeared as @mention agents in Copilot Chat across VS Code, GitHub.com, Visual Studio, and JetBrains IDEs.
This track is **fully deprecated**. @mention invocations stopped working at the sunset date. The replacement is MCP servers.
Two sub-types existed:
- **Agent extensions** — implemented a full chat backend with SSE streaming; could call any LLM
- **Skillset extensions** — defined up to 5 discrete HTTP skill endpoints; Copilot handled all AI routing and response generation
See `copilot-extensions.md` for full architecture documentation, historical endpoint contracts, and migration guidance.
---
## Component Primitives
All three tracks build on the same underlying primitives:
The first three active tracks build on the same underlying primitives. The VS Code Chat Participant track uses separate VS Code APIs.
| Primitive | CLI | Cloud Agent | SDK |
|---|---|---|---|
| Agents | `.agent.md` files | `.md` files with frontmatter | `CustomAgentConfig` in code |
| Skills | `SKILL.md` in named subdirs | `SKILL.md` (cloud variant) | `skillDirectories` + `skills[]` |
| Hooks | `hooks.json` | Not supported | Not applicable |
| MCP servers | `.mcp.json` | `mcp-servers:` frontmatter block | `mcpServers` in `SessionConfig` |
| LSP servers | `lsp-config/servers.json` | Not supported | Not applicable |
| Primitive | CLI | Cloud Agent | SDK | VS Code Chat Participant |
|---|---|---|---|---|
| Agents | `.agent.md` files | `.md` files with frontmatter | `CustomAgentConfig` in code | `createChatParticipant()` |
| Skills | `SKILL.md` in named subdirs | `SKILL.md` (cloud variant) | `skillDirectories` + `skills[]` | `vscode.lm.registerTool()` |
| Hooks | `hooks.json` | Not supported | Not applicable | Not applicable |
| MCP servers | `.mcp.json` | `mcp-servers:` frontmatter block | `mcpServers` in `SessionConfig` | VS Code MCP config |
| LSP servers | `lsp-config/servers.json` | Not supported | Not applicable | Not applicable |
| Distribution | Marketplace repo | Git repo (`.github/copilot/agents/`) | Application code | VS Code Marketplace |
## Loading Hierarchy (CLI)
@@ -48,3 +48,52 @@
- **Description:** SDK custom agent API — CustomAgentConfig fields in all five languages, session config, sub-agent lifecycle events, tool scoping, permission handling
- **Contributing files:** overview.md, agent-definition.md, api-reference.md, examples.md, sdk.md, troubleshooting.md
- **Status:** `extracted`
## github-changelog-copilot-extensions-ga
- **URL:** https://github.blog/changelog/2025-02-19-announcing-the-general-availability-of-github-copilot-extensions/
- **Description:** Announcement of GitHub Copilot Extensions general availability (February 2025) — OIDC auth, all license tiers, VS Code/Visual Studio/JetBrains/GitHub.com support
- **Contributing files:** copilot-extensions.md
- **Status:** `referenced`
## github-changelog-copilot-extensions-sunset
- **URL:** https://github.blog/changelog/2025-09-24-deprecate-github-copilot-extensions-github-apps/
- **Description:** Sunset notice for GitHub App-based Copilot Extensions — creation blocked Sep 24, 2025; full shutdown Nov 10, 2025; MCP servers recommended as replacement
- **Contributing files:** copilot-extensions.md, overview.md
- **Status:** `referenced`
## github-docs-copilot-extensions-skillsets
- **URL:** https://docs.github.com/en/copilot/concepts/build-copilot-extensions/skillsets-for-copilot-extensions
- **Description:** Concept doc for Copilot Extension skillsets — up to 5 skills per extension, Copilot handles routing/prompt crafting/response, contrast with agent extensions
- **Contributing files:** copilot-extensions.md
- **Status:** `referenced`
## github-docs-copilot-extensions-building
- **URL:** https://docs.github.com/en/copilot/building-copilot-extensions/setting-up-copilot-extensions
- **Description:** How-to for setting up a Copilot Extension — GitHub App registration, Copilot Chat permission, Copilot Editor Context permission, backend URL configuration
- **Contributing files:** copilot-extensions.md
- **Status:** `referenced`
## vscode-chat-participant-api
- **URL:** https://code.visualstudio.com/api/extension-guides/ai/chat
- **Description:** VS Code Chat Participant API — createChatParticipant(), package.json contributes.chatParticipants, Language Model API, @mention invocation in Copilot Chat
- **Contributing files:** copilot-extensions.md, overview.md
- **Status:** `referenced`
## github-marketplace-copilot-extensions
- **URL:** https://github.com/marketplace?type=apps&copilot_app=true
- **Description:** GitHub Marketplace listing for Copilot Extensions — browsable list of available extensions (historical; page remains live but product is sunset)
- **Contributing files:** copilot-extensions.md
- **Status:** `referenced`
## github-docs-marketplace-listing-requirements
- **URL:** https://docs.github.com/en/apps/github-marketplace/creating-apps-for-github-marketplace/requirements-for-listing-an-app
- **Description:** Requirements for listing a GitHub App on the GitHub Marketplace — verified publisher, capability description, UX stability, submission and review process
- **Contributing files:** copilot-extensions.md
- **Status:** `referenced`