qwen-delegation

qwen-delegation is a skill for Claude Code from athola/claude-night-market. It costs 36 tokens per session (1,191 once invoked), scanned A, original, MIT.

A delegation adapter that sends selected tasks to Alibaba's Qwen command-line tool. It handles Qwen-specific authentication, quota checks, and command setup.

In plain words
What is it for?
Use it for batch processing, summaries, and analysis across multiple files when the delegation system chooses Qwen.
Why use it?
It lets a shared delegation system use Qwen without requiring each task to know Qwen's command details. Its large context is useful when a task includes a lot of text or code.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is uv run python scripts/delegation_executor.py qwen "Analyze this code" \.

Part of the conjure plugin — 11 skills shipped together

Good fit Use it for batch processing, summaries, and analysis across multiple files when the delegation system chooses Qwen.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/athola/claude-night-market
agentmods
npx agentmods add skills/athola/claude-night-market/qwen-delegation

Made for: Claude Code.

Or install conjure, the plugin that ships this one along with the rest of its 11 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for qwen-delegation

README.md
[![agentmods](https://agentmods.dev/badge/skills/athola/claude-night-market/qwen-delegation/github.svg)](https://agentmods.dev/skills/athola/claude-night-market/qwen-delegation)
Your own site
<a href="https://agentmods.dev/skills/athola/claude-night-market/qwen-delegation"><img src="https://agentmods.dev/badge/skills/athola/claude-night-market/qwen-delegation/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for qwen-delegation

Your own site · 80×15
<a href="https://agentmods.dev/skills/athola/claude-night-market/qwen-delegation"><img src="https://agentmods.dev/badge/skills/athola/claude-night-market/qwen-delegation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,191 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00036 $0.01191
Opus 5 $0.00018 $0.00596
Sonnet 5 $0.00007 $0.00238
Haiku 4.5 $0.00004 $0.00119

Measured 9d ago against content hash cf7a3aa3910c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

qwen-delegation scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/conjure/skills/qwen-delegation/SKILL.md · 157 lines

How it starts

The opening of the file, as written. The whole thing — 157 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Table of Contents

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:

# 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.

Read the full file on GitHub · 157 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 157 lines · 36 tokens per session scan A cf7a3aa3910c

Subscribe to this mod's changes

qwen-delegation is a skill published in the GitHub repository athola/claude-night-market (337 stars, last pushed yesterday), licensed MIT. It adds 36 tokens to every session and 1,191 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

bailian-managed-agent

A command-line tool for managing Alibaba Cloud Bailian hosted agents and deployments from an agents.yaml file. This file acts as the single description of the remote resources, similar to infrastructure-as-code configuration.

modelstudioai/cli · 255 tokens

bailian-cli

A command-line hub for Alibaba Cloud Bailian and DashScope resources. It covers applications, models, knowledge bases, usage, authentication, files, MCP services, pipelines, and installing or updating related agent skills.

modelstudioai/cli · 350 tokens

bailian-protocol

A shared operating guide for Alibaba Cloud Bailian command-line skills. It defines how to choose a provider, request consent, check versions, handle authentication and installation, and report errors.

modelstudioai/cli · 145 tokens

bailian-kb

A command-line manager for Alibaba Cloud Bailian knowledge bases, which are collections of documents prepared for search and question answering. It handles the stored documents, search services, text chunks, and data-centre files rather than everyday searches.

modelstudioai/cli · 234 tokens

bailian-gen

An interface to Alibaba Cloud Bailian, a service for generating and understanding images, video, and audio. It supports tasks such as creating images, editing pictures, making videos, text-to-speech, transcription, and asking questions about media.

modelstudioai/cli · 359 tokens

bailian-web-search

A routing skill for web searches through Alibaba Cloud Bailian. It chooses between Bailian's search service and a model's built-in web-search tool based on the active account and connection.

modelstudioai/cli · 265 tokens