qwen-cli-agent

qwen-cli-agent is a skill for Claude Code from ImL1s/agent-cli-skills. It costs 87 tokens per session (467 once invoked), scanned A, original, MIT.

A wrapper for running Alibaba's Qwen Code command-line agent without an interactive terminal. It can also ask Qwen to use configured helper agents.

In plain words
What is it for?
It is for automated Qwen coding tasks, read-only reviews, parallel helper-agent work, and handling quota errors without repeated retries.
Why use it?
It provides a repeatable way to run Qwen on a repository, including read-only reviews and controlled multi-agent work.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions subagents.

Part of the agent-cli-skills plugin — 7 skills shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/iml1s/agent-cli-skills/qwen-cli-agent
Any agent
npx skills add ImL1s/agent-cli-skills --skill qwen-cli-agent
Clone the repo
git clone --depth 1 https://github.com/ImL1s/agent-cli-skills

Made for: Claude Code.

Or install agent-cli-skills, the plugin that ships this one along with the rest of its 7 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-cli-agent

README.md
[![agentmods](https://agentmods.dev/badge/skills/iml1s/agent-cli-skills/qwen-cli-agent.svg)](https://agentmods.dev/skills/iml1s/agent-cli-skills/qwen-cli-agent)
Your own site
<a href="https://agentmods.dev/skills/iml1s/agent-cli-skills/qwen-cli-agent"><img src="https://agentmods.dev/badge/skills/iml1s/agent-cli-skills/qwen-cli-agent.svg" alt="Measured on agentmods" height="20"></a>
Per session 87 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 467 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00087 $0.00467
Opus 5 $0.00044 $0.00234
Sonnet 5 $0.00017 $0.00093
Haiku 4.5 $0.00009 $0.00047

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

Security

Grade A, and why

qwen-cli-agent 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 6d ago.

The scan reads SKILL.md. This mod also ships 4 executable files (lib/common.sh, lib/parse_stream_json.py, lib/pty_run.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/qwen-cli-agent/SKILL.md · 44 lines

What it actually says

Qwen Code CLI (qwen) Executor

When to use

  • User wants qwen / Qwen Code as the coding agent
  • Need Qwen /agents, Agent tool parallel launches, or qwen review style workflows from a wrapper

Wrapper

./qwen-exec.sh -C /path/to/repo -t 1800s "Implement phase A. NO git."
./qwen-exec.sh -r -m qwen3.8-max-preview "Review this diff; do not edit."
./qwen-exec.sh -T -f /tmp/bundle.txt

Flags: -m (default qwen3.8-max-preview) · -t · -C · -o text|json|stream-json · -f · -r (sandbox + read-only guard) · -T subagent preamble · --no-git · -- passthrough.

No PTY needed. Text mode extracts final result via lib/parse_stream_json.py. -C is absolutized before use.

Native multi-agent

  • In-session: /agents create/manage; Agent tool for parallel subagents (.qwen/agents/)
  • Review pipeline: qwen review … (PR worktree, chunk plan, multi-agent prompts, submit)
  • -T asks the model to use Agent tool / configured subagents

Discipline

Exit code untrusted. Orchestrator owns git. On 429/quota: BLOCKED stub, no retry loop.

Models

Prefer ids from ~/.qwen/settings.json / qwen --help. Pin explicitly in automation.

Files

What ships with it

4 files 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. 6d ago First seen · 44 lines · 87 tokens per session scan A adba48b0dcc9

Subscribe to this mod's changes

qwen-cli-agent is a skill published in the GitHub repository ImL1s/agent-cli-skills (2 stars, last pushed 1mo ago), licensed MIT. It adds 87 tokens to every session and 467 once invoked, about $0.0004 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-08-31.

Related

Other skills, from other repositories

agent-self-scheduling

Schedule AI agent runs with cron, loops, or external clocks while avoiding unsafe tight autonomous timers.

sickn33/agentic-awesome-skills · 24 tokens

agent-desktop

Use the built-in Computer sub-agent with agent-desktop for macOS desktop automation. Apply when a task needs application launching, accessibility snapshots, stable element refs, window focusing, semantic clicks/typing, or visual confirmation outside the browser sandbox.

superagent-ai/grok-cli · 56 tokens

gerador-soul

Gera um arquivo SOUL.md completo e estruturado para qualquer agente ou assistente de IA. Use esta skill SEMPRE que a pessoa usuária quiser criar um SOUL.md, definir a identidade de um agente, descrever a "alma" de um assistente, ou usar os gatilhos "/soul", "/soul.md" ou "gerar soul". Ative também quando a pessoa…

marioluciofjr/skills · 155 tokens

code-walkthrough

与用户共同阅读 Neeko 代码,逐层讲解 Tauri 应用架构与跨端数据流。支持三域分层模式(Rust 后端 / React 前端 / 跨端桥接)和调用链追踪模式(含跨端追踪)。主动发现 dead code、设计偏差、类型不一致、迁移遗漏,但不修改代码。Use when user wants to walkthrough code, understand architecture, trace call chains, review a module's structure, or says "过代码" / "walkthrough" / "walk me through" / "zoom out".

tincopper/neeko · 128 tokens

craque-neto

Faz análise de risco de projetos gritando a real, sem bajulação, no tom de voz do ex-jogador José Ferreira Neto, o 'Craque Neto', apresentador do 'Donos da Bola' (Band) e da 'Rádio Craque Neto'. A resposta é só a bronca do Neto: texto corrido de até 200 palavras, primeira pessoa, linguagem do povo, palavrão pesado…

marioluciofjr/skills · 249 tokens

tauri2-react-rust

Guides development of cross-platform desktop apps with Tauri 2, TypeScript, React, and Rust. Use when building Tauri apps, implementing IPC, designing Rust backend or TypeScript/React frontend, when researching or cloning a website (open site, snapshot elements), when verifying local dev or built frontend in browser…

tincopper/neeko · 114 tokens