qwen-coder
БесплатноБез исполняемых скриптовНе проверенProvides Qwen Coder CLI delegation workflows for coding tasks using Qwen2.5-Coder and QwQ models, including English prompt formulation, execution flags, and…
от giuseppe-trisciuoglio★ 373 звезды на GitHubОб этом скилле
Qwen Coder CLI Delegation
Delegate selected tasks from Claude Code to Qwen Coder CLI using non-interactive commands, explicit model selection, safe permission flags, and shareable outputs.
Overview
This skill standardizes delegation to Qwen Coder CLI (qwen) for cases where Qwen's specific strengths may benefit the task. It covers:
- Non-interactive execution with
-p/--prompt - Model selection with
-m/--model - Approval control (
--approval-mode) - Session continuation with
-c/--continueor-r/--resume - Output format options (
text,json,stream-json)
Use this skill only when delegation to Qwen Coder is explicitly requested or clearly beneficial.
When to Use
Use this skill when:
- The user asks to delegate work to Qwen Coder CLI
- The user wants a second opinion from Qwen Coder on a task
- The user asks for Qwen Coder CLI output integrated into the current workflow
- The user wants to continue a previous Qwen Coder session
Trigger phrases:
- "use qwen"
- "use qwen coder"
- "delegate to qwen"
- "ask qwen"
- "second opinion from qwen"
- "qwen opinion"
- "continue with qwen"
- "qwen session"
Prerequisites
Verify tool availability and authentication before delegation:
# CLI availability
qwen --version
# Authentication status
qwen auth status
If qwen is unavailable, inform the user and stop execution until Qwen Coder CLI is installed.
If authentication is invalid, provide authentication setup instructions and stop execution.
Reference
- Command reference:
references/cli-command-reference.md
Instructions
1) Confirm Delegation Scope
Before running Qwen Coder:
- Identify the exact task to delegate
- Define expected output format (text, json, stream-json)
- Clarify whether session resume is needed
If scope is ambiguous, ask for clarification first.
2) Formulate Prompt in English
All delegated prompts to Qwen Coder CLI must be in English.
Build a precise English prompt from the user request.
Prompt quality checklist:
- Include objective and constraints
- Include relevant project context and files
- Include expected output structure
- Ask for actionable, verifiable results
Prompt template:
Task: <clear objective>
Context: <project/module/files>
Constraints: <do/don't constraints>
Expected output: <format + depth>
Validation: <tests/checks to run or explain>
3) Select Execution Mode and Flags
Preferred baseline command:
qwen -p "<english-prompt>"
Supported options:
-m, --model <model-id>for model selection (default: qwen2.5-coder)--approval-mode <plan|default|auto_edit|yolo>for safety control-c, --continue <session-id>to continue previous session-r, --resume <session-id>as alias for continue-o, --output-format <text|json|stream-json>for output format
Approval modes:
| Mode | Behavior | Recommended For |
|---|---|---|
plan |
Read-only analysis, no file modifications | Analysis-only tasks, security reviews |
default |
Requires confirmation before modifications | General coding tasks |
auto_edit |
Auto-approves edit operations | Trusted modifications with oversight |
yolo |
Approves all operations without confirmation | Experimental tasks (explicit user request only) |
Safety guidance:
- Prefer
--approval-mode planfor read-only analysis - Use
--approval-mode defaultfor general tasks - Reserve
--yolofor explicit user requests only
4) Execute Qwen Coder CLI
Run the selected command via Bash and capture stdout/stderr.
Examples:
# Default non-interactive delegation
qwen -p "Analyze this code and suggest refactoring improvements."
# Explicit model and approval mode
qwen -p "Review authentication module for security issues with fixes." -m qwq --approval-mode plan
# Continue previous session
qwen -c <session-id> -p "Continue the refactoring from the previous session."
# Structured output for automation
qwen -p "Summarize key technical debt items as JSON array." --output-format json
5) Result Handling
This section covers how to present Qwen Coder output and when to request user confirmation.
5.1) Output Presentation
When reporting Qwen Coder output:
- Present output in a clear, readable format
- Summarize key findings and confidence level
- Separate observations from recommended actions
- Keep raw output available when needed
- Include the model used and approval mode applied
- State which permission profile was in effect
5.2) Confirmation Workflow
Before applying any suggested modifications:
- Present the proposed changes to the user in the output template format
- Request explicit confirmation (for example: "Do you want me to apply these changes?")
- Wait for user direction before proceeding
- Do not auto-apply changes without user consent
Exception: In --approval-mode yolo with explicit user request, changes may proceed automatically. Still inform the user of wha
Установить qwen-coder в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
BashReadWriteВложенные файлы
FAQ
Что делает скилл qwen-coder?
Provides Qwen Coder CLI delegation workflows for coding tasks using Qwen2.5-Coder and QwQ models, including English prompt formulation, execution flags, and safe result handling. Use when the user explicitly asks to use Qwen for tasks such as code generation, refactoring, debugging, or architectural analysis. Triggers on "use qwen", "use qwen coder", "delegate to qwen", "ask qwen", "second opinion from qwen", "qwen opinion", "continue with qwen", "qwen session".
Как установить скилл qwen-coder?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл qwen-coder запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic