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.
Best use case
github-copilot-cli-expert is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
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.
Teams using github-copilot-cli-expert 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/github-copilot-cli-expert/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How github-copilot-cli-expert Compares
| Feature / Agent | github-copilot-cli-expert | 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?
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.
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
# 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) ```bash # 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 ```bash # 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](https://github.com/features/copilot/plans)) - Node.js 22+ (if installing via npm) - PowerShell v6+ (Windows users) **Authentication**: ```bash # 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: ```python 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): ```bash copilot # Then type prompts naturally ``` **Programmatic** (scripting): ```bash 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: ```bash /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 ```bash /delegate complete the API tests and create a PR ``` ### Resume Previous Session ```bash copilot --resume # Cycle through sessions copilot --continue # Resume most recent ``` ### Allow Tools Without Prompts ```bash copilot --allow-all-tools copilot --allow-tool 'shell(git)' copilot --deny-tool 'shell(rm)' ``` ## Version Information **Current Version**: Check with `copilot --version` **Prerelease Channels**: ```bash brew install copilot-cli@prerelease npm install -g @github/copilot@prerelease winget install GitHub.Copilot.Prerelease ``` **Releases**: https://github.com/github/copilot-cli/releases/ ## Troubleshooting ### Authentication Issues ```bash /login # In interactive mode # Or use PAT with GH_TOKEN/GITHUB_TOKEN env var ``` ### Context Window Full ```bash /compact # Summarize conversation /context # View token usage ``` ### MCP Server Not Loading ```bash /mcp show # List configured servers /mcp edit [name] # Edit configuration ``` ### Tool Permission Denied - Check trusted directories: `~/.copilot/config.json` → `trusted_folders` - Use `--allow-all-paths` or `--allow-all-urls` flags - Approve tools individually when prompted ### First-Time Setup Issues **"Copilot not found" after install**: - Restart terminal after installation - Check PATH includes install location - Run `which copilot` (Unix) or `where copilot` (Windows) **"No subscription" error**: - Verify at https://github.com/settings/copilot - Ensure plan includes CLI access - Try `/logout` then `/login` ## Related Skills - **mcp-manager**: Advanced MCP server configuration - **agent-sdk**: Building custom agents - **documentation-writing**: Clear documentation practices ## Official Resources - **Docs**: https://docs.github.com/copilot/concepts/agents/about-copilot-cli - **Usage Guide**: https://docs.github.com/copilot/how-tos/use-copilot-agents/use-copilot-cli - **Installation**: https://docs.github.com/copilot/how-tos/set-up/install-copilot-cli - **Releases**: https://github.com/github/copilot-cli/releases/ - **Feedback**: Use `/feedback` command in CLI
Related Skills
dara-dataset-expert
Warehouse-Prozess-Analyse mit 207 Labels, 47 Prozessen, 8 Szenarien, 13 Triggern. Vollständige Expertise für DaRa Datensatz + REFA-Methodik + Validierungslogik + Szenarioerkennung + Lagerlayout + 74 Artikel-Stammdaten + BPMN-Validierung & IST/SOLL-Vergleich. 100% faktenbasiert ohne Halluzinationen. v5.0 mit Ground Truth Central v3.0 + Multi-Order (S7/S8) + Frame-Level Validation Rules.
create-expert-skill
Create production-ready skills from expert knowledge. Extracts domain expertise and system ontologies, uses scripts for deterministic work, loads knowledge progressively. Use when building skills that must work reliably in production.
copilot-sdk
Build agentic applications with GitHub Copilot SDK. Use when embedding AI agents in apps, creating custom tools, implementing streaming responses, managing sessions, connecting to MCP servers, or creating custom agents. Triggers on Copilot SDK, GitHub SDK, agentic app, embed Copilot, programmable agent, MCP server, custom agent. **PROACTIVE ACTIVATION**: Auto-invoke when building agentic applications or integrating Copilot SDK. **DETECTION**: Check for @github/copilot-sdk imports, copilot dependencies in package.json/pyproject.toml/go.mod. **USE CASES**: Embedding agents in apps, creating custom tools, implementing streaming, managing sessions, connecting to MCP servers.
computer-vision-expert
SOTA Computer Vision Expert (2026). Specialized in YOLO26, Segment Anything 3 (SAM 3), Vision Language Models, and real-time spatial analysis.
awesome-copilot-root-typespec-create-agent
Generate a complete TypeSpec declarative agent with instructions, capabilities, and conversation starters for Microsoft 365 Copilot Use when: the task directly matches typespec create agent responsibilities within plugin awesome-copilot-root. Do not use when: a more specific framework or task-focused skill is clearly a better match.
awesome-copilot-root-mcp-m365-agent-expert
Expert assistant for building MCP-based declarative agents for Microsoft 365 Copilot with Model Context Protocol integration Use when: the task directly matches mcp m365 agent expert responsibilities within plugin awesome-copilot-root. Do not use when: a more specific framework or task-focused skill is clearly a better match.
awesome-copilot-root-mcp-create-declarative-agent
Skill converted from mcp-create-declarative-agent.prompt.md Use when: the task directly matches mcp create declarative agent responsibilities within plugin awesome-copilot-root. Do not use when: a more specific framework or task-focused skill is clearly a better match.
awesome-copilot-root-agent-governance
Use when: the task directly matches agent governance responsibilities within plugin awesome-copilot-root. Do not use when: a more specific framework or task-focused skill is clearly a better match.
airflow-expert
Expert-level Apache Airflow orchestration, DAGs, operators, sensors, XComs, task dependencies, and scheduling
ai-ml-expert
AI and ML expert including PyTorch, LangChain, LLM integration, and scientific computing
aerospace-expert
Expert-level aerospace systems, flight management, maintenance tracking, aviation safety, and aerospace software
33GOD System Expert
Deep knowledge expert for the 33GOD agentic pipeline system, understands component relationships and suggests feature implementations based on actual codebase state