Help us improve
Share bugs, ideas, or general feedback.
Use GitHub Copilot from Claude Code to review code or delegate tasks.
npx claudepluginhub chinlung/copilot-plugin-ccUse GitHub Copilot from Claude Code to review code or delegate tasks.
Share bugs, ideas, or general feedback.
Use GitHub Copilot CLI from within Claude Code sessions for code reviews or to delegate tasks.
This plugin is for Claude Code users who want an easy way to leverage GitHub Copilot from the workflow they already have.
This project is a refactored fork of openai/codex-plugin-cc, which was originally built around the OpenAI Codex CLI.
Key changes from the upstream project:
--resume/--continue for session management, added --autopilot for autonomous continuation, and --share/--share-gist for session export, alongside the --model and --background/--wait API.COPILOT_GITHUB_TOKEN, GH_TOKEN, or GITHUB_TOKEN for flexible GitHub authentication, with automatic fallback to gh auth token for users already logged in with GitHub CLI./copilot:review for a normal read-only Copilot review/copilot:adversarial-review for a steerable challenge review/copilot:rescue, /copilot:status, /copilot:result, and /copilot:cancel to delegate work and manage background jobsnpm install -g @github/copilot)COPILOT_GITHUB_TOKEN, GH_TOKEN, or GITHUB_TOKEN environment variable, or just be logged in with gh auth login (the plugin will automatically derive a token from gh auth token)Add the marketplace in Claude Code:
/plugin marketplace add chinlung/copilot-plugin-cc
Install the plugin:
/plugin install copilot@chinlung-copilot-plugin-cc
Reload plugins:
/reload-plugins
Then run:
/copilot:setup
/copilot:setup will tell you whether Copilot is ready. If Copilot is missing and npm is available, it can offer to install Copilot for you.
If you prefer to install Copilot yourself, use:
npm install -g @github/copilot
After install, you should see:
copilot:copilot-rescue subagent in /agentsOne simple first run is:
/copilot:review --background
/copilot:status
/copilot:result
/copilot:reviewRuns a normal Copilot review on your current work.
[!NOTE] Code review especially for multi-file changes might take a while. It's generally recommended to run it in the background.
Use it when you want:
mainUse --base <ref> for branch review. It also supports --wait and --background. It is not steerable and does not take custom focus text. Use /copilot:adversarial-review when you want to challenge a specific decision or risk area.
Examples:
/copilot:review
/copilot:review --base main
/copilot:review --background
This command is read-only and will not perform any changes. When run in the background you can use /copilot:status to check on the progress and /copilot:cancel to cancel the ongoing task.
/copilot:adversarial-reviewRuns a steerable review that questions the chosen implementation and design.
It can be used to pressure-test assumptions, tradeoffs, failure modes, and whether a different approach would have been safer or simpler.
It uses the same review target selection as /copilot:review, including --base <ref> for branch review.
It also supports --wait and --background. Unlike /copilot:review, it can take extra focus text after the flags.
Use it when you want:
Examples:
/copilot:adversarial-review
/copilot:adversarial-review --base main challenge whether this was the right caching and retry design
/copilot:adversarial-review --background look for race conditions and question the chosen approach
This command is read-only. It does not fix code.
/copilot:rescueHands a task to Copilot through the copilot:copilot-rescue subagent.
Use it when you want Copilot to: