Skip to content

VS Code Copilot Chat

Target id Package Ship with
vscode-copilot-chat @oiap/exporter-vscode-copilot oiap sync (git install) or install-agent-plugin
Terminal window
npx oiap build oiap.plugin.ts --target vscode-copilot-chat --out dist/vscode-copilot-chat
npx install-agent-plugin <owner>/<repo> --plugin <plugin-id> --agent vscode-copilot-chat

VS Code Copilot agent plugin exporter for Open Interoperable Agent Plugins.

This package lowers OIAP plugin primitives into the VS Code Copilot agent plugin layout documented for Copilot-format plugins:

plugin.json
commands/<command>.prompt.md
skills/<skill>/SKILL.md
agents/<agent>.agent.md
hooks.json
.mcp.json

Most authors should use the CLI:

Terminal window
bun run oiap build ./oiap.plugin.ts --target vscode-copilot-chat --out ./build/vscode-copilot

The exporter emits root plugin.json metadata, prompt files for slash commands, Agent Skills folders, custom agent files, root hooks.json, and root .mcp.json where the source plugin defines those surfaces.

Copilot-format plugins expand ${PLUGIN_ROOT} in hook commands and MCP configuration (agent plugin reference). The exporter emits generated hook runtime files under .oiap/runtime/ and references them through ${PLUGIN_ROOT} in hooks.json, because hooks run from the workspace, not the plugin directory.

Where install-agent-plugin and installPlugin() write the bundle, from the target profile. --out <dir> overrides them.

Scope Path
Local (default) ./.github/plugins/<plugin-id>

From the platform support matrix (see its legend).

Profile Package Rules Skills Commands Hooks Agents MCP Runtime Policy
editor Y F Y Y P Y Y P P

Editor plugin target. VS Code Copilot agent plugins use root plugin.json, Agent Skills folders, prompt-file slash commands, .agent.md custom agents, root hooks.json, and root .mcp.json. Copilot-format plugins expand ${PLUGIN_ROOT} in hook commands and MCP configuration, so generated hook runtime commands locate the runner through it.