Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

github-copilot-cli-expert

БесплатноБез исполняемых скриптовНе проверен

Expert knowledge of GitHub Copilot CLI - installation, configuration, usage, custom agents, MCP servers, and version management. Use when asking about copilot…

rysweetот rysweet★ 77 звёзд на GitHub

Об этом скилле

GitHub Copilot CLI Expert

Comprehensive knowledge of GitHub Copilot CLI - the terminal-native AI coding assistant.

Note: Command syntax and model availability may change. Run /help in Copilot CLI for current options.

Purpose

This skill provides expert guidance on:

  1. Installing and updating GitHub Copilot CLI
  2. All slash commands and keyboard shortcuts
  3. Custom agents, skills, and MCP server configuration
  4. Security, permissions, and trusted directories
  5. Integration with GitHub workflows (PRs, issues, Actions)
  6. Programmatic and interactive usage modes

Quick Reference

Installation (Pick One)

# Homebrew (macOS/Linux) - Recommended
brew install copilot-cli

# npm (all platforms, requires Node.js 22+)
npm install -g @github/copilot

# WinGet (Windows)
winget install GitHub.Copilot

# Install script (macOS/Linux)
curl -fsSL https://gh.io/copilot-install | bash

Update to Latest Version

# Homebrew
brew upgrade copilot-cli

# npm
npm update -g @github/copilot

# WinGet
winget upgrade GitHub.Copilot

# Check version
copilot --version

Before First Use

Requirements:

  • Active GitHub Copilot subscription (Plans)
  • Node.js 22+ (if installing via npm)
  • PowerShell v6+ (Windows users)

Authentication:

# On first run, you'll be prompted to login
copilot
# Then: /login

# OR set environment variable
export GH_TOKEN="ghp_xxxxxxxxxxxx"

Essential Slash Commands

Command Description
/help Show all commands and shortcuts
/model Select AI model (claude-sonnet-4-5, gpt-5, etc.)
/mcp Manage MCP server configuration
/agent Browse and select custom agents
/delegate Hand off task to Copilot coding agent on GitHub
/compact Reduce context window usage
/context Show token usage visualization
/usage Display session metrics
/diff Review changes made in session
/share Export session to file or gist
/skills Manage skills for enhanced capabilities

Keyboard Shortcuts

Shortcut Action
@file Include file contents in context
!cmd Execute shell command directly
Esc Cancel operation / exit prompt
Ctrl+C Cancel / clear / exit
Ctrl+L Clear screen
Ctrl+O Expand/collapse timeline
↑/↓ Navigate command history

When to Use This Skill

Auto-triggers when user mentions:

  • "copilot cli", "github copilot", "install copilot"
  • "update copilot", "copilot version", "copilot commands"
  • "mcp server", "custom agents", "copilot skills"

Explicitly invoke via:

Skill(skill="github-copilot-cli-expert")

Navigation Guide

When to Read Supporting Files

reference.md - Read when you need:

  • Complete list of all slash commands with detailed options
  • All command-line flags and environment variables
  • Detailed security configuration (trusted directories, tool permissions)
  • Programmatic mode examples and scripting patterns
  • MCP server configuration JSON format

examples.md - Read when you need:

  • Step-by-step workflow examples (PR creation, code review)
  • Custom agent creation and invocation examples
  • GitHub integration use cases (issues, Actions, PRs)
  • Delegation to Copilot coding agent workflows

Core Capabilities

1. Interactive vs Programmatic Mode

Interactive (default):

copilot
# Then type prompts naturally

Programmatic (scripting):

copilot -p "Summarize recent commits" --allow-tool 'shell(git)'

2. Custom Agents

Built-in agents: explore, task, plan, code-review

Custom agent locations:

  • User-level: ~/.copilot/agents/
  • Repository: .github/agents/
  • Org/Enterprise: .github-private/agents/

3. MCP Servers

GitHub MCP server included by default. Add more:

/mcp add
# Fill details, Ctrl+S to save

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

4. Security Model

  • Trusted directories: Confirmed on first launch
  • Tool approval: Required for file modifications
  • Path permissions: Current directory + temp by default
  • URL permissions: All URLs require approval

Common Patterns

Include Files in Prompts

Explain @config/settings.yml
Fix the bug in @src/app.js

Delegate to GitHub Agent

/delegate complete the API tests and create a PR

Resume Previous Session

copilot --resume    # Cycle through sessions
copilot --continue  # Resume most recent

Allow Too

Полный SKILL.md на GitHub

Установить github-copilot-cli-expert в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

examples.mdreference.md

FAQ

Что делает скилл github-copilot-cli-expert?

Expert knowledge of GitHub Copilot CLI - installation, configuration, usage, custom agents, MCP servers, and version management. Use when asking about copilot cli, copilot commands, installing copilot, updating copilot, copilot features.

Как установить скилл github-copilot-cli-expert?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл github-copilot-cli-expert запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить github-copilot-cli-expert с