The post GitHub Copilot CLI Slash Commands Get Full Reference Guide appeared on BitcoinEthereumNews.com. Jessie A Ellis Jan 21, 2026 17:36 GitHub releases comprehensiveThe post GitHub Copilot CLI Slash Commands Get Full Reference Guide appeared on BitcoinEthereumNews.com. Jessie A Ellis Jan 21, 2026 17:36 GitHub releases comprehensive

GitHub Copilot CLI Slash Commands Get Full Reference Guide



Jessie A Ellis
Jan 21, 2026 17:36

GitHub releases comprehensive cheat sheet for Copilot CLI slash commands, covering session management, directory access, model selection, and MCP configuration.

GitHub published a detailed reference guide for slash commands in Copilot CLI on January 21, giving developers a complete rundown of the terminal-based AI assistant’s command structure for the first time.

The guide arrives one week after GitHub made OpenCode official and expanded Copilot’s model garden access for terminal-native developers. For the growing number of coders who prefer working in the command line over IDEs, this documentation fills a gap that’s existed since Copilot CLI entered public preview last September.

What Slash Commands Actually Do

Unlike natural language prompts that can produce variable results, slash commands trigger predictable, repeatable actions. Type /clear and you wipe your session context—every time, same result. That consistency matters when you’re debugging at 2 AM and need Copilot to stop referencing code from three tasks ago.

The command set breaks into four categories:

Session management handles the basics: /clear resets context, /session and /usage show metrics like total duration and code changes, and /exit ends your session cleanly.

Directory and file access controls what Copilot can see. /add-dir grants access to specific directories while /list-dirs shows current permissions—useful for teams with compliance requirements who need auditable trails of file access.

Configuration commands let you swap AI models on the fly with /model, which presents options including Claude Sonnet 4.5, GPT-5.1, and Gemini 3 Pro. /theme adjusts terminal display, and /terminal-setup enables multiline inputs for complex prompts.

External services is where things get interesting. /delegate creates AI-generated pull requests without leaving your terminal. /mcp manages Model Context Protocol server configurations for CI/CD integration. /share exports entire sessions as markdown files or GitHub Gists for async handoffs.

The Three Commands Worth Memorizing

GitHub’s own advice: start with /clear, /cwd, and /model. The first prevents context bleed between projects. The second confirms or changes your working directory—critical when navigating large codebases. The third lets you experiment with different AI models when responses aren’t hitting the mark.

The /user command addresses a real pain point for developers juggling personal and enterprise accounts. /user switch rotates between GitHub accounts without the usual dance of logging out and back in.

Who This Matters For

Copilot CLI requires an active paid subscription, so this isn’t a free tier feature. But for subscribers who’ve been piecing together workflows from scattered documentation, having a single reference changes the calculus on terminal-based AI coding.

The timing aligns with GitHub’s January 14 announcement of enhanced agents and improved context management for Copilot CLI—suggesting the company sees terminal-native development as a serious growth vector rather than a niche use case.

Full documentation is available on GitHub’s blog, with the complete command reference table covering 17 slash commands and their use cases.

Image source: Shutterstock

Source: https://blockchain.news/news/github-copilot-cli-slash-commands-cheat-sheet

Market Opportunity
Everclear Logo
Everclear Price(CLEAR)
$0.00464
$0.00464$0.00464
+19.58%
USD
Everclear (CLEAR) Live Price Chart
Disclaimer: The articles reposted on this site are sourced from public platforms and are provided for informational purposes only. They do not necessarily reflect the views of MEXC. All rights remain with the original authors. If you believe any content infringes on third-party rights, please contact service@support.mexc.com for removal. MEXC makes no guarantees regarding the accuracy, completeness, or timeliness of the content and is not responsible for any actions taken based on the information provided. The content does not constitute financial, legal, or other professional advice, nor should it be considered a recommendation or endorsement by MEXC.

You May Also Like

Polymarket signals 98% chance Fed will keep rates steady in January meeting

Polymarket signals 98% chance Fed will keep rates steady in January meeting

The post Polymarket signals 98% chance Fed will keep rates steady in January meeting appeared on BitcoinEthereumNews.com. The US Federal Reserve is set to hold
Share
BitcoinEthereumNews2026/01/22 13:26
BlackRock boosts AI and US equity exposure in $185 billion models

BlackRock boosts AI and US equity exposure in $185 billion models

The post BlackRock boosts AI and US equity exposure in $185 billion models appeared on BitcoinEthereumNews.com. BlackRock is steering $185 billion worth of model portfolios deeper into US stocks and artificial intelligence. The decision came this week as the asset manager adjusted its entire model suite, increasing its equity allocation and dumping exposure to international developed markets. The firm now sits 2% overweight on stocks, after money moved between several of its biggest exchange-traded funds. This wasn’t a slow shuffle. Billions flowed across multiple ETFs on Tuesday as BlackRock executed the realignment. The iShares S&P 100 ETF (OEF) alone brought in $3.4 billion, the largest single-day haul in its history. The iShares Core S&P 500 ETF (IVV) collected $2.3 billion, while the iShares US Equity Factor Rotation Active ETF (DYNF) added nearly $2 billion. The rebalancing triggered swift inflows and outflows that realigned investor exposure on the back of performance data and macroeconomic outlooks. BlackRock raises equities on strong US earnings The model updates come as BlackRock backs the rally in American stocks, fueled by strong earnings and optimism around rate cuts. In an investment letter obtained by Bloomberg, the firm said US companies have delivered 11% earnings growth since the third quarter of 2024. Meanwhile, earnings across other developed markets barely touched 2%. That gap helped push the decision to drop international holdings in favor of American ones. Michael Gates, lead portfolio manager for BlackRock’s Target Allocation ETF model portfolio suite, said the US market is the only one showing consistency in sales growth, profit delivery, and revisions in analyst forecasts. “The US equity market continues to stand alone in terms of earnings delivery, sales growth and sustainable trends in analyst estimates and revisions,” Michael wrote. He added that non-US developed markets lagged far behind, especially when it came to sales. This week’s changes reflect that position. The move was made ahead of the Federal…
Share
BitcoinEthereumNews2025/09/18 01:44
IOTA Enhances Interoperability With Native BTC Bridge

IOTA Enhances Interoperability With Native BTC Bridge

The integration enables users to mint iBTC via the IOTA Vault, consolidating native BTC, liquid staking tokens, and wrapped BTC. Partnerships with IOTA’s stablecoin protocol Virtue and other ecosystem players will allow iBTC holders to mint $VUSD and access lending, staking, and other DeFi opportunities. Echo Protocol, the Bitcoin liquidity and aggregation infrastructure platform, now [...]]]>
Share
Crypto News Flash2025/09/18 22:05