Logo Qwencloud Model Selector

Qwencloud Model Selector

Tổ chức
QwenCloud
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.

Tổng quan

Nhà phát hànhQwenCloud
Kho mãqwencloud-ai
Tên kỹ năngqwencloud-model-selector
Sao
44
Bản fork
4
Tệp đi kèm
14
Giấy phépApache-2.0
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 14 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được QwenCloud công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Qwencloud Model Selector trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/QwenCloud/qwencloud-ai/tree/main/skills/models/qwencloud-model-selector
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/QwenCloud/qwencloud-ai.git /tmp/qwencloud-ai
mkdir -p .claude/skills
cp -r /tmp/qwencloud-ai/skills/models/qwencloud-model-selector .claude/skills/qwencloud-model-selector
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Qwencloud Model Selector trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Qwencloud Model Selector ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Qwencloud Model Selector với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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:

bash
qwencloud version

If not installed:

bash
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):

bash
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
CLI completely unavailable AND user declines install/loginCDN catalogs + pricing.mdAnswer only snapshot-supported facts with a stale-data caveat
All of the above cannot answer AND user confirms online lookupURLs in sources.mdNever proactively fetch

Diagnostic Flow (Interactive Advisory)

Ask the user (in order):

  1. Content type? — text / image / video / audio / vision
  2. Primary task? — generation / understanding / coding / reasoning / translation
  3. Priority? — quality vs speed vs cost
  4. Input size? — short / medium / long context
  5. Structured output? — JSON / function calling needed?

Default Recommendations

Before choosing a default or recommending a model, fetch and read the current CDN recommendations. For a Token Plan key, also read the Token Plan catalog linked above and restrict candidates to it.

  • If the user explicitly specifies a model, preserve it and only report genuine availability conflicts.
  • Otherwise, match the strongest task signal first, then choose the appropriate quality, speed, or cost tier.
  • Preserve the selected model's documented thinking default unless the user explicitly requests an override.
  • If CDN access fails, use the local recommendations.

Degradation: If this skill is not loaded, each execution skill loads its default from CDN and falls back to its bundled configuration. This protocol is purely additive and never blocks execution.

CLI Quick Reference

Auth required. All models and usage commands need an active CLI session (browser device-flow login — NOT the API key). If the command returns Not authenticated / AUTH_REQUIRED:

  1. Run the 3-step device-flow login in cli-usage.md (proactively open the verification URL using the OS-appropriate command, then poll immediately).
  2. Retry the original command after success.
  3. DO NOT ask the user for $DASHSCOPE_API_KEY / $QWEN_API_KEY — those are for model API calls, not CLI session. See Security & Credential Model above.
  4. DO NOT silently fall back to snapshots.
NeedCommand
Full model catalogqwencloud models list --all --format json
Filter by modalityqwencloud models list --input image --output text --format json
Single model detailsqwencloud models info <model-id> --format json
Keyword searchqwencloud models search "<query>" --format json
Free tier remainingqwencloud usage free-tier --format json
Auth statusqwencloud auth status --format json

Display rules: Parse --format json output and present a human-readable summary; never dump raw JSON. Display --format text output as-is, then add analysis after ---. See cli-usage.md for details.

CLI Error Handling — Quick Guide

When CLI fails, classify first, recover, then retry. Never silently fall back to snapshots.

CategoryRecovery (summary)
auth-failureRun 3-step login → retry the original command. Fall back only if user declines.
not-installedShow install command → ask user to install → retry. Do NOT silently use snapshot.
model-not-foundRun qwencloud models search "<keyword>" → propose top 3 → retry with correct ID.
network-timeoutRetry once after 2s; only after second failure ask whether to fall back.
rate-limitShow Rate Limit Console; user decides.
quota-exhaustedShow Billing Console; do NOT use snapshot.
version-mismatchSuggest qwencloud version --check or update-check skill → upgrade → retry.
otherShow raw stderr; link to docs; only after user opt-out, fall back.

