usecli-qwen
Overview
Use Alibaba Qwen CLI as an external worker inside a Claude Code workflow.
Best for:
- secondary critique
- math reasoning
- multilingual tasks
- alternative perspectives
Install
This sub-skill can be installed independently:
skill install https://github.com/Harzva/usecli-qwen
Or manually:
git clone https://github.com/Harzva/usecli-qwen.git
mkdir -p ~/.claude/skills
ln -s $(pwd) ~/.claude/skills/usecli-qwen
Command
bash ~/.claude/skills/usecli-qwen/scripts/usecli-qwen.sh --prompt "<prompt>"
Or with a prompt file:
bash ~/.claude/skills/usecli-qwen/scripts/usecli-qwen.sh --prompt-file <path>
Verification
Run the local smoke test:
bash ~/.claude/skills/usecli-qwen/tests/test_wrapper.sh
Environment Variables
| Variable | Purpose | Default |
|---|---|---|
USECLI_QWEN_BIN |
Qwen executable | qwen |
USECLI_QWEN_MODEL |
Model override | (none) |
USECLI_QWEN_OUTPUT_FORMAT |
Output format | text |
USECLI_QWEN_AUTH_TYPE |
Auth type | qwen-oauth |
USECLI_QWEN_TIMEOUT |
Timeout seconds | (none) |
Good Fits
- When you want a second opinion after Gemini or Codex review
- When you need math-heavy reasoning
- When you work with Chinese or other multilingual content
Notes
- Uses
qwen -p --auth-type qwen-oauthin non-interactive mode - First run may require device authorization via browser
- After completing browser login, rerun the command
Resources
bin/usecli-qwen.sh
The wrapper script. Sources bin/usecli-lib.sh for shared functionality.
examples/workflows/multi-model-review.sh
Demonstrates multi-model review workflow including Qwen.