
Image: METAL
Summary
- Slash commands like /plan and /spar have been added to the GitHub Copilot app
- Unlike the CLI, the app automatically manages project context, so file-access commands like /add-dir are unnecessary
- Some commands, such as /clear and /model, are shared between the CLI and the app
GitHub has published a guide to the slash commands available in the Copilot app. Typing / in the chat input field brings up an autocomplete list of commands relevant to the current context.
How it differs from the CLI
Copilot CLI's slash commands are built around a terminal-centric workflow, so they include file-access commands such as adding directories or setting the working directory. The Copilot app, by contrast, is a visual interface that automatically manages project context, making commands like /add-dir or /cwd unnecessary. Instead, the app's dedicated commands are geared toward multi-session workflows — moving between sessions, managing projects, and controlling agent behavior. Some commands, such as /clear and /model, are shared between the CLI and the app.
Key command features
The /plan command helps break down tasks before writing code. It can be used for planning new features, preparing for large-scale refactors, or identifying the root cause of a bug, and running it switches the session into Plan mode. The /spar command is designed to challenge a proposed approach from an opposing viewpoint, surfacing potential problems in advance.





Comments