AI Briefing
KO

Guide to Slash Commands in the GitHub Copilot App

·2026.08.07 04:49

Key point

Slash commands in the GitHub Copilot app streamline session management and task planning.

Details

GitHub Copilot app slash commands allow you to quickly control session management, project navigation, and agent workflows by typing / in the chat input box. When you type /, an autocomplete menu displays the commands available in the current context.

While the Copilot CLI provides terminal-centric commands such as adding directories, setting the working directory, and accessing the terminal, the desktop app automatically manages project context. The app's slash commands focus on workflows that involve switching between multiple sessions and managing projects.

Some commands are common to both the CLI and the app.

  • /clear: Reset the conversation
  • /model: Select the model to use

Before writing code, use /plan to break down tasks into steps and identify the necessary files, components, and dependencies. This command switches the session to Plan mode, which can also be selected via the Mode menu in the chat input box. It is useful for developing new features, large-scale refactoring, and investigating bugs with unknown causes.

/spar is used to critically review ideas or implementation plans. It prompts Copilot to question assumptions and highlight potential risks and trade-offs, allowing you to validate your approach before deciding on architectural choices, implementation methods such as REST vs. GraphQL, or migration plans.

This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.

Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.