Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
rysweet avatar

Github Copilot Cli

  • 111 installs
  • 70 repo stars
  • Updated July 26, 2026
  • rysweet/amplihack

Use GitHub Copilot CLI from the terminal for AI-assisted shell commands, code edits, and repo tasks alongside Claude-driven development sessions.

About

Skill for working with GitHub Copilot CLI in terminal sessions: prompting for shell commands, inline code changes, and repository-aware assistance. Bridges Copilot’s CLI UX with Claude Code workflows so developers can combine terminal copilot suggestions, git operations, and scripted automation without leaving the command line.

  • Copilot CLI invocation patterns
  • Terminal-assisted code edits
  • Shell command suggestions
  • Repo-aware context usage
  • Hybrid Claude plus Copilot flows

Github Copilot Cli by the numbers

  • 111 all-time installs (skills.sh)
  • +1 installs in the week ending Jul 26, 2026 (Skillselion tracking)
  • Ranked #242 of 550 CLI & Terminal skills by installs in the Skillselion catalog
  • Data as of Aug 2, 2026 (Skillselion catalog sync)
npx skills add https://github.com/rysweet/amplihack --skill github-copilot-cli

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs111
repo stars70
Last updatedJuly 26, 2026
Repositoryrysweet/amplihack

What it does

Use GitHub Copilot CLI from the terminal for AI-assisted shell commands, code edits, and repo tasks alongside Claude-driven development sessions.

Files

SKILL.mdMarkdownGitHub ↗

GitHub Copilot CLI Expert

Comprehensive knowledge of GitHub Copilot CLI installation, configuration, usage, and extensibility.

Purpose

This skill provides expert guidance on:

1. Installing and updating GitHub Copilot CLI 2. Authentication and configuration 3. Core usage patterns and slash commands 4. Extensibility (MCP servers, skills, custom agents) 5. Troubleshooting common issues

When I Activate

Automatically when you mention:

  • "copilot cli", "github copilot cli", "gh copilot"
  • "install copilot", "update copilot"
  • "copilot commands", "copilot slash commands"
  • "copilot mcp", "add mcp server"
  • "copilot skills", "create copilot skill"
  • "copilot custom agent"

Quick Reference

Installation (All Platforms)

Always fetch latest version - use these commands:

PlatformCommand
Windows (WinGet)winget install GitHub.Copilot
macOS/Linux (Homebrew)brew install copilot-cli
All (npm, Node.js 22+)npm install -g @github/copilot
macOS/Linux (Script)`curl -fsSL https://gh.io/copilot-install \

Prerelease versions: Add @prerelease or use GitHub.Copilot.Prerelease

Authentication

copilot                    # Launch and follow /login prompt
# OR use PAT with "Copilot Requests" permission:
export GH_TOKEN=your_token

Essential Slash Commands

CommandPurpose
/helpShow all commands and shortcuts
/modelSelect AI model (Claude Sonnet 4.5, GPT-5, etc.)
/agentBrowse and select available agents
/skillsManage skills
/mcpManage MCP server configuration
/delegate [prompt]Hand off to Copilot coding agent (creates PR)
/compactReduce context window usage
/contextShow token usage visualization

Keyboard Shortcuts

ShortcutAction
@Mention files to include in context
!Execute shell command directly
EscCancel current operation
Ctrl+CCancel / clear / exit
Ctrl+LClear screen
Ctrl+OExpand/collapse timeline

Extensibility Overview

1. MCP Servers - Extend Copilot with external tools 2. Skills - Task-specific instructions and scripts 3. Custom Agents - Specialized agent profiles 4. Custom Instructions - Repository-wide guidance

Navigation Guide

When to Read Supporting Files

reference.md - Read when you need:

  • Complete slash command reference with all options
  • Detailed MCP server configuration and JSON schema
  • Full permissions system documentation
  • Advanced configuration options
  • Environment variables reference

examples.md - Read when you need:

  • Step-by-step installation walkthroughs
  • Working MCP server configurations
  • Skill creation examples
  • Custom agent examples
  • Real-world usage scenarios

Core Concepts

MCP Servers (Model Context Protocol)

Copilot CLI includes GitHub MCP server by default. Add custom MCP servers:

/mcp add             # Interactive configuration
/mcp show            # List configured servers
/mcp edit <name>     # Modify existing server

Config stored in: ~/.copilot/mcp-config.json

Skills

Skills enhance Copilot's task performance with instructions and scripts.

Locations:

  • Project: .github/skills/ or .claude/skills/
  • Personal: ~/.copilot/skills/ or ~/.claude/skills/

Structure:

.github/skills/my-skill/
└── SKILL.md    # Instructions with YAML frontmatter

Custom Agents

Specialized agent profiles stored as Markdown files.

Locations:

  • User: ~/.copilot/agents/
  • Repository: .github/agents/
  • Organization: .github-private/agents/

Custom Instructions

Repository-specific guidance for Copilot:

  • .github/copilot-instructions.md - Repository-wide
  • .github/instructions/**/*.instructions.md - Path-specific
  • AGENTS.md - Agent behavior instructions

Troubleshooting Quick Tips

IssueSolution
Not installedbrew install copilot-cli or npm i -g @github/copilot
Not authenticatedRun /login in Copilot CLI
Policy disabledCheck org/enterprise Copilot settings
MCP server not loadingVerify ~/.copilot/mcp-config.json syntax
Skill not activatingRestart Copilot CLI, check SKILL.md YAML

---

Version: 1.0.0 | Status: Public Preview Note: GitHub Copilot CLI is in public preview and subject to change.

Related skills

CLI & Terminalgitintegrations

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.