File Types and Locations
Awesome GitHub Copilot provides three main types of customizations, each with specific file naming conventions and locations:Agents
Files ending in
.agent.md that define specialized AI personasInstructions
Files ending in
.instructions.md that provide coding standardsSkills
Folders containing
SKILL.md with bundled resourcesInstalling Agents
Agents are specialized GitHub Copilot configurations that transform the assistant into domain-specific experts.Choose an agent
Browse the Agents Catalog or the GitHub repository to find an agent.
Copy the agent file
Download the Or manually copy the file from the repository.
.agent.md file and place it in the agents directory:Agent File Structure
Installing Instructions
Instructions provide coding standards and best practices that automatically apply to specific file patterns.Choose instructions
Browse the Instructions Catalog or the GitHub repository.
Instructions File Structure
Installing Skills
Skills are self-contained folders with instructions and bundled resources for specialized tasks.Choose a skill
Browse the Skills Catalog or the GitHub repository.
Copy the entire skill folder
Download the complete skill folder with all bundled assets:Or manually download the folder from the repository.
Skills File Structure
Skills may include bundled assets like scripts, templates, and reference files. Make sure to copy the entire skill folder to preserve these resources.
Naming Conventions
All files must follow these naming rules:| Type | Convention | Examples |
|---|---|---|
| Agents | lowercase-with-hyphens.agent.md | python-expert.agent.mdreact-specialist.agent.md |
| Instructions | lowercase-with-hyphens.instructions.md | typescript.instructions.mdpython-django.instructions.md |
| Skills | lowercase-with-hyphens/ folder | mintlify/web-design-reviewer/ |
Frontmatter Requirements
All customizations require YAML frontmatter at the top of the file:Using Installed Customizations
Activating Agents
Once installed, agents appear in the GitHub Copilot agent selector:- Open GitHub Copilot Chat
- Type
@to see available agents - Select your custom agent from the list
Using Instructions
Instructions automatically apply to files matching theapplyTo patterns. No manual activation needed.
Invoking Skills
Skills are loaded when referenced by name in conversations:Workspace vs Global Installation
Workspace Installation
Install in
.github/copilot/ within a project to share customizations with the team via version control.Best for: Team standards, project-specific agentsGlobal Installation
Install in your user configuration directory to use customizations across all projects.Best for: Personal preferences, cross-project tools
Global installation paths
Global installation paths
VS Code / VS Code Insiders:
- Windows:
%APPDATA%\Code\User\globalStorage\github.copilot\ - macOS:
~/Library/Application Support/Code/User/globalStorage/github.copilot/ - Linux:
~/.config/Code/User/globalStorage/github.copilot/
Updating Customizations
To update a customization:- Download the latest version from the repository
- Replace the existing file or folder
- Restart GitHub Copilot or reload your editor window
Customizations are loaded when GitHub Copilot starts. You may need to reload your editor window for changes to take effect.
Troubleshooting
Agent not appearing in selector
Agent not appearing in selector
Check:
- File has
.agent.mdextension - File is in
.github/copilot/agents/directory - Frontmatter includes
descriptionandnamefields - File name uses lowercase with hyphens
Instructions not applying
Instructions not applying
Check:
- File has
.instructions.mdextension - File is in
.github/copilot/instructions/directory - Frontmatter includes
descriptionandapplyTofields applyTopattern matches your file type
Skill not loading
Skill not loading
Check:
- Folder is in
.github/copilot/skills/directory - Folder contains a
SKILL.mdfile (notskill.md) - SKILL.md has frontmatter with
nameanddescription - The
namefield matches the folder name exactly - Folder name uses lowercase with hyphens
What’s Next?
Using Agents
Learn how to use custom agents in your workflow
Using Instructions
Understand how instructions customize Copilot behavior
Using Skills
Explore how to invoke and use skills
Browse Catalog
Discover available agents, instructions, and skills