Use Qwen Code review from Claude Code and Codex CLI.
This repository contains two plugins for the same Qwen Code review capability:
- Claude Code plugin (
plugins/qwen/) — adds/qwen:reviewand job management commands. - Codex CLI plugin (
plugins/qwen-codex/) — adds the$qwen-reviewskill.
Both plugins call the local qwen CLI to run Qwen Code's built-in /review skill.
- Node.js 18.18 or later.
- Qwen Code installed and available on
PATH.
Install Qwen Code if needed:
npm install -g @qwen-code/qwen-code/plugin marketplace add doudouOUC/qwen-code-plugin-cc
/plugin install qwen@qwen-code
/reload-plugins
/qwen:setupcodex plugin marketplace add doudouOUC/qwen-code-plugin-cc
codex plugin add qwen@qwen-codeReview local changes:
/qwen:review/qwen:review starts in a Claude Code background task by default. Claude Code
will report when the background command finishes and surface the final Qwen Code
review output.
Wait for a small review in the foreground:
/qwen:review --waitRun with a specific Qwen Code model:
/qwen:review --model qwen3-coder-plus
/qwen:review -m qwen3-coder-plus 123 --commentReview a pull request:
/qwen:review 123Review a specific file:
/qwen:review src/auth.tsPost Qwen Code inline comments on a PR:
/qwen:review 123 --commentManage jobs:
/qwen:status
/qwen:status qwen-review-1234abcd
/qwen:result qwen-review-1234abcd
/qwen:cancel qwen-review-1234abcdOnce installed, the $qwen-review skill is available in Codex CLI and Codex App. Ask Codex to review your code:
Use $qwen-review to review the current changes
Codex will run the qwen CLI with review-only flags and present the findings.
/qwen:review (Claude Code) and $qwen-review (Codex) are both review-only. They forward your review target arguments to Qwen Code's /review skill and append a review-only system prompt.
--wait, --background, --model <model>, --model=<model>, and -m <model> are handled by the Claude Code plugin. Other arguments are passed to Qwen Code's /review prompt unchanged.
The Claude Code companion runs Qwen Code with --approval-mode yolo so headless review can execute the analysis commands required by /review. Sandboxing is enabled by default. If your environment cannot run Qwen Code sandboxing, explicitly disable it with:
export QWEN_PLUGIN_NO_SANDBOX=1Claude Code background job state is stored under:
~/.qwen-code-plugin-cc/workspaces/
Run tests:
npm testApache-2.0