copilot-sdk
仓库创建 2026年1月17日最近提交 22 天前SkillHot 收录 22 天前
▸ 精选理由
支持会话管理、工具扩展与流式通信,便于集成 Copilot 功能。
▸ 风险提示
需安装并授权 Copilot CLI,可能涉及 GitHub 访问令牌与权限。
这个 Skill 做什么
使用 Copilot SDK 在多语言中构建与 GitHub Copilot 交互的应用。
把 GitHub Copilot 能力嵌入你自己的应用:支持 Node/Python/Go/.NET,能管理会话、接入自定义工具、流式输出并搭自定义代理或技能。适合想把 Copilot 做为可编程助手接入 IDE、工具链或自动化流程时用。特点是通过 Copilot CLI(JSON-RPC)封装,通常需要 Copilot 订阅或 BYOK 配置。
▸ 展开 SKILL.md 英文原文
Build applications powered by GitHub Copilot using the Copilot SDK. Use when creating programmatic integrations with Copilot across Node.js/TypeScript, Python, Go, or .NET. Covers session management, custom tools, streaming, hooks, MCP servers, BYOK providers, session persistence, custom agents, skills, and deployment patterns. Requires GitHub Copilot CLI installed and a GitHub Copilot subscription (unless using BYOK).
2.7k
Stars
304
Forks
40
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/microsoft/skills/main/.github/skills/copilot-sdk/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/microsoft/skills/main/.github/skills/copilot-sdk/SKILL.md"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`) - **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
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有