Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 13 additions & 3 deletions docs/src/content/docs/reference/engines.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,18 @@ engine:

Configuration options: `model` (gpt-5 or claude-sonnet-4), `version` (CLI version), `args` (command-line arguments). Alternatively set model via `COPILOT_MODEL` environment variable.

### Running Copilot CLI Locally

To run the GitHub Copilot CLI on your local machine, use the `gh copilot` command:

```bash wrap
gh copilot
```

The `gh copilot` command is built into the GitHub CLI and automatically downloads and manages the Copilot CLI installation. No additional installation required - just install the [GitHub CLI](https://cli.github.com/)!

Comment on lines +34 to +43
Copy link

Copilot AI Feb 3, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The "Running Copilot CLI Locally" section is misleading in this context. The engines.md documentation is about configuring AI engines for GitHub Agentic Workflows (GitHub Actions), not about running the Copilot CLI locally on a developer's machine.

The gh copilot command is an interactive CLI tool for developers to get AI assistance in their terminal, which is different from the @github/copilot npm package used by the workflow engine to execute agentic workflows.

This section should either be removed entirely (since it's not relevant to the workflow engine configuration) or clarified to explain that gh copilot is a separate tool for interactive use, distinct from the workflow engine's automated usage of the Copilot CLI.

This issue also appears in the following locations of the same file:

  • line 44
  • line 63
  • line 38
  • line 42
  • line 34
Suggested change
### Running Copilot CLI Locally
To run the GitHub Copilot CLI on your local machine, use the `gh copilot` command:
```bash wrap
gh copilot
```
The `gh copilot` command is built into the GitHub CLI and automatically downloads and manages the Copilot CLI installation. No additional installation required - just install the [GitHub CLI](https://cli.github.com/)!
### Relationship to GitHub Copilot CLI
When you configure `engine: copilot` for GitHub Agentic Workflows, the workflow engine uses the `@github/copilot` npm package under the hood while running in GitHub Actions.
This is distinct from the interactive `gh copilot` command provided by the GitHub CLI, which is intended for developers to use manually in their local terminal. Using `gh copilot` is optional and not required to configure or run the Copilot engine for workflows.

Copilot uses AI. Check for mistakes.
### Required Secrets

Create a fine-grained PAT at <https://github.com/settings/personal-access-tokens/new>.

- **IMPORTANT:** Select your user account, NOT an organization
Expand All @@ -46,11 +58,9 @@ gh aw secrets set COPILOT_GITHUB_TOKEN --value "<your-github-pat>"
> [!NOTE]
> You **must** have "Public repositories" selected; otherwise, you will not have access to the Copilot Requests permission option.

### Required Secrets

**`COPILOT_GITHUB_TOKEN`**: GitHub [Personal Access Token](/gh-aw/reference/glossary/#personal-access-token-pat) (PAT, a token that authenticates you to GitHub's APIs) with "Copilot Requests" permission. **`GH_AW_GITHUB_TOKEN`** (optional): Required for [GitHub Tools Remote Mode](/gh-aw/reference/tools/#modes-and-restrictions).

For more information about GitHub Copilot CLI authentication, see the [official documentation](https://github.com/github/copilot-cli?tab=readme-ov-file#authenticate-with-a-personal-access-token-pat).
For more information about GitHub Copilot CLI, see the [official documentation](https://gh.io/copilot-cli).

> [!NOTE]
> The Copilot engine does not have built-in `web-search` support. You can add web search capabilities using third-party MCP servers. See the [Using Web Search](/gh-aw/guides/web-search/) for available options and setup instructions.
Expand Down
233 changes: 0 additions & 233 deletions skills/copilot-cli/SKILL.md

This file was deleted.