GitHub Copilot CLI
Use Copilot directly from your terminal to answer questions, write and debug code, and interact with GitHub.
Recommended
Articles
About agent skills
Skills allow Copilot to perform specialized tasks.
About custom agents
Custom agents enhance Copilot with assistance tailored to your needs.
About GitHub Copilot CLI
Find out about using Copilot from the command line.
About GitHub Copilot CLI session data
Copilot CLI records every session locally. You can resume previous sessions, ask Copilot questions about your interactions with the CLI, and use the /chronicle slash command for useful session-based insights.
About plugins for GitHub Copilot CLI
Plugins are installable packages that extend GitHub Copilot CLI with reusable agents, skills, hooks, and integrations.
About remote access to GitHub Copilot CLI sessions
Access a running Copilot CLI session from GitHub.com or GitHub Mobile to monitor and steer the session when you are away from the machine where the session is running.
About the rubber duck agent
The rubber duck agent is a built-in critic that gives Copilot a constructive second opinion on its own plans, code, and tests—using a different AI model from the one driving your session.
Adding agent skills for GitHub Copilot CLI
Modify Copilot's behavior and abilities when it works on particular tasks.
Adding custom instructions for GitHub Copilot CLI
Give Copilot additional context on how to understand your project and how to build, test and validate its changes.