Skip to main content

GitHub Copilot CLI

Use Copilot directly from your terminal to answer questions, write and debug code, and interact with GitHub.

Articles

Learn about Copilot CLI

About agent skills

Skills allow Copilot to perform specialized tasks.

About custom agents

Custom agents enhance Copilot with assistance tailored to your needs.
Learn about Copilot CLI

About GitHub Copilot CLI

Find out about using Copilot from the command line.
Learn about Copilot CLI

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.
Learn about Copilot CLI

About plugins for GitHub Copilot CLI

Plugins are installable packages that extend GitHub Copilot CLI with reusable agents, skills, hooks, and integrations.
Learn about Copilot CLI

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.
Learn about Copilot CLI

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.
Configure Copilot CLI

Adding agent skills for GitHub Copilot CLI

Modify Copilot's behavior and abilities when it works on particular tasks.
Configure Copilot CLI

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.
Showing 1-9 of 54