copilot-sdk – Coding skill for AI agents
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.
Install the copilot-sdk skill with one command
Pick the tool you use, copy the command and paste it in your terminal. The skill lands in that tool's skills folder and is ready in your next session.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/copilot-sdk-ebe10.tgz | tar xz -C ~/.claude/skills
Call it in Claude Code: /copilot-sdk – then describe the task you want done.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/copilot-sdk-ebe10.tgz | tar xz -C ~/.codex/skills
Call it in Codex: $copilot-sdk – then describe the task you want done.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/copilot-sdk-ebe10.tgz | tar xz -C ~/.hermes/skills
Call it in Hermes Agent: /copilot-sdk – then describe the task you want done.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/copilot-sdk-ebe10.tgz | tar xz -C ~/.deepcode/skills
Call it in DeepSeek: /copilot-sdk – then describe the task you want done.
SKILL.md content
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.
Detailed Guide
Read [the detailed guide](references/detailed-guide.md) before executing this skill. It retains the complete procedure and reference material. Treat its safety, prerequisites, and validation requirements as mandatory. For focused work, load the relevant sections; for end-to-end work, read the guide completely.
Prerequisites
- GitHub Copilot CLI installed and authenticated (
copilot --versionto verify) - GitHub Copilot subscription (Individual, Business, or Enterprise) — not required for BYOK
- Runtime: Node.js 18+ / Python 3.8+ / Go 1.21+ / .NET 8.0+
When to Use
This skill is applicable to execute the workflow or actions described in the overview.
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
Related skills
- screen-reader-testing – Test web applications with screen readers including VoiceOver, NVDA, and JAWS. Use when…
- cowork-to-code-bridge – Use an already-installed, independently verified cowork-to-code bridge to run narrowly…
- cpp – Language-specific super-code guidelines for cpp.
- create-branch – Create a git branch following Sentry naming conventions. Use when asked to "create a…
- requesting-code-review – Pre-commit review: security scan, quality gates, auto-fix.
- rowan – Rowan is a cloud-native molecular modeling and medicinal-chemistry workflow platform…
- crossframe-debate – Use when CrossFrame Suite routes explicit Chinese proposition testing, debate analysis…
- rest-graphql-debug – Debug REST/GraphQL APIs: status codes, auth, schemas, repro.