copilot-sdk
Build apps on the GitHub Copilot SDK in Node.js/TypeScript, Python, Go or .NET: sessions, custom tools, streaming, hooks, MCP servers and BYOK.
- Kind
- Skill
- Works with
- GitHub Copilot
- Languages
- TypeScript / JavaScript, Python, C# / .NET
- Source
- microsoft/skills @ 2130750147de
- Path
- .github/skills/copilot-sdk/SKILL.md
- Jobs
- Implementation
- Topics
- Backend frameworks, Auth & identity
Credit
- Made by
- microsoft
- Original
- github.com/microsoft/skills/blob/2130750147dee0311215099ddf36…
- License
- MIT
Listed by Skill Manifest; not made by us.
InstallCopy it from the source repository, or sign in and let the assistant adapt it for your project.
Install factsScanned 3 Nov 2026
- Adds
- .claude/skills/copilot-sdk/ (the skill folder)
- Runs scripts
- Yes
- shell block in the text
- Uses the network
- Yes
- downloads npm packages
- Needs secrets
- Yes
- TOKEN
- COPILOT_GITHUB_TOKEN
- GITHUB_TOKEN
- OPENAI_API_KEY
- Reads environment variables
- TOKEN
- COPILOT_GITHUB_TOKEN
- GITHUB_TOKEN
- OPENAI_API_KEY
- FOUNDRY_API_KEY
- AZURE_OPENAI_KEY
- Reads outside the project
- ~/.copilot/session-state/{sessionId (SKILL.md)
- ~/.copilot/session-state/ (SKILL.md)
- Calls other skills
- /delegate
- What it does
- Needs a paid account or key
- Source revision
- 2130750147de
- Licence
- MIT
- Last activity
- 26 Nov 2026
- Source changed after the scan
- Yes
- Last push 26 Nov 2026, scanned 3 Nov 2026; read it again before you rely on this scan
- Review
- Reviewed
Found by a static scan of the stored text; nothing is run. “None found” is not a guarantee, so read what you install before you run it.
# 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 …