copilot-sdk

Wrap the Copilot CLI via JSON-RPC to programmatically manage sessions across Node.js, Python, Go, and .NET.

Updated Mar 26, 2026
One-click install
npx skills add https://github.com/RemseyMailjard/superpowers --skill copilot-sdk-remseymailjard
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: copilot-sdk
Source: https://github.com/RemseyMailjard/superpowers/tree/main/.github/skills/skills/copilot-sdk
Command: npx skills add https://github.com/RemseyMailjard/superpowers --skill copilot-sdk-remseymailjard

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The Copilot SDK enables developers to build applications that programmatically interact with GitHub Copilot by wrapping the Copilot CLI via JSON-RPC, providing session management, custom tools, hooks, MCP server integration, streaming, and BYOK deployment patterns across Node.js/TypeScript, Python, Go, and .NET.

Core Features & Use Cases

  • Session management and multi-language support across Node.js/TypeScript, Python, Go, and .NET.
  • Custom tools, hooks, and MCP server integration to extend Copilot capabilities.
  • BYOK deployment patterns and session persistence for robust, production-grade workflows.

Quick Start

Create a Copilot SDK client, open a session, and start sending prompts to Copilot.

Frequently Asked Questions about copilot-sdk

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I programmatically control GitHub Copilot in my application?

You can programmatically control GitHub Copilot by using an SDK that wraps the Copilot CLI via JSON-RPC, enabling session management, custom tools, streaming, and hooks across Node.js, Python, Go, and .NET.

Do I need a GitHub Copilot subscription to use the Copilot SDK?

Yes, you need a valid GitHub Copilot subscription and the Copilot CLI installed, unless you are utilizing the BYOK (Bring Your Own Key) deployment pattern for your application.

Can I integrate MCP servers with GitHub Copilot workflows?

Yes, you can integrate MCP servers with GitHub Copilot workflows using the SDK, which also supports custom tools and hooks to extend Copilot capabilities programmatically.

What languages are supported for building Copilot-powered apps?

The SDK supports building Copilot-powered apps across Node.js/TypeScript, Python, Go, and .NET, providing session persistence and streaming features for production-grade workflows.

How does session management work with the Copilot CLI?

Session management wraps the Copilot CLI to maintain state across multiple prompts, enabling session persistence and robust workflows within your application via JSON-RPC communication.

What are the limitations of wrapping the Copilot CLI with an SDK?

The primary limitation is the dependency on the Copilot CLI environment and a valid Copilot subscription, unless using BYOK, which may constrain deployment flexibility without proper setup.