Copilot CLI: Hooks, MCP Servers, Skills, and Customization/Initialize Copilot instructions from the command line

Run init without first entering a full session.

Section: Skills and custom agents

Initialize Copilot instructions from the command line

bash
bash
copilot init
Explanation

This initializes Copilot custom instructions for the repository.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Skills and custom agents
Initialize Copilot repo features
Set up custom instructions and agentic repo features.
OpenIn sheettextsame section
Project skill directory
Store project skills in the standard directory.
OpenIn sheettextsame section
Minimal skill frontmatter
Define a reusable skill.
OpenIn sheetmarkdownsame section
List installed skills
Inspect active skills from the session.
OpenIn sheettextsame section
Store hooks in the repository
Hooks are loaded from a repository folder.
OpenIn sheettext1 tag match
Add an MCP server for one session from a file
Load additional MCP server config at runtime.
OpenIn sheetbash1 tag match