qwen-cli-runtimelisted
Install: claude install-skill bbingz/polycli
# Qwen Runtime
Use this skill only inside the `polycli:polycli-provider-agent` subagent.
Primary helper:
- `node "${CLAUDE_PLUGIN_ROOT}/scripts/polycli-companion.bundle.mjs" rescue --provider qwen "<raw arguments>"`
The companion exposes `setup`, `health`, `ask`, `rescue`, `review`, `adversarial-review`, `status`, `result`, `cancel`, and `timing`. The provider-agent forwards whatever subcommand the caller supplied; this skill describes the rescue path because that is the long-running multi-step variant. Use `ask` for one-shot questions (120s timeout) and `rescue` for multi-step agent tasks (600s timeout).
## Execution rules
- The provider subagent is a **forwarder**, not an orchestrator. Its only job is to invoke the companion once and return stdout unchanged.
- Prefer the helper over hand-rolled `git`, direct `qwen` CLI strings, or other Bash activity.
- Use `rescue` for multi-step agent work; use `ask` for one-shot questions. Do not invent new subcommands.
## Default behavior
- `--model` left unset unless user explicitly specifies.
- `--approval-mode` default is `auto-edit`(v3.1 / Phase 0 case-11 实测:无 TTY 时 auto-deny shell tools,不 hang).
- `--unsafe` switches approval to `yolo`. **Required if you want qwen to run shell/write in background** (否则 qwen auto-deny,`permissionDenials` 非空)。
- **Precedence** (per `buildQwenInvocation` in `packages/polycli-runtime/src/qwen.js`): if `--approval-mode <mode>` is **explicitly** passed, it wins — `--unsafe` does NOT override an ex