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 initExplanation
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.
Add an MCP server for one session from a file
Load additional MCP server config at runtime.