qwen-code

Delegate large multi-step repository edits to Qwen-Code CLI with shared-state handoff.

5|Updated Apr 23, 2026
One-click install
npx skills add https://github.com/amirkiarafiei/subagent-cli-skills --skill qwen-code-amirkiarafiei
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: qwen-code
Source: https://github.com/amirkiarafiei/subagent-cli-skills/tree/main/skills/qwen-code
Command: npx skills add https://github.com/amirkiarafiei/subagent-cli-skills --skill qwen-code-amirkiarafiei

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and assets (resource) components.

What problem does it solve?

It reduces the time, effort, and context-window pressure of completing large multi-step code changes by delegating the heavy implementation work to Qwen-Code CLI.

Core Features & Use Cases

  • Long-horizon subagent delegation: Runs a separate, bounded pass to implement broad refactors and multi-file changes while you remain the orchestrator.
  • Context handoff for alignment: Preserves alignment by requiring the prompt to include the original goal, prior decisions, scope, constraints, and verification steps.
  • Agentic coding with tool-first workflows: Supports complex code generation and editing patterns optimized for coding-focused model stacks.

Quick Start

Ask your agent to delegate the task by using the qwen-code skill to implement and verify the required changes with a single non-interactive programmatic Qwen-Code CLI prompt.

Frequently Asked Questions about qwen-code

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I delegate large multi-file repository refactors to a coding agent without losing context alignment?

Multi-file repository refactors can be delegated to the Qwen-Code CLI as a bounded subagent. You provide a prompt containing the goal, scope, and constraints, and the CLI executes the implementation non-interactively before returning outcomes for reconciliation.

What is the best way to handle agentic coding tasks when context-window cost becomes a bottleneck?

Agentic coding tasks that bottleneck the context window are handled by delegating heavy implementation to a separate Qwen-Code CLI pass. This runs a long-horizon, tool-first workflow while you remain the orchestrator in the main thread.

How do I perform deep codebase exploration and batch file modifications programmatically?

Deep codebase exploration and batch file modifications are performed by invoking a non-interactive Qwen-Code CLI prompt. The subagent executes the required multi-step changes and runs a verification command to confirm the results.

Do I need a specific CLI environment to use agentic coding delegation for repo edits?

Agentic coding delegation requires a non-interactive Qwen-Code CLI execution environment. You must select a model and define a verification command so the subagent can execute and validate changes before returning them.

Why does shared-state handoff matter when delegating multi-step code changes to a subagent?

Shared-state handoff preserves alignment by requiring the delegation prompt to include the original goal, prior decisions, scope, constraints, and verification steps. This explicit context ensures the subagent's outcomes match your intent before reconciliation.

When should I avoid using subagent delegation for multi-file edits?

Subagent delegation for multi-file edits should be avoided when you cannot define a clear verification command or when the task requires continuous interactive oversight rather than a bounded, non-interactive programmatic pass.