Agent skill · software engineering · github

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.

Why this skill is useful

Adds executable scripts for embedding AI agents in applications using the GitHub Copilot SDK, which are not commonly found in public documentation.

What it needs

Requires dotnet, go, node, python installed locally. Requires github account access. About 8k tokens when loaded. Last updated 2026-08-07. 37,534 stars on the source repository.

What this skill does

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 access and an authenticated environment 2. Language runtime: Node.js ^20.19.0 or >=22.12.0, Python 3.11+, Go 1.24+, or a .NET Standard 2.0-compatible implementation 3. Go: GitHub Copilot CLI installed and authenticated (Installation guide) The TypeScript, Python, and .NET packages use a bundled Copilot runtime by default, so they do not need a separate CLI installation. Installation Node.js/TypeScript Python Published Python wheels include a pinned runtime version. The pre-download command caches that runtime locally; if skipped, the SDK attempts to download it automatically on first use. Go .NET Quick Start TypeScript Run: npx tsx index.ts Python Go .NET (C#) Run: dotnet run Streaming Responses Enable real-time output for better UX: TypeScript Python Go .NET Custom Tools Define tools that Copilot can invoke during reasoning. When you define a tool, you tell Copilot: 1. What the tool does (description) 2. What parameters it needs (schema) 3. What code to run (handler) TypeScript (JSON Schema) Python (Pydantic) Go .NET (Microsoft.Extensions.AI) How Tools Work When Copilot decides to call your tool: 1. Copilot sends a tool call request with the parameters 2. The SDK runs your handler function 3. The result is sent back to Copilot 4. Copilot incorporates the result into its response Copilot decides when to call your tool based on the user's question and your tool's description. Interactive CLI Assistant Build a complete interactive assistant: TypeScript Python MCP Server Integration Connect to MCP (Model Context Protocol) servers for pre-built tools. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills github/copilot-sdk

View the source on GitHub

Browse the @skills marketplace