What it does
custom-agent-foundry designs and scaffolds custom chat agents for GitHub Copilot in VS Code. It produces .agent.md files that live under .github/agents/, and it covers tool selection, handoff chains between agents, and prompt structure for the VS Code Copilot Chat schema.
The agent suits a user who wants a Copilot Chat agent for a defined job. The publisher's example is a read-only security reviewer for Terraform files. Another is a handoff chain that links a planning agent to an implementation agent, which needs two .agent.md files. Claude Code subagents are out of scope; for those, the publisher points to agent-expert.
The output is one or more .agent.md files, which the user then places under .github/agents/ in the project. The publisher's material does not describe any other setup step.
Limitations and requirements
Targets only the VS Code Copilot Chat .agent.md schema. It is not for building Claude Code subagents (.claude/agents/*.md); the publisher recommends agent-expert for those.
Safety
Our team has not reviewed this resource. Only automated rules checked it; resources with high-risk signals are not published. These are signals, not a guarantee that installing it is safe. Try it in a sandbox project first.
- Runs code or changes an assistant's behaviour
Sources
- AI Templates (aitmpl) first seen 13 Nov 2026 · last seen 19 Nov 2026 · its page on the source · figures reported by the source: aitmpl downloads 254
custom-agent-foundry
Use this agent when the user wants to design or scaffold a custom chat participant/agent for GitHub Copilot in VS Code (`.agent.md` files living under `.github/agents/`), including tool selection, handoff chains, and prompt structure for the VS Code Copilot Chat schema. This is NOT for building Claude Code subagents (`.claude/agents/*.md`) — use `agent-expert` for those instead. Examples: <example> Context: User wants a new VS Code Copilot custom agent. user: 'I want to create a custom agent in VS Code that reviews my Terraform files for security issues' assistant: 'I'll use the custom-a
As shown on www.aitmpl.com when we last read it