AIToday
Large Language ModelsAI Coding AssistantsGitHub Blog (AI)Published: Jun 16, 2026, 06:01 JST

GitHub Copilot CLI now offers slash commands that let you control AI model selection, manage token usage, resume past work sessions, and inspect code changes—all from the terminal.

GitHub Copilot CLI now offers slash commands that let you control AI model selection, manage token usage, resume past work sessions, and inspect code changes—all from the terminal.

3 Key Points

  1. What happened

    GitHub Copilot CLI includes built-in slash commands accessible from the command line that let you guide Copilot's behavior, inspect changes, manage context, move across sessions and projects, and keep permissions tidy. Key commands include /model to switch between models, /context to check token usage, /compact to summarize conversations and free space, /resume to pick up previous sessions, /diff to view recent code modifications, /cwd to change working directories across repositories, and /reset-allowed-tools to reset permissions.

  2. Why it matters

    Slash commands give you control over which AI model you use based on your task—some models handle quick refactoring while others manage deeper reasoning—and let you manage how much information Copilot remembers during a session. This means you can stay efficient in your terminal without switching tools or losing track of your work across multiple projects.

  3. What to watch

    You can explore all available slash commands by typing / in the command line for a scrollable list. The /model command shows key details like capabilities, availability depending on your plan or organization's settings, and cost multipliers to help you balance performance and usage.

Not sure about something? Ask the AI

Questions and answers are published on this page.

Summaries like this, in your inbox every morning.

GitHub Blog (AI)Read Original Article

AI news that matters for your work, delivered every morning.

Pick your industry and the AI tools you use, and get news related to your work every day.

Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →

Ask AI

Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.

Questions and answers are published on this page.

Related Articles

Next articleFox to acquire Roku for $22 billion(約3.5兆円), combining broadcast channels and streaming platforms to compete in the crowded TV and advertising market.