qwen-setup

qwen-setup is a command for Claude Code from kirillbrsnkv/give-claude-eyes. It costs 13 tokens per session (548 once invoked), scanned A, original, MIT.

A setup command for the Qwen Video Bridge, which connects Claude to an external service that analyzes videos and images.

In plain words
What is it for?
Use it to check Python, install the required package, configure the DashScope API key, and test the connection.
Why use it?
It guides you through the Python package and API-key setup needed before visual analysis can run.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the give-claude-eyes plugin — 1 skill, 2 commands shipped together

Good fit Use it to check Python, install the required package, configure the DashScope API key, and test the connection.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/kirillbrsnkv/give-claude-eyes/qwen-setup
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.

Clone the repo
git clone --depth 1 https://github.com/kirillbrsnkv/give-claude-eyes

Made for: Claude Code.

Or install give-claude-eyes, the plugin that ships this one along with the rest of its 1 skill, 2 commands.

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-setup

README.md
[![agentmods](https://agentmods.dev/badge/commands/kirillbrsnkv/give-claude-eyes/qwen-setup/github.svg)](https://agentmods.dev/commands/kirillbrsnkv/give-claude-eyes/qwen-setup)
Your own site
<a href="https://agentmods.dev/commands/kirillbrsnkv/give-claude-eyes/qwen-setup"><img src="https://agentmods.dev/badge/commands/kirillbrsnkv/give-claude-eyes/qwen-setup/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-setup

Your own site · 80×15
<a href="https://agentmods.dev/commands/kirillbrsnkv/give-claude-eyes/qwen-setup"><img src="https://agentmods.dev/badge/commands/kirillbrsnkv/give-claude-eyes/qwen-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 13 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 548 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.
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.00013 $0.00548
Opus 5 $0.00006 $0.00274
Sonnet 5 $0.00003 $0.00110
Haiku 4.5 $0.00001 $0.00055

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

Security

Grade A, and why

qwen-setup 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 12d 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.

commands/qwen-setup.md · 71 lines

What it actually says

Walk the user through setting up the Qwen Video Bridge plugin.

Step 1: Check Python

python3 --version

Require Python 3.9+. If not available, tell the user to install Python first.

Step 2: Install dashscope

pip install dashscope --break-system-packages 2>&1 | tail -3

If pip is not available, try pip3. If neither works, suggest python3 -m pip install dashscope.

Step 3: Check API key

echo "${DASHSCOPE_API_KEY:-NOT_SET}" | head -c 10

If NOT_SET, guide the user:

  1. Go to https://modelstudio.console.alibabacloud.com/ (international) or https://dashscope.console.aliyun.com/ (China)
  2. Sign up / log in
  3. Go to API Keys section
  4. Create a new key
  5. Set it as an environment variable:
    • macOS/Linux: Add export DASHSCOPE_API_KEY=sk-your-key-here to ~/.bashrc or ~/.zshrc
    • Windows: Add it to System Environment Variables, or in PowerShell: $env:DASHSCOPE_API_KEY = "sk-your-key-here"

Step 4: Verify

Run a quick test with a simple prompt (no video needed — test the connection):

python3 -c "
import dashscope
dashscope.base_http_api_url = 'https://dashscope-intl.aliyuncs.com/api/v1'
import os
from dashscope import MultiModalConversation
r = MultiModalConversation.call(
    api_key=os.environ['DASHSCOPE_API_KEY'],
    model='qwen-omni-plus-latest',
    messages=[{'role':'user','content':[{'text':'Say OK if you can hear me.'}]}]
)
if r.status_code == 200:
    print('SUCCESS: Qwen API is working!')
else:
    print(f'ERROR: {r.status_code} — {r.message}')
"

If successful, tell the user they're all set and can use /analyze-video or just describe a video in conversation.

If it fails, help troubleshoot:

  • 401 → invalid API key
  • 429 → rate limit, wait and retry
  • Connection error → check network, might need to switch to CN endpoint
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. 12d ago First seen · 71 lines · 13 tokens per session scan A 661a93dcb553

Subscribe to this mod's changes

qwen-setup is a command published in the GitHub repository kirillbrsnkv/give-claude-eyes (8 stars, last pushed 5mo ago), licensed MIT. It adds 13 tokens to every session and 548 once invoked, about $0.0001 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.