Skip to content

Migrate Copilot chatmodes to custom agents - #27

Merged
loiane merged 1 commit into
mainfrom
loiane/copilot-chatmodes-to-agents
Nov 5, 2026
Merged

loiane merged 1 commit into
mainfrom
loiane/copilot-chatmodes-to-agents

Conversation

@loiane

@loiane loiane commented Nov 5, 2026

Copy link
Copy Markdown
Owner

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.md files, rename them to .agent.md and place them in a supported custom agent location." .github/agents/ is also where the GitHub Copilot CLI and the Copilot app look; neither reads chatmodes/.

Changes

  • Agents: the 12 files moved from .github/chatmodes/X.chatmode.md to .github/agents/X.agent.md (via git mv, so history is kept).
    • Added name: X, so the dropdown shows the same role names as the Claude agents and Windsurf workflows.
    • tools now uses the current aliases ['read', 'edit', 'search', 'execute', 'web', 'todo'], which cover the same capabilities as the old codebase, editFiles, search, runCommands, runTasks, problems, changes, githubRepo and fetch.
  • Prompts (14 files):
    • mode: agent (deprecated) → agent: agent.
    • tools uses the same aliases.
    • "Owning agent" links point to .github/agents/.
    • Removed stray blank lines from the /help and /status frontmatter.
  • Model pin: removed model: GPT-5 from every agent and prompt. It is not a valid model ID, so agents and prompts now use the model selected in chat.
  • Docs: README, CONTRIBUTING, .github/ABOUT.md, .claude/README.md, docs/platform-mapping.md, docs/methodology.md and the always-on instructions are updated. CHANGELOG is updated.
  • Parity: tools/check-parity.sh now compares .claude/agents with .github/agents.

Testing

  • Parity OK, markdownlint 0 issues, lychee 0 errors, tests/run.sh 91 passing.
  • There is no automated check for whether VS Code loads these files. After merging, open Copilot Chat and confirm the 12 roles appear in the agent dropdown and that /spec still runs.

- .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
@loiane
loiane merged commit 24c0b56 into main Nov 5, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant