Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

qianwen-model-selector

БесплатноБез исполняемых скриптовНе проверен

Recommend the best Qwen model and parameters. TRIGGER when: choosing between Qwen models, comparing Qwen model pricing, understanding Qwen model capabilities…

QianWen-AIот QianWen-AI★ 130 звёзд на GitHub

Об этом скилле

Qwen Model Selector (Advisor)

Detecting Key Type

Run this command to detect the API key type (outputs token-plan, payg, or not-set):

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 ('QIANWEN_API_KEY', 'DASHSCOPE_API_KEY') and k not in os.environ:
            os.environ[k] = v
key = os.environ.get('QIANWEN_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')
"
Output Billing mode Action
token-plan Token Plan (Credits) Fetch the current Token Plan model catalog and select only from it. Default to Team superset when edition unknown. If CDN access fails, use the local fallback.
payg Pay-as-you-go Full model catalog available; continue below.
not-set No key configured Do 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." Proceed based on their choice.

Windows: If python3 is not available, use python. The multi-line -c string works in both PowerShell and CMD. Alternatively, save the snippet to a temporary .py file and run it.

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 model catalogs or returned by CLI. This skill is part of QianWen-AI/qianwen-ai.

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.alicdn.com/skills-info/models/<path> and use the local file only if that CDN request fails.

Location Purpose
references/cli-usage.md CLI-first data strategy: when to use CLI, 3-step login flow, display rules
references/error-handling.md CLI error classification & recovery actions (auth, not-found, network, ...)
CDN model recommendations Cross-domain recommendations and Token Plan constraints; if unavailable, use the local fallback
references/pricing-disclaimer.md PAYG only: pricing disclaimer (CN/EN) + console links
references/pricing.md Stable billing units, cost caveats, and CDN pricing fallback
CDN model catalog Cross-domain model catalog snapshot; if unavailable, use the local fallback
references/sources.md Official documentation URLs (manual lookup only)

Prerequisites

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

qianwen version

If not installed:

npm install -g @qianwenai/qianwen-cli

Node.js >= 18 is required for the CLI. Without CLI, you can still answer point-in-time general navigation and basic model-information questions from the CDN catalogs. You cannot verify current availability, exact current prices, capability-search results beyond the snapshot, or account-specific quota information.

Securi

Полный SKILL.md на GitHub

Установить qianwen-model-selector в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

cdn/references/qianwen-audio-tts-models.mdcdn/references/qianwen-image-generation-models.mdcdn/references/qianwen-model-list.mdcdn/references/qianwen-model-pricing.mdcdn/references/qianwen-model-recommendations.mdcdn/references/qianwen-text-models.mdcdn/references/qianwen-token-plan-models.mdcdn/references/qianwen-video-generation-models.mdcdn/references/qianwen-vision-models.mdreferences/cli-usage.mdreferences/error-handling.mdreferences/pricing-disclaimer.mdreferences/pricing.mdreferences/sources.md

FAQ

Что делает скилл qianwen-model-selector?

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

Как установить скилл qianwen-model-selector?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл qianwen-model-selector запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить qianwen-model-selector с