In short.
Using GitHub Copilot CLI is a practical GitHub guide for developers who want an AI assistant in their terminal, but using it requires decisions about access to files and command execution. It covers interactive startup, planning before edits, file attachments, resumable sessions, scheduled prompts and customization. Its most useful technical distinctions concern tool approvals, model-assisted permission decisions, and local versus cloud sandboxing. GitHub states that CLI access is available with all Copilot plans, subject to an organization setting for organization-provided access. Exact costs, operating-system requirements and model availability are unknown from this page. The documented behavior has not been tested or run.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage is the complete selected documentation page at the exact source address, including its availability statement, directory-trust and tool-permission cautions, attachment conditions, customization guidance and sandbox distinctions. Linked pages, repositories, pricing tables, license texts and privacy terms are excluded. Navigation labels do not establish the contents of those resources. No installation, CLI session, command, integration, sandbox or example was executed; actual behavior, performance and enforcement remain untested.
The overview
Identity
The resource is GitHub's documentation article Using GitHub Copilot CLI at [https://docs.github.com/en/copilot/how-tos/copilot-cli/use-copilot-cli/overview]. It teaches use of the assistant rather than supplying an executable tool, skill or agent profile.
The article introduces Copilot's terminal interface and then explains startup, permissions, everyday commands and extensions. The Copilot CLI product is the subject of the guide; its implementation and linked reference material are outside this article.
Assessment
The guide is useful for understanding how terminal-based AI assistance moves from answering questions to taking actions on a project. It provides concrete commands and explains choices a user encounters during a session.
Its strongest practical contribution is explaining the consequences of permission choices. It is less complete as an installation or purchasing guide: installation is delegated to another article, and no prices or usage allowances are stated. Task accuracy, productivity gains and reliability are not assessed.
Users
Developers who already work in a terminal can use the guide to ask about code, request bug fixes or features, and understand how Copilot performs tasks. Beginners get an ordered startup walkthrough, but the article assumes they can navigate project folders and make decisions about proposed commands.
Experienced developers receive entry points for repository instructions, specialized agents, hooks, MCP servers and context management. Teams using organization-provided Copilot also need the organization's CLI policy enabled.
Capabilities
The article documents conversational code assistance, requests to modify applications, and plan mode for discussing implementation before code is written. An @ followed by a file path includes that file as context. Image and PDF attachments require a model supporting image input; supported formats include JPEG, PNG, GIF, WEBP, PDF, HEIC and HEIF.
Session features include resuming saved conversations, continuing the most recent local session, changing working directories and scheduling repeated or delayed prompts with /every and /after. Input prefixed with ! runs a shell command directly without calling the model.
Customization includes repository instructions, custom agents, skills and hooks that run shell commands at session events. A GitHub MCP server is already configured for GitHub interactions, including merging pull requests, and additional MCP servers can be added. These are documented capabilities, without execution results establishing their effectiveness.
Using it
Requirements
Copilot CLI must be installed. The guide directs users to authenticate with GitHub through /login if they are not already signed in. It states that the CLI is available with all Copilot plans; organization-provided access additionally requires the Copilot CLI policy to be enabled.
Users must decide whether to trust the working folder and review tool permission requests according to the active permission mode. The page does not establish supported operating systems, hardware requirements, required runtimes, network endpoints or a list of available models.
Mechanism
Prompts supply the task, while referenced files and repository instruction files provide project context. Supported instruction locations include .github/copilot-instructions.md, path-specific instruction files under .github/instructions, and AGENTS.md. The model can handle work directly or delegate to a specialized subagent.
Built-in agents cover exploration, command execution, general tasks, code review, research and constructive criticism. Some, including the rubber duck agent, are consulted automatically and are not separate choices in /agent. Custom agent profiles specify expertise, tools and response instructions.
The context window is the amount of text the model can consider at once. /context displays token use, and /compact compresses conversation history. GitHub documents automatic background compression near 80% usage, delayed toward 90% when static context occupies roughly 75% or more; around 95%, the CLI waits if compression is unfinished. The page does not specify an absolute context size.
Setup
The documented sequence is to install the CLI, navigate to a project folder, enter copilot, choose whether to trust that folder, authenticate through /login when prompted, and enter a task. Folder trust can apply to the current session or be remembered for future sessions; declining ends the session.
Shift+Tab cycles into and out of plan mode. /settings opens the settings editor, /settings KEY VALUE changes a setting directly, and /settings show KEY displays its value. Installation commands are not included in this article.
Additional MCP connections can be configured with copilot mcp add --transport http SERVER-NAME URL or interactively through /mcp add. Their configuration defaults to ~/.copilot/mcp-config.json, with the base directory adjustable through COPILOT_HOME. Server authentication requirements are not established here.
Example
A documented starting prompt is Explain @config/ci/ci-required-checks.yml. The @ reference adds the named file's contents to the prompt, giving Copilot context for an explanation. The path must correspond to a file in the user's project.
For an intended code change, the guide gives Fix the bug in @src/app.js. Users can discuss an implementation plan first and review any subsequent permission requests. No generated explanation, patch or execution result is supplied for these examples, so their correctness is unknown.
Assessment & evidence
Limitations
Copilot may read, modify and execute files in the trusted folder and its subfolders. Approving a tool for the rest of a session permits any options for that tool and automatically approves pending parallel requests of the same type. The article illustrates the consequence with rm: choosing the session-wide approval option once for rm would allow Copilot to delete any file in the current directory or its subdirectories without asking again.
Assisted permissions uses a language model to approve eligible requests it judges safe, while existing permissions and enterprise rules remain applicable. Broad permission modes omit that model safety review and can permit destructive commands without individual approval. GitHub advises using those modes only in an isolated environment.
Local sandboxing restricts commands and tools launched by Copilot, rather than sandboxing the CLI itself. A cloud sandbox runs the whole session. The page does not establish sandbox effectiveness, permission-review accuracy, data retention or generated-code quality; none of these behaviors was tested.
Reasoning
The documented combination of explicit file references, planning before edits and reviewable tool requests suggests a useful progression from understanding a project to changing it. That is a practical inference from the features, not evidence of improved development speed or correctness.
The distinction between folder trust, tool approval, assisted permissions and sandboxing matters because each controls a different aspect of execution. Understanding one does not establish how all the others behave. The guide provides enough detail to identify these choices, while deeper enforcement details remain unknown.
Alternatives
Within the documented interface, users can choose ordinary conversation, planning before implementation, specialized agents or more autonomous task execution. For isolation, the article distinguishes restricting locally launched tools from running an entire session in a cloud sandbox.
The article does not compare competing coding assistants or provide comparative prices, benchmarks or usability results. Their relative suitability is not assessed. Linked guides offer more detail on individual Copilot features, but their contents are outside this resource.
Evidence
The evidence is the complete captured GitHub Docs page at [https://docs.github.com/en/copilot/how-tos/copilot-cli/use-copilot-cli/overview]. It includes the article, plan-availability statement, permission cautions, examples and supporting page metadata.
The source snapshot is identified by SHA-256 c7ec2794a027f5a156397d54978d5ea47400531fa9901dfe669ca6e349f30779. It provides first-party documentation of intended behavior, without independent benchmarks, generated outputs or execution logs establishing actual performance.
Access & freshness
Costs
GitHub states that Copilot CLI is available with all Copilot plans. This statement does not establish a price, unlimited usage or identical allowances across plans. Exact subscription charges, included credits, overage rates and cloud sandbox charges are unknown from this article.
The /usage command displays session GitHub AI Credits consumed, duration, edited lines and token usage by model. It helps expose consumption, but the page supplies no figures for estimating the cost of a task.
Rights
The footer describes GitHub Docs as open source and links to the article's repository file. However, the supplied page contains no explicit documentation license or redistribution terms, so the precise permissions and conditions for republishing it remain unknown.
The page also does not establish the CLI software license, rights associated with generated code, or terms governing submitted code and attachments. Links to terms and privacy pages do not supply those pages' contents.
Freshness
The page was captured on November 13, 2026, at 00:45:26.303 UTC. The supplied article establishes no publication date, last-updated date or Copilot CLI release number.
The documentation's latest label and 2026 copyright footer do not identify a specific CLI build. Whether every documented command and feature is available in a particular installed version is unknown.
Actions
Use the linked installation article for installation instructions at [https://docs.github.com/en/copilot/how-tos/copilot-cli/set-up-copilot-cli/install-copilot-cli]. Confirm account access and, where applicable, the organization's CLI setting. Establish current pricing and allowances before relying on recurring or autonomous tasks.
For an initial session, choose a trusted project folder and a specific file-explanation task. Use plan mode before requesting edits, review tool approvals, and inspect proposed changes and test results before accepting the work. The guide documents /sandbox enable for local tool restrictions and copilot --cloud for a cloud session.
Consult copilot help and copilot help permissions for the commands and permission options available in the installed CLI. Use /usage to inspect consumption, /resume to select a saved session, and copilot --continue to reopen the most recent local session.
