copilot-cli
Delegate tasks to GitHub Copilot CLI for GitHub workflow automation, PR creation and review, issue management, and repository operations. Deeply integrated with GitHub's ecosystem.
Best use case
copilot-cli is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Delegate tasks to GitHub Copilot CLI for GitHub workflow automation, PR creation and review, issue management, and repository operations. Deeply integrated with GitHub's ecosystem.
Teams using copilot-cli should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/copilot-cli/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How copilot-cli Compares
| Feature / Agent | copilot-cli | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Delegate tasks to GitHub Copilot CLI for GitHub workflow automation, PR creation and review, issue management, and repository operations. Deeply integrated with GitHub's ecosystem.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
## What is GitHub Copilot CLI GitHub Copilot CLI is GitHub's agentic coding tool for the terminal. It provides deep integration with GitHub workflows including pull requests, issues, code review, and repository management alongside standard coding capabilities. ## When to delegate to Copilot CLI Use GitHub Copilot CLI when you need to: - Create, review, or manage pull requests - Manage GitHub issues (create, update, close, label) - Perform code review with GitHub-native feedback - Automate GitHub repository operations (branch management, releases) - Generate PR descriptions from code changes - Push changes and create PRs in a single flow using `/delegate` - Work with GitHub Actions workflows ## How to invoke Copilot CLI ### Non-interactive (recommended for delegation) ```bash copilot --prompt "YOUR PROMPT HERE" ``` ### Auto-approve all operations ```bash copilot --prompt "YOUR PROMPT" --allow-all ``` ### Delegate changes as a PR Inside Copilot CLI, the `/delegate` command pushes changes as a PR to a remote repo. For non-interactive use: ```bash copilot --prompt "Make the following changes and create a PR: [DESCRIPTION]" --allow-all ``` ## Important notes - Requires a GitHub Copilot subscription (Pro, Pro+, Business, or Enterprise) - Authentication is via GitHub account (`/login` on first run) - The older `gh copilot` extension was deprecated in Oct 2025 - use the standalone `copilot` command - Requires Node.js v22+ - Copilot CLI has native access to GitHub API - no need for `gh` CLI separately ## Delegation pattern When delegating GitHub-related tasks to Copilot CLI: ```bash RESULT=$(copilot --prompt "Review the current branch changes and create a PR with title '[TITLE]' and description covering: [ASPECTS TO COVER]" --allow-all) ``` For read-only operations (e.g., listing issues): ```bash RESULT=$(copilot --prompt "List all open issues labeled 'bug' in this repository. Return them as a markdown table with columns: number, title, assignee, created date.") ```
Related Skills
sdlc-orchestrator
Orchestrate multiple coding agent CLIs as sub-agents. Load this skill to understand which coding agent CLI to delegate tasks to based on task type (front-end, context engineering, GitHub workflows, refactoring, pair programming, rapid prototyping).
kimi-cli
Delegate tasks to Kimi CLI for front-end development, full-stack coding, and long-context code understanding. Powered by Moonshot AI's Kimi K2 model with extended context support.
gemini-cli
Delegate tasks to Gemini CLI for context engineering, large codebase analysis, research-heavy coding tasks, and documentation generation. Gemini has a 1M token context window and built-in Google Search grounding.
cursor-cli
Delegate tasks to Cursor CLI (agent command) for IDE-grade coding in the terminal, cloud agent handoff for long-running tasks, and rapid prototyping with multi-model support.
claude-code
Delegate tasks to Claude Code for complex refactoring, architecture-level changes, multi-file edits, in-depth code review, and debugging. Excels at deep reasoning about code structure.
aider
Delegate tasks to Aider for AI pair programming with auto-git-commits, model-agnostic LLM support, and architect mode for complex changes. Works with any LLM provider.
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.
workiq-copilot
Guides the Copilot CLI on how to use the WorkIQ CLI/MCP server to query Microsoft 365 Copilot data (emails, meetings, docs, Teams, people) for live context, summaries, and recommendations.
github-copilot-starter
Set up complete GitHub Copilot configuration for a new project based on technology stack
copilot-usage-metrics
Retrieve and display GitHub Copilot usage metrics for organizations and enterprises using the GitHub CLI and REST API.
copilot-spaces
Use Copilot Spaces to provide project-specific context to conversations. Use this skill when users mention a "Copilot space", want to load context from a shared knowledge base, discover available spaces, or ask questions grounded in curated project documentation, code, and instructions.
copilot-instructions-blueprint-generator
Technology-agnostic blueprint generator for creating comprehensive copilot-instructions.md files that guide GitHub Copilot to produce code consistent with project standards, architecture patterns, and exact technology versions by analyzing existing codebase patterns and avoiding assumptions.