VS Code Copilot Chat
| Target id | Package | Ship with |
|---|---|---|
vscode-copilot-chat |
@oiap/exporter-vscode-copilot |
oiap sync (git install) or install-agent-plugin |
npx oiap build oiap.plugin.ts --target vscode-copilot-chat --out dist/vscode-copilot-chatnpx install-agent-plugin <owner>/<repo> --plugin <plugin-id> --agent vscode-copilot-chatVS 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.jsoncommands/<command>.prompt.mdskills/<skill>/SKILL.mdagents/<agent>.agent.mdhooks.json.mcp.jsonMost authors should use the CLI:
bun run oiap build ./oiap.plugin.ts --target vscode-copilot-chat --out ./build/vscode-copilotThe 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.
Install paths
Section titled “Install paths”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> |
Support matrix
Section titled “Support matrix”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 |
Platform notes
Section titled “Platform notes”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.