How-to · 5 things · · GitHub Copilot CLI
Copilot CLI slash commands: 5 worth knowing
Want more out of a Copilot CLI session?
Try these five slash commands next time you open one.
You need: Any Copilot plan, including the no‑cost tier (every plan includes Copilot CLI), and Copilot CLI installed. Plan source: GitHub Docs: plans for GitHub Copilot
5 things
/context: shows how full your context window is. /context docs/: a security review of your active local changes, with prioritized findings and suggested fixes. Not a full repo audit. /security-review docssecurity-review /(orkeep-alive 2h /): keeps your machine awake for two hours. It may not work on WSL, containers or headless machines (changelog). /keep-alive docscaffeinate 2h /share html: exports the session as an HTML file. /share docs/vim: Vim-style editing in the prompt box. Run it again to turn it off. /vim docs
Source: GitHub Docs: Copilot CLI command reference · GitHub Docs: managing context for Copilot · Copilot CLI changelog · GitHub Docs: plans for GitHub Copilot