Agent skill

Qwen Delegation

by athola in athola/claude-night-market

Delegates tasks to Qwen CLI via delegation-core for Alibaba's models.

MITAuto-check passedAgent Workflows

Install Qwen Delegation

skills CLI
$ npx skills add athola/claude-night-market --skill qwen-delegation -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install athola/claude-night-market qwen-delegation --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/athola/claude-night-market.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/conjure/skills/qwen-delegation .claude/skills/qwen-delegation && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
qwen-delegation
GitHub stars
341
Token cost
~1.1k tokens
SKILL.md length
378 words
Files
2
Skills in repo
152
Repo updated
First seen
Licence
MIT

At a glance

Delegates tasks to Qwen CLI via delegation-core for Alibaba's models.

  • Delegation-core selects Qwen
  • SKILL.md covers Overview, When To Use, When NOT To Use and Prerequisites, plus 4 more sections
  • Calls uv, npm and make; needs QWEN_API_KEY
  • Large-context batch processing is needed

What it does

Qwen Delegation is an agent skill from athola/claude-night-market. Delegates tasks to Qwen CLI via delegation-core for Alibaba's models. Use when delegation-core selects Qwen or large-context batch processing is needed.

Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `modules/qwen-specifics.md`).

It sits in Agent Workflows, covering Data pipelines and ETL. It works with Qwen. The repository describes itself as: 23 Claude Code plugins: TDD enforcement hooks, git/PR workflows, spec-driven development, code review, project lifecycle, fix-from-error, maintenance automation, context… The licence is MIT.

When your agent uses it

  • Delegation-core selects Qwen
  • Large-context batch processing is needed

Example prompts

  • “Use the qwen-delegation skill to delegate tasks to Qwen CLI via delegation-core for Alibaba's models”
  • “/qwen-delegation”

Requirements

  • Python 3
  • Node.js
  • A credential in QWEN_API_KEY

What it can do on your machine

Read from SKILL.md and the folder at commit 9f3eb00. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • uv
    • npm
    • make

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use uv and npm, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • QWEN_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Qwen Delegation loads about 1.1k tokens when it runs. Until then it costs about 42 tokens; SKILL.md has 378 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~42
When it runs · the whole SKILL.md, loaded when a task matches
~1.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from athola/claude-night-market at commit 9f3eb00, republished under its MIT licence (© athola). 378 words, ~1,112 tokens.

Download SKILL.mdSave it as .claude/skills/qwen-delegation/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
qwen-delegation
description
Delegates tasks to Qwen CLI via delegation-core for Alibaba's models. Use when delegation-core selects Qwen or large-context batch processing is needed.
alwaysApply
false
category
delegation-implementation
tags
qwen, cli, delegation, alibaba, large-context
dependencies
delegation-core
tools
qwen-cli, delegation_executor.py
usage_patterns
qwen-cli-integration, large-context-analysis, bulk-processing
complexity
intermediate
model_hint
standard
estimated_tokens
600
progressive_loading
true

Qwen CLI Delegation

Overview

This skill implements conjure:delegation-core for the Qwen CLI. It provides Qwen-specific authentication, quota management, and command construction.

For shared delegation patterns, see Skill(conjure:delegation-core).

When To Use

  • After Skill(conjure:delegation-core) determines Qwen is suitable
  • When you need Qwen's large context window (100K+ tokens)
  • For batch processing, summarization, or multi-file analysis
  • If the qwen CLI is installed and configured

When NOT To Use

  • Choosing which provider to delegate to (use conjure:delegation-core)
  • Gemini was the selected provider (use conjure:gemini-delegation)

Prerequisites

Installation:

bash
# Install Qwen CLI
npm install -g @qwen-code/qwen-code

# Verify installation
qwen --version

# Authenticate: run qwen once and complete the flow it offers
qwen

There is no qwen auth subcommand. qwen --help lists none, and this file documented three that do not exist: qwen auth status, qwen auth login and QWEN_API_KEY. Anything after qwen that is not a recognized flag is delivered to the model as the prompt, so qwen auth status asked Qwen the question "auth status" and was billed for it. Probed on 2026-08-22 it answered [API Error: 401 Incorrect API key provided] and exited 0, which is why the delegation registry now declares no auth probe for qwen.

