Agent skill · software engineering · aiskillstore

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.

Why this skill is useful

Adds a comprehensive SDK for programmatically interacting with GitHub Copilot, including session management and streaming capabilities across multiple programming languages.

What it needs

Requires dotnet, go, node, python installed locally. Requires github account access. About 8k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.

What this skill does

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 to verify) 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 --- Core Pattern: Client → Session → Message All SDK usage follows this pattern: create a client, create a session, send messages. Node.js / TypeScript Python Go .NET --- Streaming Responses Enable real-time output by setting streaming: true and subscribing to delta events. Python equivalent: Event Subscription Method Description -------- ------------- on(handler) Subscribe to all events; returns unsubscribe function on(eventType, handler) Subscribe to specific event type (Node.js only) --- Custom Tools Define tools that Copilot can call to extend its capabilities. Node.js Python Go .NET --- Hooks Intercept and customize session behavior at key lifecycle points. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills aiskillstore/copilot-sdk

View the source on GitHub

Browse the @skills marketplace