Install any skill in seconds. Free to start, no credit card required.
Get Started Free →microsoft/copilot-sdk
Build applications powered by GitHub Copilot using the Copilot SDK.
Passed 25 of 25 test cases with the skill, and 3 of 25 without it.
and 38 more in the full report
22 fixed3 passed either way0 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 22 test cases the skill fixed. Same model, same prompt, with and without the skill.
Show the basic Go code using `github.com/github/copilot-sdk/go` to start a client, create a session with model `gpt-4.1`, send a message asking 'What is 2 + 2?', print the response, and stop the client.
| Checked | Without skill | With skill |
|---|---|---|
| Calls client.Start before creating session. | Passed | Passed |
| Calls session.SendAndWait and accesses response Data Content. | Missed | Passed |
The instructions your model reads when the skill loads.
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.
copilot --version)| 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 |
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
Transport modes:
| Mode | Description | Use Case |
|---|---|---|
| Stdio (default) | CLI as subprocess via pipes | Local dev, single process |
| TCP | CLI as network server | Multi-client, backend services |
test cases passed, vs 3 / 25 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.