Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/copilot-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ single-quoted.
- [ ] The `description` field is not empty.
- [ ] The file name is lower case, with words separated by hyphens.
- [ ] Encourage the use of `tools`, but it's not required.
- [ ] Strongly encourage the use of `model` to specify the model that the agent is optimised for.
- [ ] Omit `model` by default so the agent inherits the selected/default model. If a model-specific requirement exists, document it and the supported alternatives.
- [ ] Strongly encourage the use of `name` to set the name for the agent.

## Agent Skills guide
Expand Down
6 changes: 3 additions & 3 deletions .github/plugin/marketplace.json
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@
"name": "awesome-copilot",
"source": "plugins/awesome-copilot",
"description": "Meta prompts that help you discover and generate curated GitHub Copilot agents, instructions, prompts, and skills.",
"version": "1.1.0"
"version": "1.1.1"
},
{
"name": "aws-cloud-development",
Expand Down Expand Up @@ -907,7 +907,7 @@
"name": "context-engineering",
"source": "plugins/context-engineering",
"description": "Tools and techniques for maximizing GitHub Copilot effectiveness through better context management. Includes guidelines for structuring code, an agent for planning multi-file changes, and prompts for context-aware development.",
"version": "1.0.0"
"version": "1.0.1"
},
{
"name": "context-matic",
Expand Down Expand Up @@ -2668,7 +2668,7 @@
"name": "software-engineering-team",
"source": "plugins/software-engineering-team",
"description": "7 specialized agents covering the full software development lifecycle from UX design and architecture to security and DevOps.",
"version": "1.0.0"
"version": "1.0.1"
},
{
"name": "sonarqube",
Expand Down
4 changes: 2 additions & 2 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Frontmatter must be valid YAML and meet the metadata requirements below. Any val
- Must have `description` field
- File names should be lower case with words separated by hyphens
- Recommended to include `tools` field
- Strongly recommended to specify `model` field
- Omit `model` by default to inherit the user's selected/default model. Specify it only for a documented model-specific requirement, including supported alternatives.

#### Instruction Files (\*.instructions.md)

Expand Down Expand Up @@ -288,7 +288,7 @@ For agent files (\*.agent.md):
- [ ] Has non-empty `description` field
- [ ] Has `name` field with human-readable name (e.g., "Address Comments" not "address-comments")
- [ ] File name is lower case with hyphens
- [ ] Includes `model` field (strongly recommended)
- [ ] Omits `model` unless a model-specific requirement and supported alternatives are documented
- [ ] Considers using `tools` field

For skills (skills/\*/):
Expand Down
1 change: 0 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ Agents are specialized configurations that transform GitHub Copilot Chat into do
```markdown
---
description: "Brief description of the agent and its purpose"
model: "gpt-5"
tools: ["codebase", "terminalCommand"]
name: "My Agent Name"
---
Expand Down
1 change: 0 additions & 1 deletion agents/agent-governance-reviewer.agent.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
description: 'AI agent governance expert that reviews code for safety issues, missing governance controls, and helps implement policy enforcement, trust scoring, and audit trails in agent systems.'
model: 'gpt-4o'
tools: ['codebase', 'terminalCommand']
name: 'Agent Governance Reviewer'
---
Expand Down
1 change: 0 additions & 1 deletion agents/context-architect.agent.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
description: 'An agent that helps plan and execute multi-file changes by identifying relevant context and dependencies'
model: 'GPT-5'
tools: ['search/codebase', 'search/usages', 'read/problems', 'read/readFile', 'edit/editFiles', 'execute/runInTerminal', 'execute/getTerminalOutput', 'web/fetch']
Comment thread
findscripter marked this conversation as resolved.
Resolved
name: 'Context Architect'
---
Expand Down
1 change: 0 additions & 1 deletion agents/custom-agent-foundry.agent.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
description: 'Expert at designing and creating VS Code custom agents with optimal configurations'
name: Custom Agent Foundry
argument-hint: Describe the agent role, purpose, and required capabilities
model: Claude Sonnet 4.5
tools: ['vscode', 'execute', 'read', 'edit', 'search', 'web', 'agent', 'github/*', 'todo']
---

Expand Down
1 change: 0 additions & 1 deletion agents/meta-agentic-project-scaffold.agent.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
description: "Meta agentic project creation assistant to help users create and manage project workflows effectively."
name: "Meta Agentic Project Scaffold"
tools: ["changes", "codebase", "edit/editFiles", "extensions", "fetch", "findTestFiles", "githubRepo", "new", "openSimpleBrowser", "problems", "readCellOutput", "runCommands", "runNotebooks", "runTasks", "runTests", "search", "searchResults", "terminalLastCommand", "terminalSelection", "testFailure", "updateUserPreferences", "usages", "vscodeAPI", "activePullRequest", "copilotCodingAgent"]
model: "GPT-4.1"
---

Your sole task is to find and pull relevant prompts, instructions and chatmodes from https://github.com/github/awesome-copilot
Expand Down
1 change: 0 additions & 1 deletion agents/se-security-reviewer.agent.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
name: 'SE: Security'
description: 'Security-focused code review specialist with OWASP Top 10, Zero Trust, LLM security, and enterprise security standards'
model: GPT-5
tools: ['codebase', 'edit/editFiles', 'search', 'problems']
---

Expand Down
1 change: 0 additions & 1 deletion agents/se-technical-writer.agent.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
name: 'SE: Tech Writer'
description: 'Technical writing specialist for creating developer documentation, technical blogs, tutorials, and educational content'
model: GPT-5
tools: ['codebase', 'edit/editFiles', 'search', 'web/fetch']
---

Expand Down
2 changes: 1 addition & 1 deletion plugins/awesome-copilot/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
"name": "awesome-copilot",
"description": "Meta prompts that help you discover and generate curated GitHub Copilot agents, instructions, prompts, and skills.",
"version": "1.1.0",
"version": "1.1.1",
"author": {
"name": "Awesome Copilot Community"
},
Expand Down
2 changes: 1 addition & 1 deletion plugins/context-engineering/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
"name": "context-engineering",
"description": "Tools and techniques for maximizing GitHub Copilot effectiveness through better context management. Includes guidelines for structuring code, an agent for planning multi-file changes, and prompts for context-aware development.",
"version": "1.0.0",
"version": "1.0.1",
"author": {
"name": "Awesome Copilot Community"
},
Expand Down
2 changes: 1 addition & 1 deletion plugins/software-engineering-team/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
"name": "software-engineering-team",
"description": "7 specialized agents covering the full software development lifecycle from UX design and architecture to security and DevOps.",
"version": "1.0.0",
"version": "1.0.1",
"author": {
"name": "Awesome Copilot Community"
},
Expand Down
41 changes: 18 additions & 23 deletions website/src/content/docs/learning-hub/building-custom-agents.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Custom agents are Markdown files (`*.agent.md`) that configure GitHub Copilot wi
- **A persona**: The expertise, tone, and working style the agent adopts
- **Tool access**: Which built-in tools and MCP servers the agent can use
- **Guardrails**: Boundaries and conventions the agent follows
- **A model preference**: Which AI model powers the agent (optional but recommended)
- **A model override**: Optional; omit it to inherit the client's selected/default model

When a user selects a custom agent in VS Code or assigns it to an issue via the Copilot coding agent, the agent's configuration shapes the entire interaction.

Expand Down Expand Up @@ -62,7 +62,6 @@ Every agent file has two parts: YAML frontmatter and Markdown instructions.
---
name: 'Security Reviewer'
description: 'Expert security auditor that reviews code for OWASP vulnerabilities, authentication flaws, and supply chain risks'
model: Claude Sonnet 4
tools: ['codebase', 'terminal', 'github']
---
```
Expand All @@ -71,27 +70,28 @@ tools: ['codebase', 'terminal', 'github']

**description** (required): A clear summary of what the agent does. This is shown in the agent picker and helps users find the right agent.

**model** (recommended): The AI model that powers the agent. Choose based on the complexity of the task—use more capable models for nuanced reasoning.
**model** (optional): Omit it by default to inherit the client's selected/default model. Set an override only for a documented workflow requirement, using supported models available to the account and documenting alternatives. See the [custom agent configuration reference](https://docs.github.com/en/copilot/reference/custom-agents-configuration).

**Model fallback lists**: `model` can list several models, tried in order until one is available to you — useful if your preferred model is temporarily rate-limited or not enrolled for your account. Pair it with `model-policy: required` to keep the agent restricted to that list even if the user tries to switch models mid-session:
**Client-specific model preferences (opt-in)**: Where the client supports it, `model` can list several models, tried in order until one is available. Replace the placeholders below with IDs available in that client's model picker:
>
> ```yaml
> ---
> name: 'Security Reviewer'
> model: [Claude Sonnet 4.5, Claude Sonnet 4, GPT-5]
> model: ['<preferred model ID>', '<fallback model ID>']
> model-policy: required
> tools: ['codebase', 'terminal', 'github']
> ---
> ```

**reasoningEffort**: Override the reasoning effort level for this agent. Accepted values are `low`, `medium`, and `high`. This lets you pin specific agents to a cost/quality tradeoff regardless of the user's global setting — for example, a quick code-formatting agent can use `low` effort, while a security reviewer uses `high`:
VS Code enforces `model-policy` for the agent selected in chat. When converting agents to SDK configuration, including plugin-provided agents, it does not forward that field. This is not a runtime-wide restriction, so do not assume it constrains delegated agents. See the [custom agent file reference](https://code.visualstudio.com/docs/agents/reference/custom-agent-file-reference#copilot-specific-configuration).

**reasoning-effort** (opt-in): Where the client and selected model support it, request an effort level advertised for that model. For example, a model supporting high effort can use:

```yaml
---
name: 'Security Reviewer'
description: 'Thorough security audit for OWASP vulnerabilities'
model: Claude Sonnet 4
reasoningEffort: high
reasoning-effort: high
tools: ['codebase', 'terminal', 'github']
---
```
Expand All @@ -118,7 +118,6 @@ After the frontmatter, write Markdown instructions that define the agent's behav
---
name: 'API Design Reviewer'
description: 'Reviews API designs for consistency, RESTful patterns, and team conventions'
model: Claude Sonnet 4
tools: ['codebase', 'github']
---

Expand Down Expand Up @@ -163,7 +162,6 @@ Create agents with deep knowledge of a specific technology:
---
name: 'Terraform Expert'
description: 'Infrastructure-as-code specialist for Terraform on Azure with security-first defaults'
model: Claude Sonnet 4
tools: ['codebase', 'terminal']
---

Expand All @@ -186,7 +184,6 @@ Create agents that execute multi-step processes:
---
name: 'Release Manager'
description: 'Automates release preparation including changelog generation, version bumping, and tag creation'
model: Claude Sonnet 4
tools: ['codebase', 'terminal', 'github']
---

Expand Down Expand Up @@ -217,7 +214,6 @@ Create agents that enforce standards:
---
name: 'Accessibility Auditor'
description: 'Reviews UI components for WCAG 2.1 AA compliance and accessibility best practices'
model: Claude Sonnet 4
tools: ['codebase']
---

Expand Down Expand Up @@ -263,17 +259,16 @@ The agent can then query your database, analyze query plans, and suggest optimiz
- **Include guardrails**: What should the agent never do? ("Never modify production configuration files directly")
- **Provide examples**: Show the output format you expect (review comments, code patterns, etc.)

### Choosing the Right Model

| Scenario | Recommended Model |
|----------|-------------------|
| Most demanding reasoning, security review | Claude Sonnet 5 |
| Complex reasoning, analysis | Claude Sonnet 4 |
| Code generation, tool-driven agentic work | GPT-5.6 |
| Code generation, refactoring | GPT-4.1 |
| Code-specialized tasks, large context | kimi-k2.7-code, kimi-k3 |
| Quick analysis, simple tasks | Claude Haiku or GPT-4.1-mini |
| Large codebase understanding | Models with larger context windows |
### Choosing a Model Override

Start with the client's selected/default model. Add an explicit preference only when a workflow needs a particular capability or constraint, and verify it in the target client. Availability and model IDs can differ by account and client.

| Workflow requirement | Selection check |
|----------------------|-----------------|
| Complex reasoning or security review | Evaluate representative tasks and document the required capability |
| Tool-driven implementation | Confirm support for the tools and interaction mode used by the agent |
| Latency or cost constraint | Measure the workflow against its budget |
| Large codebase understanding | Confirm the context capacity required by the task |

### Organizing Agents in Your Repository

Expand Down
Loading