From 8c20403b27c018db6608b717abb015b8982c0f66 Mon Sep 17 00:00:00 2001 From: Ashis Kumar Baral Date: Fri, 2 Oct 2026 09:30:45 +0530 Subject: [PATCH 1/3] Add configuration levels for custom agents --- .../reusables/copilot/copilot-cli/custom-agents-about-details.md | 1 + 1 file changed, 1 insertion(+) diff --git a/data/reusables/copilot/copilot-cli/custom-agents-about-details.md b/data/reusables/copilot/copilot-cli/custom-agents-about-details.md index 30c676629cf3..a5a3f4fdc773 100644 --- a/data/reusables/copilot/copilot-cli/custom-agents-about-details.md +++ b/data/reusables/copilot/copilot-cli/custom-agents-about-details.md @@ -34,6 +34,7 @@ Focus on the following instructions: You can define {% data variables.copilot.agent_profiles %} at different levels: +* **User level**: Create `.copilot/agents/CUSTOM-AGENT-NAME.md` for user-level instructions that apply across repositories. * **Repository level**: Create `.github/agents/CUSTOM-AGENT-NAME.md` in your repository for project-specific agents. * **Organization level**: Create `/agents/CUSTOM-AGENT-NAME.md` in the organization's `.github` or `.github-private` repository for broader availability within the organization. * **Enterprise level**: Create `/agents/CUSTOM-AGENT-NAME.md` in the `.github-private` repository of an organization that an enterprise owner has designated in enterprise settings for availability across all repositories in the enterprise. From d2717c592a077bb69533788bd986cd7b3a4c8fec Mon Sep 17 00:00:00 2001 From: Ashis Kumar Baral Date: Fri, 2 Oct 2026 10:16:38 +0530 Subject: [PATCH 2/3] Update path for user-level custom agent instructions --- .../copilot/copilot-cli/custom-agents-about-details.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/reusables/copilot/copilot-cli/custom-agents-about-details.md b/data/reusables/copilot/copilot-cli/custom-agents-about-details.md index a5a3f4fdc773..ebcd8371176d 100644 --- a/data/reusables/copilot/copilot-cli/custom-agents-about-details.md +++ b/data/reusables/copilot/copilot-cli/custom-agents-about-details.md @@ -34,7 +34,7 @@ Focus on the following instructions: You can define {% data variables.copilot.agent_profiles %} at different levels: -* **User level**: Create `.copilot/agents/CUSTOM-AGENT-NAME.md` for user-level instructions that apply across repositories. +* **User level**: Create `$HOME/.copilot/agents/CUSTOM-AGENT-NAME.md` for user-level instructions that apply across repositories. * **Repository level**: Create `.github/agents/CUSTOM-AGENT-NAME.md` in your repository for project-specific agents. * **Organization level**: Create `/agents/CUSTOM-AGENT-NAME.md` in the organization's `.github` or `.github-private` repository for broader availability within the organization. * **Enterprise level**: Create `/agents/CUSTOM-AGENT-NAME.md` in the `.github-private` repository of an organization that an enterprise owner has designated in enterprise settings for availability across all repositories in the enterprise. From 47cde86774e5fcf7b173b974a383a69780e6916f Mon Sep 17 00:00:00 2001 From: hubwriter Date: Fri, 16 Oct 2026 12:57:14 +0100 Subject: [PATCH 3/3] Clarify custom agent rather than instructions Updated instructions for defining custom agents at user and repository levels for clarity. --- .../copilot/copilot-cli/custom-agents-about-details.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/reusables/copilot/copilot-cli/custom-agents-about-details.md b/data/reusables/copilot/copilot-cli/custom-agents-about-details.md index ebcd8371176d..0a93386cc5ec 100644 --- a/data/reusables/copilot/copilot-cli/custom-agents-about-details.md +++ b/data/reusables/copilot/copilot-cli/custom-agents-about-details.md @@ -34,8 +34,8 @@ Focus on the following instructions: You can define {% data variables.copilot.agent_profiles %} at different levels: -* **User level**: Create `$HOME/.copilot/agents/CUSTOM-AGENT-NAME.md` for user-level instructions that apply across repositories. -* **Repository level**: Create `.github/agents/CUSTOM-AGENT-NAME.md` in your repository for project-specific agents. +* **User level**: Create `$HOME/.copilot/agents/CUSTOM-AGENT-NAME.md` to define a custom agent that is available to you across repositories. +* **Repository level**: Create `.github/agents/CUSTOM-AGENT-NAME.md` in your repository to define a project-specific agent. * **Organization level**: Create `/agents/CUSTOM-AGENT-NAME.md` in the organization's `.github` or `.github-private` repository for broader availability within the organization. * **Enterprise level**: Create `/agents/CUSTOM-AGENT-NAME.md` in the `.github-private` repository of an organization that an enterprise owner has designated in enterprise settings for availability across all repositories in the enterprise.