Credentials land in ~/.qwen/oauth_creds.json, which carries its own expiry_date. ~/.qwen/settings.json exists without credentials, so it is not the file to test. The delegator reads the stated expiry and skips qwen without spawning it, which is what stopped every chain walk paying for a rejected call.

Verification: make -C plugins/conjure delegate-doctor reports qwen's credential state, including an expiry that has passed.

Show full SKILL.md (150 more words)Show less

Quick Start

Using Shared Delegation Executor
bash
# Basic file analysis
uv run python scripts/delegation_executor.py qwen "Analyze this code" \
  --files src/main.py

# With specific model
uv run python scripts/delegation_executor.py qwen "Summarize" \
  --files src/**/*.py --model qwen-max

# With output format
uv run python scripts/delegation_executor.py qwen "Extract functions" \
  --files src/main.py --format json
Direct CLI Usage
bash
# Basic command
qwen -p "@path/to/file Analyze this code"

# Multiple files
qwen -p "@src/**/*.py Summarize these files"

# Specific model
qwen --model qwen-max -p "..."
Save Output
bash
qwen -p "..." > delegations/qwen/$(date +%Y%m%d_%H%M%S).md

Smart Delegation

The shared delegation executor can auto-select the best service:

bash
# Auto-select a service for the task
uv run python scripts/delegation_executor.py auto "Analyze large codebase" \
  --files src/**/*

Qwen-Specific Details

For Qwen-specific models, CLI options, cost reference, and troubleshooting, see modules/qwen-specifics.md.

Exit Criteria

  • qwen --version exits 0 and ~/.qwen/oauth_creds.json exists with an expiry_date in the future before any task is delegated. A missing installation or an expired credential is reported and stops execution. There is no qwen auth status to run, and asking for one bills a completion.
  • The delegated task output is saved to delegations/qwen/YYYYMMDD_HHMMSS.md (timestamp format matching the Quick Start example), and that file exists on disk after delegation.
  • If conjure:delegation-core selected a different provider (Gemini or local), this skill is not invoked; Qwen delegation only runs when delegation-core explicitly routes to Qwen.
  • Smart delegation via delegation_executor.py auto logs which provider was selected and why before executing the task, so the selection is auditable.

© athola, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in plugins/conjure/skills/qwen-delegation of athola/claude-night-market.

  • SKILL.md
  • modules/qwen-specifics.md

Open the folder on GitHubat commit 9f3eb00

Compare with similar skills

Qwen Delegation next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Qwen Delegation compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Qwen Delegation this skillathola/claude-night-market341—~1.1kAutomated safety check: PassMIT
Veomni New ModelByteDance-Seed/VeOmni2.2k—~2kAutomated safety check: PassApache-2.0
Remember Learningsdyad-sh/dyad22k—~1.1kAutomated safety check: PassCustom licence
Crossreviewcoddy-project/coddy-agent168—~3.3kAutomated safety check: PassMIT
Agent Reproduce AlignQwenLM/qwen-code28k—~1.1kAutomated safety check: PassApache-2.0
Subagentethanhq/cc-fleet216—~4.9kAutomated safety check: PassApache-2.0

