Useful Commands — Quick Reference
Session Commands
| Command |
What It Does |
/resume |
Go back to a previous session |
/new |
Start a fresh conversation |
/clear |
Abandon session and start fresh |
/compact |
Summarise conversation to save memory |
/usage |
Check how many premium requests you've used |
/context |
See how much memory the session is using |
/copy |
Copy the last response to clipboard |
/diff |
Review file changes made in this session |
/rewind |
Undo the last thing Copilot did |
Configuration Commands
| Command |
What It Does |
/model |
Change which AI model you're using |
/skills |
View and manage skills |
/mcp |
View and configure MCP servers |
/plugin |
Browse and install plugins |
/instructions |
View custom instruction files |
/lsp |
Manage language server configuration |
Shortcuts (Keyboard)
| Shortcut |
What It Does |
Shift+Tab |
Cycle between interactive and plan modes |
Ctrl+S |
Run command while keeping your input |
Ctrl+C |
Cancel current operation / clear input |
Ctrl+C × 2 |
Exit the CLI completely |
Ctrl+L |
Clear the screen |
↑ ↓ |
Navigate command history |
@ |
Mention files to include in context |
Getting Help
| Command |
What It Does |
/help |
Show all available commands |
/version |
Show version and check for updates |
/update |
Update to the latest version |
/feedback |
Submit feedback to the Copilot team |
/changelog |
View what's new in recent versions |
The ! prefix
Type ! followed by any command to run it directly in your shell, bypassing Copilot. For example: !dir runs the dir command directly.