# GitHub Copilot CLI: Slash Commands Explained _GitHub Copilot CLI enhances developer control with new slash commands for managing AI sessions, models, and context directly from the terminal._ **Published:** 2026-06-15 **Source:** https://www.startuphub.ai/ai-news/technology/2026/github-copilot-cli-slash-commands-explained --- GitHub Copilot CLI is evolving beyond simple code suggestions. A recent update details the integration of slash commands, transforming the command line into a sophisticated control panel for your AI coding partner. This move offers developers more direct and efficient ways to manage their AI-assisted workflows directly within the terminal. Copilot CLI EnhancementsDriver new slash commands for terminal controlFrom the article 6 mentionsFurther enhancements to GitHub Copilot CLI and its integration with tools like language servers, as seen in the recent update on Copilot CLI Gains Smarts with LSP, continue to position it as a leading platform for developers seeking to leverage advanced AI capabilities.introducesSlash Commands InterfaceCoretyping '/' reveals scrollable command listFrom the article 3 mentionsThese commands are the primary interface for controlling the CLI’s operations.enablesCommand CenterContextterminal becomes control panel for AI assistantFrom the article 9 mentionsA recent update details the integration of slash commands, transforming the command line into a sophisticated control panel for your AI coding partner.includesOptimize Model SelectionEffectswitch AI models using /model commandManage ContextEffectcontrol AI's understanding of code sessionsFrom the article 5 mentionsAs outlined on the GitHub Blog, these commands act as built-in controls, allowing users to guide Copilot’s behavior, inspect changes, manage context, and navigate sessions seamlessly.Inspect CodeEffectnavigate and understand AI-generated changesFrom the article 3 mentionsGitHub Copilot CLI is evolving beyond simple code suggestions.Tool PermissionsEffectcontrol access to external toolsFrom the article 5 mentionsUsers can manage the permissions granted to Copilot CLI, such as file editing capabilities.leads toDeveloper ControlOutcomemore direct and efficient AI workflow managementFrom the article 7 mentionsThis evolution of GitHub Copilot CLI empowers developers with greater control and efficiency, making the AI coding assistant a more integrated and responsive tool in their daily workflow. As outlined on the [GitHub Blog](https://github.blog/ai-and-ml/github-copilot/github-copilot-cli-for-beginners-overview-of-common-slash-commands/), these commands act as built-in controls, allowing users to guide Copilot’s behavior, inspect changes, manage context, and navigate sessions seamlessly. Typing '/' in the CLI presents a scrollable list of all available commands. ## Command Center for Your AI Assistant The introduction of **GitHub Copilot CLI slash commands** signifies a significant step in making AI coding tools more interactive and manageable. These commands are the primary interface for controlling the CLI’s operations. ## Optimizing Model Selection Developers can now switch between different AI models using the `/model` command. This feature highlights key details for each model, including their capabilities, availability, and cost multipliers, enabling users to select the most suitable model for specific tasks like refactoring or complex planning. ## Context and Session Management Maintaining awareness of the AI’s working memory is crucial. The `/context` command displays current token usage, system usage, and available buffer. When space is limited, `/compact` summarizes the conversation to free up memory, allowing work to continue without starting a new session. For a complete reset, `/clear` purges the entire session. Resuming past work is simplified with `/resume`, which lists previous local and remote sessions, letting developers pick up where they left off. ## Inspecting and Navigating Code Understanding changes made by the AI is facilitated by the `/diff` command, which shows recent updates for validation. To work across different codebases or directories without exiting the CLI, `/cwd` allows users to change the current working directory, scoping Copilot’s actions effectively. ## Tool Permission Control Users can manage the permissions granted to Copilot CLI, such as file editing capabilities. Running `/reset-allowed-tools` resets these permissions, offering enhanced security when working in sensitive repositories. This evolution of [GitHub Copilot CLI](/ai-news/technology/2026/github-copilot-cli-gets-smarter-delegation) empowers developers with greater control and efficiency, making the AI coding assistant a more integrated and responsive tool in their daily workflow. The ability to manage models, context, and sessions directly from the command line streamlines complex tasks and enhances productivity. Further enhancements to [GitHub Copilot CLI](/ai-news/technology/2026/github-copilot-cli-agents-get-context) and its integration with tools like language servers, as seen in the recent update on [Copilot CLI Gains Smarts with LSP](/ai-news/technology/2026/copilot-cli-gains-smarts-with-lsp), continue to position it as a leading platform for developers seeking to leverage advanced AI capabilities. This makes it a key player among the [AI Code Assistants](/ai-news/insights/2026/best-ai-agent-platforms-2026). --- Original analysis from [startuphub.ai](https://www.startuphub.ai), the #1 AI startup directory.