Copilot

Guides to GitHub Copilot as a coding agent: agent mode in the editor, the Copilot CLI and the cloud agent that works from GitHub issues and pull requests. Every page is based on GitHub’s own documentation and plan pages, with the docs date it reflects.

A mint pair of brackets at the centre wired by grey lines to five small blocks, two on the left and three on the right, on a dark grid ground.
Copilot ·

GitHub Copilot MCP: where each surface reads its servers

Where Copilot CLI, the cloud agent, VS Code and other IDEs read MCP servers from, with formats, policies and fixes.

Four black chevrons pointing right, the last one mint, with a mint bar to the right on a light grid of small grey blades
GitHub Copilot ·

Copilot setup steps: prepare the agent environment

Configure copilot-setup-steps.yml to preinstall dependencies before a GitHub Actions agent session starts.

Five slanted bars between pale square brackets on a dark grid, one bar mint with a small mint chevron pointing at it.
Copilot ·

GitHub Copilot code review: request, customize and re-review

Request a Copilot review on GitHub or with gh, set automatic re-reviews, effort levels and review instructions.

A paper prompt file with a folded teal corner and four configuration bars sits between white square brackets on a dark technical grid, with a mint input node below.
GitHub Copilot ·

GitHub Copilot prompt files: .prompt.md setup and variables

Create reusable Copilot .prompt.md files, add inputs and context, and run them safely in VS Code.

An issue sheet points through a mint arrow to a pull request panel between black brackets on a pale technical grid.
GitHub Copilot ·

GitHub Copilot cloud agent: issues to pull requests

Assign an issue or prompt to Copilot, review its branch, and turn the session into a pull request.

A pale technical grid with black brackets framing a mint-accented custom agent profile card.
GitHub Copilot ·

GitHub Copilot custom agents: .agent.md files and tools

Set up GitHub Copilot custom agents with .agent.md files, scoped tools, precedence and CLI invocation.

Four angle chevrons pointing right on a dark grid, the last one mint, with a mint cursor bar beside them.
GitHub Copilot ·

GitHub Copilot CLI: install, sign in and tool approvals

GitHub Copilot CLI setup from GitHub's docs: install, sign in, plan mode, -p prompts and safe tool approvals.

Two dark curly braces on a pale grid around three slanted grey bars, the middle bar mint
GitHub Copilot ·

Copilot custom instructions: files, paths and AGENTS.md

How Copilot reads copilot-instructions.md, applyTo files and AGENTS.md, and which feature reads which. Checked Nov 29.

Two light curly braces on a dark grid around three slanted bars, the middle bar mint
GitHub Copilot ·

GitHub Copilot hooks: config files, events and examples

GitHub Copilot hooks run commands at agent events from .github/hooks/*.json in the CLI, cloud agent and VS Code.

Readers find setup steps, custom instruction files such as copilot-instructions.md and AGENTS.md, MCP configuration, hooks, code review and the command approval settings that control what the agent may run. Plan guides explain what Free, Pro, Pro+, Max, Business and Enterprise include and how AI credits are counted. Each plan has its own listing in the plans tracker, and servers Copilot can use are in the MCP directory.

Aftergradient

What are you looking for?

Search commands, errors, tools