
Description
Create Custom Agent is an agent skill from the dotnet/skills repository that writes VS Code custom agent files with the .agent.md extension. A custom agent defines a specialized AI persona for a development task: which tools it may use, what instructions it follows, and which other agents it can hand off to. The skill covers creating an agent from scratch, scaffolding the file with correct frontmatter, setting up agent-to-agent handoffs for multi-step workflows, restricting tools for roles like planner or reviewer, and choosing between workspace-shared and user-profile agents. It is not meant for instruction files, which use .instructions.md, for reusable prompts, which use .prompt.md, or for editing existing agents, which should be changed directly.…
Highlights
- Scaffolds .agent.md files with frontmatter
- Sets tool restrictions per role
- Configures handoffs between agents
- Workspace-shared or user-profile agents
Ratings & Reviews
No ratings yet
Be the first to rate create-custom-agent.
People also visit

create-agentsmd
Generates standardized AGENTS.md files to help AI coding agents understand

typespec-create-agent
Generate a complete TypeSpec declarative agent for Microsoft 365 Copilot

role-creator
Create and update Codex custom agents using standalone custom-agent TOML files

agents-get-started
A developer wants to create a new agent project or get started with AgentCore

suggest-awesome-github-copilot-agents
Suggest relevant GitHub Copilot Custom Agents files
create-custom-agent FAQ
What is a VS Code custom agent?
A file (.agent.md) that defines a specialized AI persona with its own available tools, instructions and optional handoffs to other agents.
What can the skill set up?
New agents with proper frontmatter, tool restrictions for roles like planner or reviewer, multi-step handoffs, and workspace or user-profile placement.
What is it not for?
Instruction files (.instructions.md), reusable prompts (.prompt.md), and modifying agents that already exist.
What is the install command?
Install it with `npx skills add https://github.com/dotnet/skills --skill create-custom-agent`, which copies the skill from the dotnet/skills GitHub repository into your agent setup.
What do the listed security audits show?
skills.sh shows Gen Agent Trust Hub: Pass, Socket: Pass, Snyk: Pass.
What are the best create-custom-agent alternatives?
Popular alternatives to create-custom-agent include create-agentsmd, typespec-create-agent and agent-ready. See all create-custom-agent alternatives