Full classification, signals, and example flows: error-handling.md.

Pricing & Cost Estimation

  • Latest pricing: Run qwencloud models info <model> --format json first; use the CDN pricing reference linked by pricing.md only as fallback. Never invent a price.
  • Mandatory disclaimer: Every cost-related answer must end with the disclaimer in pricing-disclaimer.md (Chinese or English version, matching the user's response language). Omitting the disclaimer is a critical failure.
  • Free quota: Never assume free quota is available — use qwencloud usage free-tier to verify or direct the user to the console.
  • Usage / billing queries: Direct the user to the appropriate console page — see the table in pricing-disclaimer.md.

Update Check

When the user asks to check for updates ("check for updates", "check version", "is there a new version", "update skills"):

  1. Find qwencloud-update-check: Look for qwencloud-update-check/SKILL.md in sibling skill directories.
  2. If found — run: python3 <qwencloud-update-check-dir>/scripts/check_update.py --print-response and report the result. Use --force if the user asks to force-check.
  3. If not found — run qwencloud version --check and report the result.

Anti-Patterns

  • Never override a user-specified model — if the user explicitly chose a model, recommend nothing else for that request; only verify availability. Suggestions are allowed only when the user asks for them or their choice is genuinely unavailable (and the user still decides).
  • Never fabricate model names — only recommend models listed in the CDN catalogs or returned by CLI.
  • Never recommend a model outside the user's billing scope — Token Plan keys must only receive models from the Token Plan catalog linked above; PAYG keys may use the full catalog. Violating this causes hard failures for the user.
  • Never invent or guess any price figure — use CLI / pricing.md / official pricing page only. Fabricating a price is a critical failure.
  • Never silently fall back to snapshots when CLI errors out — apply error-handling.md recovery actions first.
  • Never assume free quota is available — quotas may have been consumed, expired, or removed. Always present the paid unit price first.
  • Never output API keys in plaintext — see Security section.
  • Never confuse CLI session with API key — CLI auth uses browser device-flow login; never offer $DASHSCOPE_API_KEY or $QWEN_API_KEY as a fix for CLI Not authenticated / AUTH_REQUIRED errors.
  • Never proactively fetch arbitrary URLs or trigger web searches. Fetch the documented CDN model catalogs when model data is needed; access other online sources only when CLI + CDN catalogs cannot answer AND the user confirms.
  • Never construct usage/billing/console URLs — only use the exact links listed in this skill or its references. If a URL is not listed, do not invent one.
  • Always include the cost disclaimer for any cost-related answer (see pricing-disclaimer.md).

References

SourcePurpose
cli-usage.mdCLI-first strategy, 3-step login, display rules, model detail URL
error-handling.mdCLI error classification & recovery
qwencloud-model-recommendations.md (CDN) (local fallback)Cross-skill recommendations, Token Plan, and thinking mode
pricing-disclaimer.mdPricing guidance + mandatory disclaimer + billing console links
pricing.mdStable billing guidance and CDN pricing fallback
qwencloud-model-list.md (CDN) (local fallback)Cross-domain model catalog snapshot
sources.mdOfficial documentation URLs
qwencloud models list --format jsonDynamic: full model catalog with pricing, features, quotas
qwencloud models info <id> --format jsonDynamic: single model details (pricing tiers, context, rate limits)
qwencloud models search "<q>" --format jsonDynamic: keyword-based model discovery
qwencloud usage free-tier --format jsonDynamic: remaining free tier quota per model

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Qwencloud Model Selector làm được gì?

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.

Vì sao nên dùng Qwencloud Model Selector trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Qwencloud Model Selector là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Qwencloud Model Selector trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/QwenCloud/qwencloud-ai/tree/main/skills/models/qwencloud-model-selector. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Qwencloud Model Selector?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Qwencloud Model Selector với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Qwencloud Model Selector với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Qwencloud Model Selector có miễn phí không?

Có. Kỹ năng này được QwenCloud phát hành trên GitHub theo giấy phép Apache-2.0. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