From copilot-cli
Internal helper for invoking Copilot CLI from Claude Code subagents — covers invocation template, model routing, context injection, and self-containment rules. Not user-invocable.
How this skill is triggered — by the user, by Claude, or both
Slash command
/copilot-cli:copilot-runtimeThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use this skill only inside `copilot-cli:copilot-task` and `copilot-cli:copilot-review` subagents.
Use this skill only inside copilot-cli:copilot-task and copilot-cli:copilot-review subagents.
Always use a temporary file to pass the prompt — this avoids shell injection when file contents are embedded:
_prompt_file=$(mktemp /tmp/copilot-prompt-XXXXXX.txt)
cat > "$_prompt_file" << 'PROMPT_EOF'
<task_prompt>
PROMPT_EOF
copilot -p "$(cat "$_prompt_file")" \
--model <model> \
[--effort <effort>] \
-s \
--allow-all \
[--add-dir <working_dir>]
rm -f "$_prompt_file"
| Flag | Purpose |
|---|---|
-s / --silent | Only output model response, suppress stats |
--allow-all | Grant all permissions for non-interactive mode. Grants Copilot CLI full tool access — do not use in untrusted environments |
| Model | When | Strengths |
|---|---|---|
gpt-5.4 | Default for all real tasks | Edge cases, boundary conditions, error handling |
claude-opus-4.6 | Caller requests design/architecture work | System design, architecture decisions |
gpt-5-mini | Debug only — never for real tasks | Plugin testing |
Default --effort high for all real tasks.
⚠️ Privacy notice: Copilot CLI auto-loads
./CLAUDE.mdand./.claude/CLAUDE.mdfrom the working directory and sends them to GitHub Copilot (Microsoft/OpenAI servers). If your CLAUDE.md contains internal system prompts, proprietary constraints, or sensitive business context, run from a clean directory or ensure your CLAUDE.md is safe to share externally.
For additional context (memory, file contents): embed directly in the prompt inside <context> tags.
Before invoking, verify the prompt:
| Task Type | Timeout |
|---|---|
| Quick lookup | 60000ms |
| File scanning / exploration | 180000ms |
| Code review / analysis | 180000ms |
| Large batch / architecture | 300000ms |
npx claudepluginhub wkin-t/claude-copilot-plugin --plugin copilot-cliInternal helper contract for calling the copilot-companion runtime from Claude Code
Runs GitHub Copilot CLI as a read-only sub-agent for code review, research, and second opinions. Invoke via /gco or when Copilot is mentioned.
Delegates tasks to GitHub Copilot CLI non-interactively with multi-model support (Claude, GPT, Gemini), permission controls, output sharing, and session resume. Useful for Copilot delegation requests, model comparisons, or programmatic runs.