Similar skills

  • Veomni New Model

    ByteDance-Seed/VeOmni

    A skill your agent uses when adding support for a new model to VeOmni.

    2.2k GitHub stars~2k tokensUpdated yesterday
    AI & LLM EngineeringAuto-check passed
  • Remember Learnings

    dyad-sh/dyad

    Review the current session for errors, issues, snags, and hard-won knowledge, then update the rules/ files (or AGENTS.md if no suitable rule file exists) with actionable learnings.

    22k GitHub stars~1.1k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Crossreview

    coddy-project/coddy-agent

    Run when the user invokes /crossreview (or /crossreview:setup to choose the reviewers) or asks for a cross-review, a quorum review or a second opinion from other agents or models: fan a code review…

    168 GitHub stars~3.3k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Agent Reproduce Align

    QwenLM/qwen-code

    Runs a reference agent (Codex or Claude Code) and Qwen Code on the same scenario, captures HTTP and terminal traces, and compares them until behavior matches.

    28k GitHub stars~1.1k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Subagent

    ethanhq/cc-fleet

    Fan out a one-shot or flat parallel batch of cc-fleet PROVIDER subagents (headless cc-fleet subagent) that return a result — DeepSeek / GLM / Kimi / Qwen / MiniMax, or a Codex/Claude subscription.

    216 GitHub stars~4.9k tokensUpdated 12 days ago
    Agent WorkflowsAuto-check passed
  • Open Dynamic Workflows

    xz1220/open-dynamic-workflows

    Write and run dynamic workflows: short JavaScript scripts in Claude Code's workflow dialect, run with the odw CLI outside the host agent's context, fanning subtasks out to coding-agent CLIs (Codex…

    106 GitHub stars~2k tokensUpdated 1 mo ago
    Agent WorkflowsAuto-check passed

More from athola/claude-night-market

All 152 skills in this repo
  • Night Market Diagnostics Toolkit

    athola/claude-night-market

    Run and interpret repo diagnostic scripts (ratchets, validators, token stats).

    341 GitHub stars~3.4k tokensUpdated yesterday
    Auto-check passed
  • Skills Eval

    athola/claude-night-market

    Evaluate Claude skill quality through auditing. An agent skill from athola/claude-night-market.

    341 GitHub stars~1.6k tokensUpdated yesterday
    Auto-check passed
  • Agent Teams

    athola/claude-night-market

    Coordinates Claude agent teams via filesystem protocol. An agent skill from athola/claude-night-market.

    341 GitHub stars~2.5k tokensUpdated yesterday
    Auto-check passed
  • Delegation Core

    athola/claude-night-market

    Delegates execution to eight CLIs (Gemini, Qwen, MiniMax, GLM, Muse, Codex, OpenCode, Glimmer).

    341 GitHub stars~2.5k tokensUpdated yesterday
    Auto-check passed
  • Elegant Code

    athola/claude-night-market

    Guide minimal code via a decision ladder with full safety, edge, and negative-case coverage.

    341 GitHub stars~2.1k tokensUpdated yesterday
    Auto-check passed
  • Skill Library Mission

    athola/claude-night-market

    Build a project skill library in .claude/skills/ via discovery, parallel authoring, and review.

    341 GitHub stars~1.6k tokensUpdated yesterday
    Auto-check passed

Works with

Questions about Qwen Delegation

What does Qwen Delegation do?

Delegates tasks to Qwen CLI via delegation-core for Alibaba's models. Qwen Delegation is an agent skill from athola/claude-night-market. Delegates tasks to Qwen CLI via delegation-core for Alibaba's models.

When should I use Qwen Delegation?

Qwen Delegation fits situations like: delegation-core selects Qwen; large-context batch processing is needed.

How do I install Qwen Delegation in Claude Code?

Run `npx skills add athola/claude-night-market --skill qwen-delegation -a claude-code`. Or copy the skill folder (plugins/conjure/skills/qwen-delegation in athola/claude-night-market) into .claude/skills/qwen-delegation in your project. Claude Code loads it when a task matches its description.

How do I install Qwen Delegation in Codex?

Run `npx skills add athola/claude-night-market --skill qwen-delegation -a codex`. Or copy the skill folder (plugins/conjure/skills/qwen-delegation in athola/claude-night-market) into .agents/skills/qwen-delegation in your project. Codex loads it when a task matches its description.

Can I use Qwen Delegation in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add athola/claude-night-market --skill qwen-delegation -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/qwen-delegation, .gemini/skills/qwen-delegation, .github/skills/qwen-delegation and .opencode/skills/qwen-delegation in your project.

What does Qwen Delegation need to run?

Going by SKILL.md and its folder, Qwen Delegation needs the command-line tools its instructions call (uv, npm and make) and credentials named QWEN_API_KEY. Our summary lists: Python 3; Node.js; A credential in QWEN_API_KEY.

Does Qwen Delegation access the network?

SKILL.md contains no URLs. Its commands use uv and npm, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Qwen Delegation safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Qwen Delegation use?

Qwen Delegation is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Qwen Delegation use?

About 1.1k tokens (SKILL.md is roughly 4.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Qwen Delegation?

Skills that share tags, products or a category with Qwen Delegation: Veomni New Model (ByteDance-Seed/VeOmni, 2.2k stars), Remember Learnings (dyad-sh/dyad, 22k stars), Crossreview (coddy-project/coddy-agent, 168 stars) and Agent Reproduce Align (QwenLM/qwen-code, 28k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Qwen Delegation?

athola (a GitHub user) maintains it in athola/claude-night-market, which has 341 GitHub stars. The repository holds 152 skills in this directory. The repository was last updated on October 9, 2026.

Source: athola/claude-night-market on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.