Agent skill · Backend & API

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.

majiayu000github.com/majiayu000GitHub ↗
copilotclaude-codeMIT
Install
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.

Facts
Files in the skill folder: 2
SKILL.md size: 22 KB
Bundled scripts: none
Path: skills/ai-llm/copilot-sdk-darkglow-net-github-copilot-kicks/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.

Review
written from the skill's own SKILL.md · Aug 5, 2026

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+).

From the SKILL.md

# 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

What's inside
Steps it walks through
  1. Overview
  2. Prerequisites
  3. Installation
  4. Node.js/TypeScript
  5. Python
  6. Go
  7. .NET
  8. Quick Start
  9. TypeScript
  10. .NET (C#)
  11. Streaming Responses
  12. Custom Tools
  13. TypeScript (JSON Schema)
  14. Python (Pydantic)
Ships with 1 file
  • metadata.json
Commands it runs
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
More from claude-skill-registry
All skills →
About this skill
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.

Keep going