Skip to content

GitHub Copilot

GitHub Copilot is GitHub’s AI coding assistant, available in VS Code, Visual Studio, JetBrains IDEs, Eclipse, Xcode, the Copilot CLI, the GitHub Copilot app, and the Copilot cloud agent on GitHub.com (formerly the coding agent). It provides native Agent Skills support and custom agents with sub-agent delegation.


Supports Agent Skills standard: ✅ Native — reads .agents/skills/, .github/skills/, and .claude/skills/

ScopePath
Project.github/skills/, .agents/skills/, .claude/skills/
Personal~/.copilot/skills/, ~/.agents/skills/

GitHub Copilot reads .github/skills/, .agents/skills/, and .claude/skills/ at the project level, which means no copy is needed for the canonical .agents/skills/ location. Copilot will find your skills automatically. Because Copilot also reads the .claude/skills/ mirror kept for Claude Code, keep that mirror exact so both copies match.

Agent Skills work across the Copilot cloud agent, Copilot code review, Copilot CLI, the Copilot app, and agent mode in VS Code, Visual Studio, and JetBrains IDEs. Skills are on by default in VS Code since version 1.109 (February 2026); no setting is required.

📖 GitHub Copilot Agent Skills Documentation

For more about how skills work in factory engineering, see Skills.


Folder location: .agents/skills/{command-name}/SKILL.md (canonical; read directly)

Invocation: Type / in VS Code chat or the Copilot CLI, then the skill name (e.g. /write-spec). Add the artifact with @ (e.g. /write-spec @docs/user-stories/submit-sales-order.md).

Author commands as skills with disable-model-invocation: true (see Commands). Support differs by Copilot product:

Product.agents/skills//skill-namedisable-model-invocation
VS Code chat✅✅✅
Copilot CLI✅✅✅ (also user-invocable)
Copilot cloud agent (GitHub.com)✅Not applicable (tasks are assigned, not typed)Not documented for skills

Copilot reads .agents/skills/ directly, so no sharing step is needed.

Do not author new prompt files. VS Code runs prompt files (.github/prompts/*.prompt.md) only in sessions that use the Local harness, selected in the chat view’s harness picker. The Local harness is deprecated and will be removed by February 2027. Since VS Code 1.143, new sessions default to the Copilot harness, which does not run prompt files. The Copilot CLI and the cloud agent do not support them either. Use VS Code’s Convert prompt files to skills action to migrate existing prompt files, then move the results into .agents/skills/.

📖 VS Code 1.143 release notes · Use prompt files in VS Code (Local harness) · Migrate customizations in VS Code · Use skills as slash commands

For more about how commands work in factory engineering, see Commands.


Supports true agents: ✅ Yes

Feature name: Custom agents + sub-agents

Storage location: Repository: .github/agents/{agent-name}.agent.md. Personal: ~/.copilot/agents/. Organization: /agents/ in the organization’s .github or .github-private repository. Enterprise: /agents/ in the designated .github-private repository. Copilot in VS Code and the Copilot CLI also read Claude Code agents from .claude/agents/.

Copilot Memory is available on all paid Copilot plans. It stores repository facts and user preferences, not per-agent memory, so use the markdown-instruction pattern below for factory engineering agents.

Custom agents are specialized versions of the Copilot coding agent that you tailor to your workflows, conventions, and use cases. You define them once with agent profiles: Markdown files with YAML frontmatter that specify name, description, prompt, and optionally tools or MCP servers. Custom agents are supported in VS Code, Visual Studio, the Copilot CLI, and the cloud agent on GitHub.com, and are in preview in JetBrains IDEs, Eclipse, and Xcode. Sub-agents are supported in VS Code and the Copilot CLI, and are in preview in JetBrains IDEs, Eclipse, and Xcode (per GitHub’s customization support matrix).

Sub-agents: Custom agents can spawn sub-agents to handle discrete subtasks within a session. A parent agent delegates work to a sub-agent, which runs in its own context with its own tool access, then returns results to the parent.

For factory-engineering-style persistent memory, include explicit instructions in the prompt to read from a markdown file at session start and append learnings at session end.

Defining an agent:

  1. Create an agent profile as a Markdown file with YAML frontmatter.
  2. Set name (unique identifier) and description (purpose and capabilities).
  3. In the body, write the prompt: custom instructions that define the agent’s behavior and expertise.
  4. Optionally specify tools the agent can use.
  5. For persistent memory, add instructions such as: “At the start of each session, read path/to/memory.md. At the end of each session, append your learnings to that file.”
  6. Save the file as .github/agents/{agent-name}.agent.md.

Invoking an agent: After you create agent profiles, they appear in the agent picker in VS Code and JetBrains IDEs, in the Copilot cloud agent on GitHub.com, and in the Copilot CLI (/agent).

📖 GitHub Copilot Custom Agents Documentation

For more about how agents work in factory engineering, see Agents.


Orchestration support: ✅ Yes

Invoke a workflow with slash-workflow at-artifact (e.g. /tdd-cycle @docs/specs/order-validation.md). The Copilot harness, the default in VS Code since 1.143 and the harness behind the Copilot CLI and app, can delegate to built-in and custom agents with its task tool. Delegation is model-selected: Copilot may choose the named subagent or do the step itself, so naming an agent makes delegation likely, not guaranteed. Write the workflow in plain, harness-neutral language that names each agent (“Delegate the failing test to the tdd-test-writer agent”), add an orchestration rule for steps that must be done by a separate agent, and check the session transcript to confirm the handoff happened. Do not rely on agents: or handoffs frontmatter; only the deprecated Local harness reads them.

/fleet: The Copilot CLI reached GA on February 25, 2026. Its /fleet slash command (also the --fleet flag) encourages Copilot to delegate parts of a task to parallel sub-agents within a single session. It is not deterministic orchestration: Copilot decides each time how to divide the work and which agents to use. It runs in the Copilot CLI and the Copilot app. Use it for parallel fan-out of one task; use a workflow skill when the steps follow a plan with conditions and loops, and a dynamic workflow when that plan must be enforced.

Dynamic workflows: A dynamic workflow is a program, defined in a Copilot extension, that sets the steps, conditions, and handoffs; agents handle the steps that need judgment. Runs can pause at a checkpoint for review and resume later, and you can limit concurrent agents, total agents, active running time, and AI credits.

  • Status: public preview.
  • Where: the Copilot CLI (including copilot workflow run {name} from the shell), the GitHub Copilot app, and the Copilot SDK. Not VS Code chat or the Copilot cloud agent.
  • Who: all Copilot plans except Pro and Pro+ subscribers on existing annual plans who remain on legacy premium-request billing.

These are script-driven, not document-driven (see Script-Driven Workflows).

Agent HQ and third-party agents: GitHub announced Agent HQ at Universe in October 2025. Since February 4, 2026, you can assign tasks on GitHub to third-party coding agents such as Claude and Codex (public preview) alongside Copilot and review their output in one place. This is cross-session task assignment, not orchestration within a session.

📖 Subagents in VS Code · Dynamic workflows · GitHub Copilot CLI Documentation · Third-party coding agents

For more about how workflows work in factory engineering, see Workflows.