/loginUse this the first time you open the interactive interface or after credentials are cleared.
Slash commands and keyboard shortcuts for managing sessions, reviewing changes, sharing output, and using advanced agent features in Copilot CLI.
Control session lifecycle, context size, and navigation.
/loginUse this the first time you open the interactive interface or after credentials are cleared.
/clearYou can also use `/new` for the same goal.
/compactHelpful in long sessions where the context window is getting crowded.
/contextUseful when you want to understand why older details may have been summarized away.
/cd ../other-projectUse `/cwd` to display the current directory, or `/cd PATH` to change it.
/exit`/quit` is also supported.
Inspect changes, session state, and shareable outputs.
/diffA good checkpoint after Copilot has made a round of changes.
/review Check for risky changes, missing tests, and security issues.Useful before merging or creating a pull request.
/session planGood for regaining orientation after a long autonomous task.
/session filesUseful when auditing what Copilot has considered or changed.
/share file ./copilot-session.mdHelpful for handoffs, audits, and async documentation.
/share gistConvenient for sending a private session summary to teammates.
Use agents, parallelism, themes, and terminal setup features.
/agentUseful when your repo or team provides task-specific agents.
/delegate Upgrade the CI workflow to use reusable actions.This is a powerful remote-workflow command for repository automation.
/fleet Analyze the test failures, lint errors, and dependency issues in parallel.Good for broad audits and large maintenance tasks.
/terminal-setupEspecially helpful if you write long multi-line prompts often.
/theme listThen use `/theme set THEME-ID` or `/theme show`.
/usageUseful for understanding how much work and context a session has consumed.