sincecutoff.com
← all changes

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 copilot
copilot -p "explain this repo" -s

WHY 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

Check the installed version and the source before using it. Entry JSON

Report a problem with this card