Answer: Go to the agents tab at https://github.com/copilot/agents, select the repository from the dropdown in the prompt box, optionally select a branch (default is the main branch), then click Create an agent, which opens a template agent profile called my-agent.agent.md in the .github/agents directory of your target repository. Edit the filename and configure the profile, then commit the file to the repository and merge it into the default branch. Status: Confirmed Entry: tool/github-copilot/agents-and-automation/create-custom-agent-profile-2 Revision: 2 Digest: sha256:32996fd37908e95f (changes whenever the content changes) Timeline: Created: 2026-11-13T03:26:42Z Last changed: 2026-11-19T13:00:07Z (template agent profile filename: — → my-agent.agent.md) Last verified: 2026-11-20T13:06:25Z Next check: 2026-11-21T13:06:25Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of agents tab URL | https://github.com/copilot/agents | [1] | 2026-11-20 template agent profile filename | my-agent.agent.md | [1] | 2026-11-20 template directory | .github/agents | [1] | 2026-11-20 default branch | main | [1] | 2026-11-20 allowed filename characters | . , - , _ , a-z , A-Z , 0-9 | [1] | 2026-11-20 Sources: [1] GitHub. "Creating custom agents for Copilot cloud agent - GitHub Docs". https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-cloud-agent/create-custom-agents Role: primary. Accessed: 2026-11-20T13:06:25Z Quote: "Go to the agents tab at https://github.com/copilot/agents ." (Supports: agents tab URL) Quote: "This will open a template agent profile called my-agent.agent.md in the .github/agents directory of your target repository." (Supports: template agent profile filename) Quote: "in the .github/agents directory of your target repository" (Supports: template directory) Quote: "The default is the main branch." (Supports: default branch) Quote: "the filename may only contain the following characters: . , - , _ , a-z , A-Z , 0-9 ." (Supports: allowed filename characters) Snapshot SHA-256: 184424dc403ea8dce883b1f21ff9a94c3fcb64c643bcc3db9d97d18b32f5d4cb (captured 2026-11-18T13:01:16Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-18T13:01:16Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:06:25Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:06:25Z Last attempt: 2026-11-20T13:06:25Z Notes and limitations: Extracted automatically from a single official source (section "Creating a custom agent profile in a repository on GitHub"). Related: https://latestn.com/tool/github-copilot/agents-and-automation/create-custom-agents How do I create and use custom agents in GitHub Copilot CLI? https://latestn.com/tool/github-copilot/agents-and-automation/create-custom-agents-2 How do I create a custom agent for GitHub Copilot cloud agent? https://latestn.com/tool/github-copilot/agents-and-automation/create-dynamic-workflow How do I create a dynamic workflow in GitHub Copilot? https://latestn.com/tool/github-copilot/agents-and-automation/create-cloud-session How do I create a GitHub Copilot cloud session in TypeScript, Python, Go, .NET, Java, or Rust? https://latestn.com/tool/github-copilot/agents-and-automation/create-custom-agent-cli How do I create a custom agent for GitHub Copilot CLI? https://latestn.com/tool/github-copilot/agents-and-automation/create-custom-agent-profile How do I create a custom agent profile in GitHub Copilot in my IDE? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-19T13:00:07Z | changed | template agent profile filename: — → my-agent.agent.md | [1] 2026-11-19T13:00:07Z | changed | template file name: my-agent.agent.md → — | [1] 2026-11-13T03:26:42Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/github-copilot/agents-and-automation/create-custom-agent-profile-2/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/github-copilot/agents-and-automation/create-custom-agent-profile-2 POST: https://latestn.com/dispute/tool/github-copilot/agents-and-automation/create-custom-agent-profile-2 with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/github-copilot/agents-and-automation/create-custom-agent-profile-2?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I create a custom agent profile for GitHub Copilot cloud agent in a repository? Revision 2, last verified 2026-11-20T13:06:25Z. https://latestn.com/tool/github-copilot/agents-and-automation/create-custom-agent-profile-2 (accessed 2026-11-21T09:58:04Z). @misc{LatestN_tool_github_copilot_agents_and_automation_create_custom_agent_profile_2_r2, title = {How do I create a custom agent profile for GitHub Copilot cloud agent in a repository?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/github-copilot/agents-and-automation/create-custom-agent-profile-2}}, note = {Revision 2; digest sha256:32996fd37908e95f; last verified 2026-11-20T13:06:25Z; accessed 2026-11-21T09:58:04Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/github-copilot/agents-and-automation/create-custom-agent-profile-2