Copilot CLI: Prompting, Interactive Use, and Core Workflows
Commands and prompt patterns for interactive use, one-shot prompts, file-aware context, and common terminal Copilot workflows.
Export
Copy the compact sheet, download it, or print it.
Download
`D` dense toggle · `C` copy all
## Interactive and one-shot prompts
## Context-rich prompting inside a session
## High-value workflows
More in Copilot CLI
Copilot CLI Troubleshooting: Authentication, Access, Policies, and Recovery
Commands for diagnosing Copilot CLI authentication failures, token issues, wrapper install problems, and access-policy errors.
Copilot CLI: Hooks, MCP Servers, Skills, and Customization
JSON snippets and commands for extending GitHub Copilot CLI with hooks, MCP servers, skills, and repository initialization.
Copilot CLI: Automation, Programmatic Mode, Scripts, and GitHub Actions
Programmatic Copilot CLI usage patterns for scripts, CI jobs, GitHub Actions, and reusable automation flows.
Copilot CLI: Permissions, Config, Trusted Folders, and Environment Variables
Commands and JSON snippets for Copilot CLI permissions, tool access, trusted directories, environment variables, and persistent configuration.
Copilot CLI: Slash Commands, Shortcuts, Review, and Session Control
Slash commands and keyboard shortcuts for managing sessions, reviewing changes, sharing output, and using advanced agent features in Copilot CLI.
Copilot CLI: Install, Update, Authenticate, and Launch
Commands for installing GitHub Copilot CLI, authenticating, updating, and starting interactive or wrapped sessions.