copilot-sdk
Build agentic applications with GitHub Copilot SDK. Use when embedding AI agents in apps, creating custom tools, implementing streaming responses, managing sessions, connecting to MCP servers, or creating custom agents. Triggers on Copilot SDK, GitHub SDK, agentic app, embed Copilot, programmable agent, MCP server, custom agent.
npx skills add majiayu000/claude-skill-registry --skill copilot-sdk-darkglow-net-github-copilot-kicks --agent copilot
Same command for any agent — swap --agent for claude-code, codex, cursor.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
What it does
Embeds Copilot's agentic workflows in applications across Python, TypeScript, Go, and .NET, letting you define agent behavior while Copilot handles planning, tool invocation, and file edits.
How it works
The skill provides examples for:
- Quick start in multiple languages: TypeScript, Python, Go, and .NET, showing session creation, model specification (e.g., gpt-4.1), sending prompts, and streaming outputs.
- Streaming responses: configurations set streaming to true and handle events to display incremental content.
- Custom tools: define tools with a description, parameters, and a handler; tools are attached to a session so Copilot can call them and receive results.
- Interactive CLI and examples across languages demonstrating session event handling and real-time output.
- MCP Server integration: configure MCP servers (e.g., github) within the session config for pre-built tools.
- Custom agents and system messages: set up custom agents and a systemMessage to tailor behavior.
When to use it
Use when embedding AI agent workflows in apps, creating custom tools, implementing streaming responses, managing sessions, connecting to MCP servers, or creating custom agents.
What it can touch
Tools are defined and added to sessions (e.g., get_weather in TypeScript/Python examples); sessions support MCPServers and customAgents, and System Message configuration.
Caveats
License: MIT. Prerequisites include Copilot CLI installed and authenticated and a language runtime (Node.js 18+, Python 3.8+, Go 1.21+, or .NET 8.0+).
# GitHub Copilot SDK Embed Copilot's agentic workflows in any application using Python, TypeScript, Go, or .NET. ## Overview The GitHub Copilot SDK exposes the same engine behind Copilot CLI: a production-tested agent runtime you can invoke programmatically. No need to build your own orchestration - you define agent behavior, Copilot handles planning, tool invocation, file edits, and more. ## Prerequisites 1. **GitHub Copilot CLI** installed and authenticated ([Installation guide](https://docs.github.com/en/copilot/how-tos/set-up/install-copilot-cli)) 2. **Language runtime**: Node.js 18+, Python 3.8+, Go 1.21+, or .NET 8.0+ Verify CLI: `copilot --version` ## Installation ### Node.js/TypeScript ```bash mkdir copilot-demo && cd copilot-demo npm init -y --init-type module npm install @github/copilot-sdk tsx ``` ### Python ```bash pip install github-copilot-sdk ``` ### Go ```bash mkdir copilot-demo && cd copilot-demo go mod init copilot-demo go get github.com/github/copilot-sdk/go ``` ### .NET ```bash dotnet new console -n CopilotDemo && cd CopilotDemo dotnet add package GitHub.Copilot.SDK ``` ## Quick Start ### TypeScript ```typescript import { CopilotClient } from "@github/copilot-sd
- Overview
- Prerequisites
- Installation
- Node.js/TypeScript
- Python
- Go
- .NET
- Quick Start
- TypeScript
- .NET (C#)
- Streaming Responses
- Custom Tools
- TypeScript (JSON Schema)
- Python (Pydantic)
mkdir copilot-demo && cd copilot-demo npm init -y --init-type module npm install @github/copilot-sdk tsx pip install github-copilot-sdk go mod init copilot-demo go get github.com/github/copilot-sdk/go dotnet new console -n CopilotDemo && cd CopilotDemo dotnet add package GitHub.Copilot.SDK copilot --server --port 4321
What does the copilot-sdk skill do?
Build agentic applications with GitHub Copilot SDK. Use when embedding AI agents in apps, creating custom tools, implementing streaming responses, managing sessions, connecting to MCP servers, or creating custom agents. Triggers on Copilot SDK, GitHub SDK, agentic app, embed Copilot, programmable agent, MCP server, custom agent.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill copilot-sdk-darkglow-net-github-copilot-kicks --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.
