AGENT ✦ CAPABILITIES
Feed GitHub
03/23Agent
GitHub / Microsoft

GitHub Copilot

Home ~/.copilot/ · ~/.github/

6 features · 33 models · 11 sources · verified 2026-11-26

Instructions

★Spec / stableInstructions
Project (repo)
.github/copilot-instructions.md — repository-wide. Also reads AGENTS.md (treated as primary instructions; CLI + VS Code via chat.useAgentsMdFile, on by default; nested: chat.useNestedAgentsMdFiles, experimental/off by default), CLAUDE.md (and .claude/CLAUDE.md, read by the CLI too) via chat.useClaudeMdFile, GEMINI.md at root. VS Code additionally reads CLAUDE.local.md (workspace) and ~/.claude/CLAUDE.md (user home), and a project-level .claude/rules/ folder (uses a paths key instead of applyTo). Org-wide instructions from GitHub organization settings load via github.copilot.chat.organizationInstructions.enabled. These settings and discovery rules apply to VS Code's Local harness; other harnesses (Claude, Codex, Agent Host) use their own rules
Global (user)
$HOME/.copilot/copilot-instructions.md, ~/.copilot/instructions/**/*.instructions.md (CLI and VS Code); $COPILOT_HOME replaces ~/.copilot for both. VS Code additionally: ~/.claude/rules. The chat.instructionsFilesLocations setting (Local harness only, not deprecated but not recommended since the CLI and GitHub Copilot app don't inherit editor settings) adds extra search directories. $COPILOT_CUSTOM_INSTRUCTIONS_DIRS adds extra directories for AGENTS.md and *.instructions.md (CLI)

Path-specific

★Spec / stableInstructions
Project (repo)
.github/instructions/*.instructions.md — YAML frontmatter applyTo: glob; optional excludeAgent: key to exclude from code-review or cloud-agent; searched recursively
Global (user)
—

Prompt files

◆Documented currentCommands
Project (repo)
.github/prompts/*.prompt.md — invoke via #prompt: or /; public preview, subject to change; VS Code, Visual Studio, and JetBrains IDEs only — not yet supported in Copilot CLI
Global (user)
—

Custom agents

◆Documented currentSubagents
Project (repo)
.github/agents/*.agent.md — YAML: name, description, tools, model, mcp-servers, target (vscode|github-copilot), disable-model-invocation, user-invocable, metadata. (handoffs, agents, and argument-hint are VS Code Local-harness-only fields, not supported for cloud agents on GitHub.com. hooks is a VS Code preview field requiring the chat.useHooks setting and a trusted workspace; it applies to the Local harness only, not the Copilot harness or cloud agents.) model: can list multiple models, tried in order until one is available (CLI). .claude/agents/ — VS Code workspace agents (Claude format). Org: .github or .github-private repo agents/ dir; Enterprise-wide: .github-private repo of a designated org
Global (user)
~/.copilot/agents/ — user-level agents (CLI/VS Code); ~/.github/agents/ — user-level agents (VS 2026)

Skills

★Spec / stableSkills
Project (repo)
.github/skills/*/SKILL.md, .claude/skills/*/SKILL.md, .agents/skills/*/SKILL.md — all three discovered ¹; gh skill CLI (GitHub CLI ≥ 2.90.0, public preview)
Global (user)
~/.copilot/skills/*/SKILL.md, ~/.agents/skills/*/SKILL.md (CLI); also ~/.claude/skills/*/SKILL.md (VS Code only) ¹

MCP

◆Documented currentMCP
Project (repo)
.vscode/mcp.json — VS Code project-level MCP, servers key (not read by Copilot CLI). Copilot CLI: .mcp.json (project root/cwd) and .github/mcp.json, mcpServers key or a bare top-level-keys format (no wrapper) — the CLI walks cwd → git root loading every match found, closest wins; when both files exist in the same directory, .mcp.json takes precedence; project files load only after folder trust, or in copilot -p prompt mode only when GITHUB_COPILOT_PROMPT_MODE_WORKSPACE_MCP=true. Cloud agent's repo-level MCP config is entered as JSON in the repo's Settings → Copilot → MCP servers page on GitHub.com — not a committed file
Global (user)
~/.copilot/mcp-config.json — CLI, mcpServers key (wrapper required). VS Code: user-profile mcp.json via "MCP: Open User Configuration" command, servers key
  1. ¹
    VS 2026 and VS Code discover .github/skills/, .claude/skills/, and .agents/skills/ at project scope; Copilot CLI discovers the same three project paths. User-scope: VS Code and VS 2026 discover ~/.copilot/skills/, ~/.claude/skills/, and ~/.agents/skills/; Copilot CLI discovers only ~/.copilot/skills/ and ~/.agents/skills/ (not ~/.claude/skills/). See VS 2026 April update.
MODModels

Picking a model

Default
claude-sonnet-5.5 in Copilot CLI; auto picks a model automatically (GPT-5.3-Codex is the fallback when nothing else is available)
Select
--model <id>, COPILOT_MODEL, /model, model in ~/.copilot/settings.json, model: in .agent.md frontmatter, the model picker in IDEs and on GitHub.com; effort via --effort / --reasoning-effort or effortLevel
Providers
GitHub-hosted models from OpenAI, Anthropic, Google, Microsoft, Moonshot AI and xAI; BYOK providers via COPILOT_PROVIDERS_CONFIG (~/.copilot/providers.json). GPT-5.4 nano is only in the Codex extension for VS Code on Copilot Pro+, not in Copilot Chat; Claude Opus 4.8 is selectable only by individual subscribers on annual plans; Kimi K3 and other open-weight models are disabled by default regardless of org policy, and the Claude Fable models need an admin to enable them even after plan approval
ID format
lowercase ID with dotted versions (claude-opus-5.5); IDE pickers show the display name. Run /model in the CLI for the full list of IDs
ModelIDAliases
GPT-6.2 Astra◆Documented current GPT-6.2 Astra —
GPT-6.2 Sol◆Documented current GPT-6.2 Sol —
GPT-6 Astra◆Documented current gpt-6-astra —
GPT-6.1 Sol◆Documented current gpt-6.1-sol —
GPT-6 Sol◆Documented current GPT-6 Sol —
GPT-6.1 Terra◆Documented current gpt-6.1-terra —
GPT-6 Luna◆Documented current gpt-6-luna —
GPT-5.6 Sol◆Documented current GPT-5.6 Sol —
GPT-5.6 Luna◆Documented current gpt-5.6-luna —
GPT-5.4 nano◆Documented current GPT-5.4 nano —
GPT-5.3-Codex◆Documented current gpt-5.3-codex —
Claude Fable 5.2◆Documented current Claude Fable 5.2 —
Claude Fable 5.1◆Documented current Claude Fable 5.1 —
Claude Fable 5◆Documented current Claude Fable 5 —
Claude Opus 5.5◆Documented current claude-opus-5.5 —
Claude Opus 4.8◆Documented current Claude Opus 4.8 Claude Opus 4.8 (fast mode) (preview)
Claude Sonnet 5.5◆Documented current claude-sonnet-5.5 —
Claude Sonnet 5◆Documented current Claude Sonnet 5 —
Claude Sonnet 4.6◆Documented current claude-sonnet-4.6 —
Claude Haiku 5.5◆Documented current claude-haiku-5.5 —
Claude Haiku 4.5◆Documented current claude-haiku-4.5 —
Gemini 4 Neon◆Documented current Gemini 4 Neon —
Gemini 4 Hydrogen◆Documented current Gemini 4 Hydrogen —
Gemini 4 Carbon◆Documented current Gemini 4 Carbon —
Gemini 4 Argon◆Documented current Gemini 4 Argon —
Gemini 3.8 Flash◆Documented current gemini-3.8-flash —
MAI Code 2◆Documented current MAI Code 2 —
MAI Code 2 Flash◆Documented current MAI Code 2 Flash —
MAI-Code-1.1-Flash◆Documented current MAI-Code-1.1-Flash —
Kimi K3◆Documented current Kimi K3 —
Grok 4.7◆Documented current Grok 4.7 —
Grok 4.6◆Documented current Grok 4.6 —
Grok 4.5◆Documented current Grok 4.5 —