Repository navigation
Migrate Copilot chatmodes to custom agents - #27
Merged
Merged
Conversation
- .github/chatmodes/*.chatmode.md -> .github/agents/*.agent.md with a name field and current tool aliases - prompt files: agent: agent instead of deprecated mode: agent; tool aliases - drop invalid model: GPT-5 pins - docs, parity check and changelog updated
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Step 5c, part 1: move Copilot from the legacy chat-mode format to custom agents.
VS Code renamed custom chat modes to custom agents. Its docs say: "If you have
.chatmode.mdfiles, rename them to.agent.mdand place them in a supported custom agent location.".github/agents/is also where the GitHub Copilot CLI and the Copilot app look; neither readschatmodes/.Changes
.github/chatmodes/X.chatmode.mdto.github/agents/X.agent.md(viagit mv, so history is kept).name: X, so the dropdown shows the same role names as the Claude agents and Windsurf workflows.toolsnow uses the current aliases['read', 'edit', 'search', 'execute', 'web', 'todo'], which cover the same capabilities as the oldcodebase,editFiles,search,runCommands,runTasks,problems,changes,githubRepoandfetch.mode: agent(deprecated) →agent: agent.toolsuses the same aliases..github/agents/./helpand/statusfrontmatter.model: GPT-5from every agent and prompt. It is not a valid model ID, so agents and prompts now use the model selected in chat..github/ABOUT.md,.claude/README.md,docs/platform-mapping.md,docs/methodology.mdand the always-on instructions are updated. CHANGELOG is updated.tools/check-parity.shnow compares.claude/agentswith.github/agents.Testing
tests/run.sh91 passing./specstill runs.