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.

7 stars

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

$curl -o ~/.claude/skills/copilot-cli/SKILL.md --create-dirs "https://raw.githubusercontent.com/roy2392/sdlc-subagents-cli/main/templates/skills/copilot-cli/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/copilot-cli/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How copilot-cli Compares

Feature / Agentcopilot-cliStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/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

7
from roy2392/sdlc-subagents-cli

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

7
from roy2392/sdlc-subagents-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

7
from roy2392/sdlc-subagents-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

7
from roy2392/sdlc-subagents-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

7
from roy2392/sdlc-subagents-cli

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

7
from roy2392/sdlc-subagents-cli

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

31392
from sickn33/antigravity-awesome-skills

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

28865
from github/awesome-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

28865
from github/awesome-copilot

Set up complete GitHub Copilot configuration for a new project based on technology stack

copilot-usage-metrics

28865
from github/awesome-copilot

Retrieve and display GitHub Copilot usage metrics for organizations and enterprises using the GitHub CLI and REST API.

copilot-spaces

28865
from github/awesome-copilot

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

28865
from github/awesome-copilot

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.