A VS Code extension that installs GitHub Copilot custom agents into your workspace by fetching pre-written .md agent files from a remote server.
Features
Install custom Copilot agents with a single command
Fetches agent definitions from a remote server (not hardcoded)
Saves agents to .github/copilot/ where GitHub Copilot Chat automatically detects them
Overwrite protection for existing agent files
Available Agents
Agent
Description
Swagger Agent
API documentation agent for Swagger/OpenAPI specs
Code Review Agent
Automated code review assistant
Usage
Open a workspace folder in VS Code
Open the Command Palette (Ctrl+Shift+P / Cmd+Shift+P)
Run "Install Copilot Agent"
Select the agent you want to install
The agent file is downloaded and saved to .github/copilot/
How It Works
GitHub Copilot Chat detects custom agents from .md files placed in the .github/copilot/ directory of your workspace. This extension automates the process of fetching and installing those agent definition files.
Development
Prerequisites
VS Code 1.85 or later
Node.js 18+
Setup
npm install
npm run compile
Run in Development
Open this project in VS Code
Press F5 to launch the Extension Development Host
In the new VS Code window, open any folder
Run the "Install Copilot Agent" command from the Command Palette
Scripts
npm run compile — Compile TypeScript to JavaScript