1Password Shell Plugins add GitHub Copilot CLI authentication
Introduced 2026-07-10 · score 0.93
HOW TO USE IT
When authenticating the GitHub Copilot CLI with a token stored in 1Password, initialize the Copilot shell plugin and run `copilot -p "explain this repo" -s`; the plugin provisions or imports `COPILOT_GITHUB_TOKEN`.
op plugin init copilotcopilot -p "explain this repo" -sWHY THIS HELPS
Authenticate the GitHub Copilot CLI using a token stored in 1Password.
REQUIREMENTS AND LIMITATIONS
- Version: 2.35.0
- copilot (required): Plugin name passed to `op plugin init`.
- -p PROMPT (required): Runs the prompt in non-interactive mode; the CLI exits when done.
- -s: Suppresses stats and decoration, outputting only the response.
- COPILOT_GITHUB_TOKEN (required): Environment variable used by the plugin to provision or import the Copilot authentication token.
- Prerequisite: Shell Plugins support Bash, Zsh, and fish.
- Prerequisite: The CLI supports `COPILOT_GITHUB_TOKEN` as an authentication token.
FIRST-PARTY EVIDENCE
- https://app-updates.agilebits.com/product_history/CLI2#v2350001
- https://github.com/1Password/shell-plugins/pull/603
- https://docs.github.com/en/copilot/reference/copilot-cli-reference/cli-programmatic-reference
- https://www.1password.dev/cli/shell-plugins
Check the installed version and the source before using it. Entry JSON