Create Custom Agent
Scaffolds VS Code .agent.md custom agent files with correct frontmatter, tools, and handoffs.
Test report
- Verdict
- Tested · Works
- Score
- Tested
- Jul 10, 2026
- Environment
- Claude Code 2.x (agent harness)
- Upstream re-checked
- Jul 18, 2026 · 9c63423
An unguided agent file was missing the required description field; following the skill's steps produced a spec-compliant file matching the real editor's actual file structure.
Scored on four weighted criteria — install, triggering, output vs. baseline, docs. How scoring works
- Installs cleanly 5/5
- Triggers reliably 5/5
- Output vs. baseline 8/10
- Docs & honesty 5/5
What Create Custom Agent does
Generates VS Code custom agent files (.agent.md) with valid frontmatter (tools, handoffs, model, description) and a structured persona body, following VS Code's actual custom-agent file conventions. Triggers when the user wants to scaffold a new custom agent, configure agent-to-agent handoffs, or set up a tool-restricted role like planner or reviewer for VS Code Copilot Chat.
How to install Create Custom Agent
git clone https://github.com/dotnet/skills
cd skills
mkdir -p ~/.claude/skills
cp -r .agents/skills/create-custom-agent ~/.claude/skills/create-custom-agent
Skills live in ~/.claude/skills/ (global) or .claude/skills/
(per-project). Restart Claude Code after installing.
Commands — how to trigger Create Custom Agent
-
/create-custom-agentScaffolds VS Code .agent.md custom agent files with correct frontmatter, tools, and handoffs.
It also activates on plain-language prompts like these:
-
Scaffold a VS Code .agent.md file for a planner role -
Set up agent-to-agent handoffs between my reviewer and coder agents -
Create a tool-restricted custom agent for Copilot Chat
Frequently asked questions
- Is the Create Custom Agent skill free?
- Yes. The skill itself is free from dotnet/skills. SkillProof publishes the install command and an independent test verdict at no cost.
- Does Create Custom Agent work with Claude Code?
- We tested it with Claude Code 2.x (agent harness) on Jul 10, 2026. Verdict: Tested · Works. An unguided agent file was missing the required description field; following the skill's steps produced a spec-compliant file matching the real editor's actual file structure.
- What is the Create Custom Agent SkillProof Score?
- 9.2/10 — installs cleanly 5/5, triggers reliably 5/5, output vs. baseline 8/10, docs & honesty 5/5.
- How do I install Create Custom Agent?
- Copy the install command from this page, run it in your terminal, and restart Claude Code. Skills live in ~/.claude/skills/ (global) or .claude/skills/ inside a project.
- Can I use Create Custom Agent with Cursor, Copilot, Gemini CLI, Codex or other AI tools?
- The SKILL.md format is native to Claude (Claude Code, Desktop, claude.ai). The instructions inside adapt to other assistants: Cursor rules, GitHub Copilot instructions, Windsurf rules, Custom GPTs, AGENTS.md for OpenAI Codex, and GEMINI.md for Google Gemini CLI — our conversion guides cover each, and the free converter on the tools page does the wrapping for you.