Qwen Code is an open-source AI coding agent that runs in a terminal and helps developers work with code through language models. It supports multiple model providers and can also be used through IDEs, desktop software, SDKs, and messaging bots.
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.
npx skills add QwenLM/qwen-code --skill agent-creatorgit clone --depth 1 https://github.com/QwenLM/qwen-codeWrote 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.
[](https://agentmods.dev/skills/qwenlm/qwen-code/agent-creator)<a href="https://agentmods.dev/skills/qwenlm/qwen-code/agent-creator"><img src="https://agentmods.dev/badge/skills/qwenlm/qwen-code/agent-creator/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.
<a href="https://agentmods.dev/skills/qwenlm/qwen-code/agent-creator"><img src="https://agentmods.dev/badge/skills/qwenlm/qwen-code/agent-creator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00034 | $0.01968 |
| Opus 5.5 | $0.00014 | $0.00787 |
| Sonnet 5.5 | $0.00007 | $0.00394 |
| Haiku 4.5 | $0.00003 | $0.00197 |
Grade A, and why
agent-creator 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 4d 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.
How it starts
The opening of the file, as written. The whole thing — 328 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Creating Custom Agents for Qwen Code
This skill guides you through creating custom agents. Agents are specialized AI assistants that run in isolated contexts with custom system prompts, specific tool access, and independent permissions.
When to Use Agents
Use agents when you need:
- Context isolation for long research or exploration tasks
- Parallel execution of multiple independent workstreams
- Specialized expertise with custom prompts for specific domains
- Reusable configurations across projects
When NOT to use agents:
- Simple, single-purpose tasks (use skills instead)
- Tasks requiring frequent back-and-forth with the user
- Quick, targeted changes
Agent Locations
| Location | Scope | Priority |
|---|---|---|
<project>/${QWEN_CONFIG_DIR}/agents/ |
Current project | Higher |
~/${QWEN_USER_CONFIG_DIR}/agents/ |
All your projects | Lower |
Project agents (${QWEN_CONFIG_DIR}/agents/): Ideal for codebase-specific
agents. Check into version control to share with your team.
User agents (~/${QWEN_USER_CONFIG_DIR}/agents/): Personal agents available across
all your projects.
Agent File Format
Each agent is a Markdown file with YAML frontmatter:
---
name: agent-name
description: When to use this agent. Be specific!
---
You are a [role]. When invoked:
1. [First step]
2. [Second step]
3. [Output format]
Required Fields
| Field | Description |
|---|---|
name |
Unique identifier for the agent |
description |
When to delegate to this agent (be specific). Including trigger scenarios. |
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.
- 4d ago First seen · 328 lines · 34 tokens per session scan A c91af0477a1a
agent-creator is a skill published in the GitHub repository QwenLM/qwen-code (31,040 stars, last pushed today), licensed Apache-2.0. It adds 34 tokens to every session and 1,968 once invoked, about $0.0001 per session on Opus 5.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-11-26.
agent-creator compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| agent-creatorQwenLM/qwen-code | Skill | 31k | today | Apache-2.0 | A | 34 | Claude Code |
| sls-dashboard-builderalibaba/loongsuite-pilot | Skill | 270 | 3d ago | Apache-2.0 | A | 72 | Claude Code, Codex |
| agentloop-audit-dashboardalibaba/loongsuite-pilot | Skill | 270 | 3d ago | Apache-2.0 | A | 149 | Claude Code, Codex |
| loongsuite-pilot-opsalibaba/loongsuite-pilot | Skill | 270 | 3d ago | Apache-2.0 | A | 15 | Claude Code, Codex |
| agentloop-audit-queryalibaba/loongsuite-pilot | Skill | 270 | 3d ago | Apache-2.0 | A | 54 | Claude Code, Codex |
| novel-workshopMerkyorLynn/Lynn | Skill | 73 | 17d ago | Apache-2.0 | A | 90 | Claude Code |
| proactive-agentMerkyorLynn/Lynn | Skill | 73 | 17d ago | Apache-2.0 | A | 46 | Claude Code, Codex |