Summary
Add support for GitHub Copilot CLI as an alternative execution engine alongside Claude Code CLI.
Research: Copilot CLI Permission Flags
Note: Re-verified from official docs and changelog on 2026-04-05. Some flags from initial research could not be confirmed.
Permission control flags (verified)
| Flag |
Exists |
Effect |
--yolo |
Yes |
Alias for --allow-all. Auto-approve all permissions |
--allow-all |
Yes |
Auto-approve all permissions. Same as --yolo |
--allow-all-tools |
Yes |
Auto-approve all tool usage |
--allow-all-paths |
Yes |
Auto-approve all file path access |
--allow-tool |
Yes |
Allow specific tool (e.g., --allow-tool 'shell(git)') |
--deny-tool |
Yes |
Deny specific tool (takes priority over allow) |
--allow-all-urls |
Not confirmed |
Not found in docs or changelog |
--autopilot |
Not confirmed as CLI flag |
Exists as interactive mode feature (Shift+Tab), not as a CLI flag |
Non-interactive execution
# Full autonomous execution
copilot -p "prompt" --yolo
# Restricted tool access
copilot -p "prompt" --allow-tool 'shell(git)' --allow-tool 'write'
Flag mapping with Claude Code
| Claude Code |
Copilot CLI |
claude -p |
copilot -p |
--dangerously-skip-permissions |
--yolo (alias: --allow-all) |
| (no equivalent) |
--allow-all-tools (tools only, not paths) |
| (no equivalent) |
--allow-tool (granular per-tool control) |
Key differences from Codex
- Copilot's
--yolo is an alias for --allow-all (permission-focused)
- Codex's
--yolo is an alias for --dangerously-bypass-approvals-and-sandbox (approval + sandbox bypass)
- Same name, different semantics — they were defined independently
- Copilot has no sandbox concept; Codex does
Considerations
- Copilot offers granular tool-level control (
--allow-tool, --deny-tool) that others lack
--autopilot may not be usable as a CLI flag for non-interactive execution — needs further investigation
--headless --stdio was recently removed (Issue #1606)
- Source: GitHub Copilot CLI docs, changelog
🤖 Generated with Claude Code
Summary
Add support for GitHub Copilot CLI as an alternative execution engine alongside Claude Code CLI.
Research: Copilot CLI Permission Flags
Permission control flags (verified)
--yolo--allow-all. Auto-approve all permissions--allow-all--yolo--allow-all-tools--allow-all-paths--allow-tool--allow-tool 'shell(git)')--deny-tool--allow-all-urls--autopilotNon-interactive execution
Flag mapping with Claude Code
claude -pcopilot -p--dangerously-skip-permissions--yolo(alias:--allow-all)--allow-all-tools(tools only, not paths)--allow-tool(granular per-tool control)Key differences from Codex
--yolois an alias for--allow-all(permission-focused)--yolois an alias for--dangerously-bypass-approvals-and-sandbox(approval + sandbox bypass)Considerations
--allow-tool,--deny-tool) that others lack--autopilotmay not be usable as a CLI flag for non-interactive execution — needs further investigation--headless --stdiowas recently removed (Issue #1606)🤖 Generated with Claude Code