Skip to main content
在 Manus 中运行任何 Skill
一键导入

copilot-sdk

星标15
分支0
更新时间2026年3月28日 22:53

Use this skill when writing scripts that call the GitHub Copilot SDK directly—including setting up a client, creating sessions, sending prompts, streaming responses, defining tools, using hooks, and handling permissions. Also triggers for: installing the SDK, troubleshooting session errors, using create_session, working with PermissionHandler, defining on_pre_tool_use hooks, or understanding the SDK's async API. Use when a deterministic script needs to delegate non-deterministic tasks (classification, extraction, synthesis, evaluation) to an LLM. DO NOT USE FOR: building GitHub App Copilot extensions (copilot_chat.completion endpoint), calling other LLM providers directly (OpenAI, Anthropic, Azure OpenAI, Ollama, LangChain), or querying the GitHub Copilot REST/metrics API.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

文件资源管理器
5 个文件
SKILL.md
readonly