skills.vishalvoidskills/vishalvoid
Technical & DevelopmentIntermediate

copilot-sdk

Build applications powered by GitHub Copilot SDK

Developer Setup

Setup & Installation

bash
npx skills add https://github.com/microsoft/skills --skill copilot-sdk

Overview

What This Skill Does

The GitHub Copilot SDK lets you build applications that programmatically interact with GitHub Copilot. It wraps the Copilot CLI via JSON-RPC and supports session management, custom tools, hooks, MCP server integration, and streaming across Node.js, Python, Go, and .NET.

Application

When to use this Skill

Documentation

Show Skills.md file

GitHub Copilot SDK

Build applications that programmatically interact with GitHub Copilot. The SDK wraps the Copilot CLI via JSON-RPC, providing session management, custom tools, hooks, MCP server integration, and streaming across Node.js, Python, Go, and .NET.

Prerequisites

  • GitHub Copilot CLI installed and authenticated (copilot --version)
  • GitHub Copilot subscription (Individual, Business, or Enterprise) — not required for BYOK
  • Runtime: Node.js 18+ / Python 3.8+ / Go 1.21+ / .NET 8.0+

Installation

Language Package Install
Node.js @github/copilot-sdk npm install @github/copilot-sdk
Python github-copilot-sdk pip install github-copilot-sdk
Go github.com/github/copilot-sdk/go go get github.com/github/copilot-sdk/go
.NET GitHub.Copilot.SDK dotnet add package GitHub.Copilot.SDK

Architecture

The SDK communicates with the Copilot CLI via JSON-RPC over stdio (default) or TCP. The CLI manages model calls, tool execution, session state, and MCP server lifecycle.

Your App → SDK Client → [stdio/TCP] → Copilot CLI → Model Provider
                                          ↕
                                     MCP Servers
Lines 1 - 28 of 899

Recommendations

Explore other random skills

All skillsMy patterns