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.
安装
npx skills add microsoft/skills --skill copilot-sdknpx skills add microsoft/skills --skill copilot-sdk -a claude-code -gnpx skills add microsoft/skills --skill copilot-sdk -a codex -ggemini skills install https://github.com/microsoft/skills.git --path .github/skills/copilot-sdkgh skill install microsoft/skills copilot-sdkgit clone --depth 1 https://github.com/microsoft/skills /tmp/microsoft__skills
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/microsoft__skills/.github/skills/copilot-sdk ~/.claude/skills/copilot-sdk # Claude Code
cp -R /tmp/microsoft__skills/.github/skills/copilot-sdk ~/.agents/skills/copilot-sdk # Codex, Cursor, Gemini CLI, Copilot, OpenCode