qwencloud/qwencloud-ai15 files

Qwencloud Model Selector

Recommend the best Qwen model and parameters. TRIGGER when: choosing between Qwen models, comparing Qwen model pricing, understanding Qwen model capabilities, asking which models are available on Token Plan, viewing cost history, when an execution skill needs model selection advice, or user explicitly invokes this skill by name (e.g. use qwencloud-model-selector). DO NOT TRIGGER when: non-Qwen model discussions (OpenAI, Gemini, etc.), general AI questions unrelated to Qwen.

Specification
Skill ID
qwencloud/qwencloud-ai/qwencloud-model-selector
Publisher
qwencloud
Repository
qwencloud-ai
Installs
0
Files
15
Requires
Advisory skill. CDN snapshot lookup has no local dependency; real-time model and account queries require QwenCloud CLI and Node.js >= 18. Cursor: auto-loaded. Claude Code: read this skill's SKILL.md before first use.
Synced
Sep 23, 2026
How to use it

Open any RiverX project, open the Skills panel in the chat, and search for this identifier. The files are fetched from the source repository at install time.

qwencloud/qwencloud-ai/qwencloud-model-selectorInstalls these files
  • SKILL.md
  • cdn/references/qwencloud-audio-tts-models.md
  • cdn/references/qwencloud-image-generation-models.md
  • cdn/references/qwencloud-model-list.md
  • cdn/references/qwencloud-model-pricing.md
  • cdn/references/qwencloud-model-recommendations.md
  • cdn/references/qwencloud-text-models.md
  • cdn/references/qwencloud-token-plan-models.md
  • cdn/references/qwencloud-video-generation-models.md
  • cdn/references/qwencloud-vision-models.md
  • references/cli-usage.md
  • references/error-handling.md
  • references/pricing-disclaimer.md
  • references/pricing.md
  • references/sources.md

What this skill tells the agent

Qwen Model Selector (Advisor)

This skill operates in two modes:

  1. Interactive advisory — asks diagnostic questions to recommend the right model (see Diagnostic Flow).
  2. Cross-skill resolution — provides a fast-path model lookup for execution skills that need a model decision without user interaction. Fetch the CDN recommendations first; if CDN access fails, use the local fallback.

Do not fabricate model names — only recommend models listed in the CDN catalogs or returned by CLI. This skill is part of qwencloud/qwencloud-ai.

🚫 CRITICAL — Never override a user-specified model. If the user (or the requesting execution skill) has already explicitly specified a model, this skill's job is done for that request: use the model as given. Do NOT recommend a "better suited" or newer model in its place, and do NOT add parameters (thinking mode, style hints) the user did not ask for. Recommendations and diagnostic flows below apply only when no model has been specified. You may verify availability and, if the model is unavailable/restricted, inform the user and suggest alternatives — but the user makes the final call.

Skill directory

Load on demand. Fetch the documented CDN model catalogs when model lists, defaults, or recommendations are needed. Do not fetch other external URLs unless the user explicitly asks for the latest data.

Every path under cdn/ is a local fallback, not the primary source. For cdn/<path>, first fetch https://alioth-intl.alicdn.com/skills-info/models/<path> and use the local file only if that request fails.

LocationPurpose
references/cli-usage.mdCLI-first data strategy: when to use CLI, 3-step login flow, display rules
references/error-handling.mdCLI error classification & recovery actions (auth, not-found, network, ...)
CDN model recommendationsCross-skill recommendations, Token Plan constraints, and thinking defaults; if unavailable, use the local fallback
references/pricing-disclaimer.mdPricing guidance + mandatory cost-estimation disclaimer (CN/EN) + console links
references/pricing.mdStable billing guidance and CDN pricing fallback
CDN model catalogCross-domain model catalog snapshot; if unavailable, use the local fallback
references/sources.mdOfficial documentation URLs (manual lookup only)

Prerequisites

QwenCloud CLI is strongly recommended — it is the authoritative real-time data source for model availability, pricing, and quotas. Verify with:

qwencloud version

If not installed:

npm install -g @qwencloud/qwencloud-cli

Node.js >= 18 required. Without CLI you can still answer point-in-time navigation and model questions from the CDN catalogs, but you cannot verify current availability, exact current prices, or account quotas.

Security & Credential Model

QwenCloud has two independent credential systems — never confuse them:

CredentialPurposeHow to provide
API Key (sk-... / sk-sp-...)Call model APIs in your code$DASHSCOPE_API_KEY / $QWEN_API_KEY env var
CLI sessionAuthorize qwencloud CLI subcommandsqwencloud auth login (browser device flow)

Red lines (apply to both):

  • NEVER output any credential value in plaintext. Use variable references; report only status ("set" / "not set", "valid" / "invalid"). Never display .env or config file contents.
  • NEVER conflate the two systems. When CLI returns Not authenticated / AUTH_REQUIRED, run the 3-step device-flow login (see cli-usage.md). DO NOT ask the user for an API key, and DO NOT try to set $DASHSCOPE_API_KEY to fix CLI auth.

Detecting Key Type

Before recommending models, detect the billing mode from the configured API key (outputs token-plan, payg, or not-set — never the key value itself):

python3 -c "
import os
from pathlib import Path
env_file = Path('.env')
if not env_file.exists():
    for parent in [Path.cwd()] + list(Path.cwd().parents):
        if (parent / '.git').exists() or (parent / 'skills').is_dir():
            env_file = parent / '.env'
            break
if env_file.exists():
    for line in env_file.read_text().splitlines():
        line = line.strip()
        if not line or line.startswith('#') or '=' not in line:
            continue
        k, v = line.split('=', 1)
        k, v = k.strip(), v.strip().strip('\"').strip(\"'\")
        if k in ('QWEN_API_KEY', 'DASHSCOPE_API_KEY') and k not in os.environ:
            os.environ[k] = v
key = os.environ.get('QWEN_API_KEY') or os.environ.get('DASHSCOPE_API_KEY') or ''
print('token-plan' if key.startswith('sk-sp-') else 'payg' if key else 'not-set')
"
Key typeRecommendation scope
token-planFetch the Token Plan model catalog and select only from it; default to the Team superset when the edition is unknown. If CDN access fails, use the local fallback.
paygFull model catalog
not-setDo not block — ask the user: "Which approach do you plan to use? (1) Standard PAYG key (2) Token Plan key (3) Skip for now — just browse recommendations." and proceed based on their choice
Windows: If python3 is not available, use python. Alternatively, save the snippet to a temporary .py file and run it.

Data Resolution Order

Match the user's question to the right data source. Do not fall back to a lower tier without trying the recovery actions in the higher tier first.

Question typePrimary sourceNotes
General navigation or point-in-time model detailsCDN recommendations and domain catalogsFetch first; if unavailable, use the matching local fallback and identify it as a snapshot
Latest / exact / specific (price, model details, quota)CLI MUST be used — see cli-usage.mdSnapshots are stale; never invent numbers
Search by capability ("model that does X")qwencloud models search "<X>" --format jsonSnapshot keyword coverage is incomplete
CLI returned an errorerror-handling.md recovery actions, then retryAuth failure → run 3-step login, do not skip to snapshot

More from qwencloud

Use this skill in a project

Open any RiverX project, search the Skills panel for qwencloud/qwencloud-ai/qwencloud-model-selector, and install it in one click.

Use this skill