custom-agent-creator

Create and validate GitHub Copilot custom agent files from YAML frontmatter and prompt bodies.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/pascalvanderheiden/my-agent-skills --skill custom-agent-creator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: custom-agent-creator
Source: https://github.com/pascalvanderheiden/my-agent-skills/tree/main/skills/custom-agent-creator
Command: npx skills add https://github.com/pascalvanderheiden/my-agent-skills --skill custom-agent-creator

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a reliable blueprint for creating GitHub Copilot custom agents, ensuring YAML frontmatter and prompt structures are consistent, discoverable, and easy to reuse across repositories and organizations.

Core Features & Use Cases

  • Generates valid frontmatter (name, description, tools, and optional mcp-servers) and a structured prompt body.
  • Provides templates and examples for common agent profiles and prompts.
  • Validates agent files for basic syntax and organizational placement, enabling quick onboarding and standardization.

Quick Start

Create a new file named custom-agent-creator.agent.md in the appropriate agents directory and populate it with a YAML frontmatter block containing name and description, followed by the agent's prompt instructions.

Frequently Asked Questions about custom-agent-creator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create GitHub Copilot custom agents with valid YAML frontmatter?

To create GitHub Copilot custom agents, define a YAML frontmatter block containing the agent's name and description, followed by the prompt instructions, ensuring valid tool lists and basic YAML structure for reliable discovery.

What is the best way to standardize Copilot agent definitions across an organization?

Standardizing Copilot agent definitions involves applying templates for name, description, tools, and mcp-servers across repository and organization scopes to enforce consistent syntax and placement.

Does custom-agent-creator validate prompt length limits and required fields for agent files?

Yes, custom-agent-creator validates agent files by enforcing a required description, checking valid tool lists, verifying prompt length limits, and checking basic YAML structure to ensure reliable behavior.

Can I use templates for common GitHub Copilot agent profiles and prompts?

Yes, you can use provided templates and examples for common agent profiles and prompts to generate valid frontmatter and a structured prompt body for your GitHub Copilot agents.

Why does my Copilot custom agent fail discovery due to YAML syntax issues?

Copilot custom agent discovery can fail if the file lacks a required description, contains invalid tool lists, exceeds prompt length limits, or has improper YAML frontmatter syntax.

Do I need to specify mcp-servers when generating Copilot custom agent files?

Specifying mcp-servers is optional when generating Copilot custom agent files; the required elements are the agent name and description, followed by the structured prompt body instructions.