qwencloud-text
БесплатноЗапускает вложенные скриптыНе проверенGenerate text, have conversations, write code, reason, and call functions with Qwen models and third-party models available on QwenCloud. TRIGGER when: user…
от QwenCloud★ 44 звезды на GitHubОб этом скилле
Qwen Text Chat (OpenAI-Compatible)
Generate text, conduct conversations, write code, and invoke tools using Qwen models through the OpenAI-compatible API. This skill is part of qwencloud/qwencloud-ai.
Skill directory
Use this skill's internal files to execute and learn. Load reference files on demand when the default path fails or you need details.
| Location | Purpose |
|---|---|
scripts/text.py |
Default execution — chat/completions request, streaming, output save |
references/execution-guide.md |
Fallback: curl, Python SDK, function calling, thinking mode |
references/api-guide.md |
API supplement and full code examples |
references/prompt-guide.md |
Prompt engineering: CO-STAR framework, CoT, few-shot, task steps |
references/sources.md |
Official documentation URLs (manual lookup only) |
Security
NEVER output any API key or credential in plaintext. Always use variable references ($QWENCLOUD_API_KEY in shell,
os.environ["QWENCLOUD_API_KEY"] in Python). The scripts accept QWENCLOUD_API_KEY, then QWEN_API_KEY, then
DASHSCOPE_API_KEY. Any check or detection of credentials must be non-plaintext: report
only status (e.g. "set" / "not set", "valid" / "invalid"), never the value. Never display contents of .env or config
files that may contain secrets.
When the API key is not configured, NEVER ask the user to provide it directly. Instead, help create a .env file with a placeholder (QWENCLOUD_API_KEY=sk-your-key-here) and instruct the user to replace it with their actual key from the QwenCloud Console. Only write the actual key value if the user explicitly requests it.
Key Compatibility
Scripts support both standard QwenCloud API keys (sk-...) and Token Plan keys (sk-sp-...). Token Plan keys are automatically routed to the Token Plan endpoint — see the Token Plan model catalog for supported models. If CDN access fails, use the local fallback.
Token Plan: do not use curl; always use the bundled Python script.
Coding Plan keys (also sk-sp- prefix but purchased via Coding Plan subscription) are for interactive coding tools only and will fail on these scripts. If qwencloud-ops-auth is installed, see its references/codingplan.md for details on key types, endpoint mapping, and error codes.
Detect the API key type without exposing the key:
python3 -c "
import sys; sys.path.insert(0, 'scripts')
from qwencloud_lib import detect_api_key_type
print(detect_api_key_type('scripts/qwencloud_lib.py'))
"
| Output | Meaning |
|---|---|
token-plan |
Token Plan key detected (sk-sp- prefix) |
payg |
Standard PAYG key detected |
not-set |
No API key found in environment |
Model Selection
🚫 CRITICAL — Never override user-specified parameters. If the user explicitly specifies a model (in prompt or request JSON), you MUST use exactly that model. Do NOT:
- Replace it with a "better suited" or newer model (e.g., swapping the user's
qwen3.7-maxfor a thinking model because the task "looks like reasoning")- Add parameters the user did not ask for (
enable_thinking,enable_search, style hints)- "Optimize" any explicit user choice
Selection guidance below applies only when the user has NOT specified a model.
Before selecting, recommending, or defaulting a model, fetch and read the current QwenCloud text model catalog. It contains recent Qwen general-purpose models, basic model information, recommendations, and the default model. For coding, translation, or third-party families, consult qwencloud-model-selector or the QwenCloud CLI. If CDN access fails, use the local fallback.
- User specified a model → MANDATORY: use that exact model — do not substitute, do not "optimize", do not add unrequested parameters.
- Consult the qwencloud-model-selector skill when model choice depends on requirement, scenario, or pricing.
- No signal, clear task → use the default from the model catalog.
⚠️ Important: The model catalog is a point-in-time snapshot and may be outdated. Model availability changes frequently. **Always check the official model list for the authoritative, up-to-date catalog before making model de
Установить qwencloud-text в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл qwencloud-text?
Generate text, have conversations, write code, reason, and call functions with Qwen models and third-party models available on QwenCloud. TRIGGER when: user asks to chat with Qwen, generate text, write code with Qwen, use Qwen function calling, call third-party models (deepseek, kimi, glm, etc.) via QwenCloud, or explicitly invokes this skill by name (e.g. use qwencloud-text). DO NOT TRIGGER when: using non-QwenCloud platforms (direct OpenAI API, Google Gemini API, etc.), general coding questions unrelated to QwenCloud, image/video understanding (use qwencloud-vision), image/video/audio generation.
Как установить скилл qwencloud-text?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл qwencloud-text запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic