# qwen-agent

A skill that routes mechanical edits to a cheap Qwen subagent through claude-9arm, leaving Claude's quota for work that needs judgement.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 2400 installs · ★ 3233
- Author: thananon
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/thananon/9arm-skills/tree/HEAD/skills/engineering/qwen-agent/SKILL.md
- Updated: 2026-06-14
- HTML: https://affpapa.org/en/nevibecode/skills/qwen-agent

## What it does

The skill turns delegation into a habit. Bulk renames, formatting passes, test scaffolding, grep-style searching: that work gets handed to `claude-9arm`, a shell alias for `claude --model qwen3.6-35b-a3b` sitting behind the 9arm gateway. Calls run headless with `-p`, and the tool list is pinned by `--allowedTools Bash Read Edit Write Glob Grep`. Leave the flag off and the subagent stalls at its first edit, waiting on approval.

Prompts must stand alone, because the Qwen side sees nothing of your chat. Absolute paths, stated inputs and outputs, one line on what done means. Qwen works with a 128k context window, so size the job before sending it: file bytes divided by 4 is a rough token count. Big tasks get sliced per file or per directory and fired as separate runs, foreground or background with a log to read later.

Set one thing up first: the `claude-9arm` alias with gateway access. The skill does not create it. And read Qwen's output before calling a task done — cheap edits need a second pair of eyes more than expensive ones do. Architecture, debugging judgement and security-sensitive changes stay with Claude, which the skill states plainly.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add thananon/9arm-skills --skill qwen-agent -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/qwen-agent/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/qwen-agent/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add thananon/9arm-skills --skill qwen-agent -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/qwen-agent/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add thananon/9arm-skills --skill qwen-agent -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/qwen-agent/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install thananon/9arm-skills qwen-agent
```

2. **Manually: put the files in place**
- File: `.github/skills/qwen-agent/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add thananon/9arm-skills --skill qwen-agent -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/thananon/9arm-skills --path skills/engineering/qwen-agent
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/qwen-agent/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add thananon/9arm-skills --skill qwen-agent -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/thananon/9arm-skills/tree/HEAD/skills/engineering/qwen-agent/SKILL.md

## When to use it
- rename a symbol across the whole tree
- run the linter and report which checks failed
- condense a build log into errors with line numbers
- scaffold docstrings and test stubs
- swap a known string everywhere it appears

## Example prompts
- Use qwen: in `/Users/me/proj/src/api.ts` drop unused imports and sort the rest alphabetically. Touch nothing else.
- Delegate this — collapse `/tmp/build.log` into errors with line numbers.
- Do this cheaply: rename `getUser` to `fetchUser` under `/Users/me/proj/src`.

## Similar
- [qwen-coder](https://affpapa.org/en/nevibecode/skills/qwen-coder.md) — skill · 3300 installs
- [qwencloud-model-selector](https://affpapa.org/en/nevibecode/skills/qwencloud-model-selector.md) — skill · 1600 installs
- [codex-delegate](https://affpapa.org/en/nevibecode/skills/codex-delegate.md) — skill · 7800 installs
- [claude-delegate](https://affpapa.org/en/nevibecode/skills/claude-delegate.md) — skill · 6200 installs
- [gemini](https://affpapa.org/en/nevibecode/skills/giuseppe-trisciuoglio-gemini.md) — skill · 3400 installs
- [qwen-edit](https://affpapa.org/en/nevibecode/skills/qwen-edit.md) — skill · 964 installs

From the same set: [thananon/9arm-skills](https://affpapa.org/en/nevibecode/by/thananon/9arm-skills.md) — 6 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
