ghc-custom-agents

Guides learners through building and testing a custom GitHub Copilot agent file.

2|Updated Jun 1, 2026
One-click install
npx skills add https://github.com/jay-steenbergen/MSSAMentorAgent --skill ghc-custom-agents-jay-steenbergen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ghc-custom-agents
Source: https://github.com/jay-steenbergen/MSSAMentorAgent/tree/main/.github/skills/tracks/github-copilot/ghc-custom-agents
Command: npx skills add https://github.com/jay-steenbergen/MSSAMentorAgent --skill ghc-custom-agents-jay-steenbergen

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Building a custom GitHub Copilot agent is easy to get wrong: vague descriptions make agents invisible in the picker, and the tools: field silently restricts capabilities when engineers think it declares them. This Skill walks a learner through creating, testing, and iterating a focused .agent.md file so the agent is discoverable, correctly scoped, and behaves as intended. ## Core Features & Use Cases - Agent authoring workflow: Step-by-step phases for writing .github/agents/<name>.agent.md with valid YAML frontmatter, a behavioral persona, explicit scope guardrails, and anti-patterns. - The tools: field trap: Teaches that tools: is restrictive, not declarative, and that omitting it inherits the full default Copilot toolset unless a security or scope reason exists. - Fresh-session testing: Verifies the agent appears in the picker, follows its persona on test prompts, and has the tools it needs, with results captured in a test log. - Use Case: A learner builds an api-design-reviewer agent that critiques REST endpoints against RFC 7231 and REST conventions, tests it in a new chat, then refines the persona based on real output. ## Quick Start Ask the Mentor to start the ghc-custom-agents project and build an api-design-reviewer custom agent in a fresh Copilot chat session.

Frequently Asked Questions about ghc-custom-agents

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

FAQPage Schema
How do I create a custom GitHub Copilot agent?

Create a file at .github/agents/<name>.agent.md with YAML frontmatter containing name and description, plus a behavioral persona in the body. Open a fresh VS Code chat session and confirm the agent appears in the agent picker.

Should I add a tools field to my custom Copilot agent?

No by default. The tools field is restrictive, not declarative: listing tools limits the agent to only those, while omitting it inherits the full default Copilot toolset. Only restrict tools for read-only audit, planning-only, or destructive-only agents.

Why doesn't my custom agent appear in the Copilot agent picker?

Check that the file is in .github/agents/, the frontmatter is valid YAML with a name field, and restart VS Code. A vague description also hurts discoverability since Copilot matches agents to tasks using the description text.

When should I use a custom agent versus a prompt file?

Use an agent when you need a persistent persona across many turns, such as an API design reviewer for a whole conversation. Use a prompt file when you want one specific transformation applied on demand.

How do I test a custom Copilot agent?

Open a fresh chat session, select the agent from the picker, and run prompts that verify behavior, scope guardrails, and tool access. Record results in a test log and iterate the persona based on failures.