/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.
Start a fresh conversation in the current session.
/clearYou can also use `/new` for the same goal.
Summarize earlier context to reduce token usage.
/compactHelpful in long sessions where the context window is getting crowded.
Show context window usage and visualization.
/contextUseful when you want to understand why older details may have been summarized away.
Inspect or switch directories mid-session.
/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.
Show or review edits in the working directory.
/diffA good checkpoint after Copilot has made a round of changes.
Review code changes with an agent prompt.
/review Check for risky changes, missing tests, and security issues.Useful before merging or creating a pull request.
Show the session plan or workspace summary.
/session planGood for regaining orientation after a long autonomous task.
Inspect touched or relevant files.
/session filesUseful when auditing what Copilot has considered or changed.
/share file ./copilot-session.mdHelpful for handoffs, audits, and async documentation.
Create a gist from the session transcript.
/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.
Ask Copilot to prepare changes and a PR remotely.
/delegate Upgrade the CI workflow to use reusable actions.This is a powerful remote-workflow command for repository automation.
Split a problem across multiple agents.
/fleet Analyze the test failures, lint errors, and dependency issues in parallel.Good for broad audits and large maintenance tasks.
Configure the terminal for better prompt entry.
/terminal-setupEspecially helpful if you write long multi-line prompts often.
/theme listThen use `/theme set THEME-ID` or `/theme show`.
Inspect usage statistics for the current session.
/usageUseful for understanding how much work and context a session has consumed.