Agent skill · Backend & API

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.

majiayu000github.com/majiayu000GitHub ↗
copilotclaude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill copilot-sdk-sickn33-antigravity-awesome --agent copilot

Same command for any agent — swap --agent for claude-code, codex, cursor.

Facts
Files in the skill folder: 2
SKILL.md size: 15 KB
Bundled scripts: none
Path: skills/ai-llm/copilot-sdk-sickn33-antigravity-awesome/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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 ```typescript import { CopilotClient } from "@github/copilot-sdk"; const client = new CopilotClient(); const session = await client

What's inside
Steps it walks through
  1. Prerequisites
  2. Installation
  3. Core Pattern: Client → Session → Message
  4. Node.js / TypeScript
  5. Python
  6. Go
  7. .NET
  8. Streaming Responses
  9. Event Subscription
  10. Custom Tools
  11. Node.js
  12. Hooks
  13. Example: Tool Permission Control
  14. Pre-Tool Use Output
Ships with 1 file
  • metadata.json
Commands it runs
copilot --headless --port 4321
More from claude-skill-registry
All skills →
About this skill
What does the copilot-sdk skill do?

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.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill copilot-sdk-sickn33-antigravity-awesome --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going