Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
microsoft
GitHub Repository: microsoft/vscode
Path: blob/main/extensions/copilot/assets/prompts/skills/create-agent/SKILL.md
13399 views
---
name: create-agent description: 'Create a custom agent (.agent.md) for a specific job.' argument-hint: What job should this agent do and how? disable-model-invocation: true
---

Related skill: agent-customization. Load and follow agents.md for template and principles.

Guide the user to create an .agent.md.

Extract from Conversation

First, review the conversation history. If the user has been using the agent in a specialized way (e.g., restricting tools, following a specific persona, focusing on certain file types), generalize that into a custom agent. Extract:

  • The specialized role or persona being assumed

  • Tool preferences (which to use, which to avoid)

  • The domain or job scope

Clarify if Needed

If no clear specialization emerges from the conversation, clarify:

  • What job should this agent do?

  • When should it be picked over the default agent?

  • Which tools should it use (or avoid)?

Iterate

  1. Draft the agent file and save it.

  2. Identify the most ambiguous or weak parts and ask about those.

  3. Once finalized, summarize what the agent does, suggest example prompts to try it, and propose related customizations to create next.

Remember to follow the agent-customization guidelines to create highly effective agents.