Skill: cinience/aliyun-modelstudio-entry (version 1.0.0)

--- name: aliyun-modelstudio-entry description: Use when routing Alibaba Cloud Model Studio requests to the right local skill (Qwen text, coder, deep research, image, video, audio, search and multimodal skills). Use when the user asks for Model Studio without specifying a capability. version: 1.0.0 --- Category: task # Alibaba Cloud Model Studio Entry (Routing) Route requests to existing local skills to avoid duplicating model/parameter details. ## Prerequisites - Install SDK (virtual environment recommended to avoid PEP 668 restrictions): ```bash python3 -m venv .venv . .venv/bin/activate python -m pip install dashscope ``` - Configure `DASHSCOPE_API_KEY` (environment variable preferred; or `dashscope_api_key` in `~/.alibabacloud/credentials`). ## Routing Table (currently supported in this repo) | Need | Target skill | | --- | --- | | Text generation / reasoning / tool-calling | [REDACTED_SECRET] | | Coding / repository reasoning | [REDACTED_SECRET] | | Deep multi-step research | [REDACTED_SECRET] | | Text-to-image / image generation | [REDACTED_SECRET] | | Image editing | [REDACTED_SECRET] | | Text-to-video / image-to-video (t2v/i2v) | [REDACTED_SECRET] | | Non-Wan PixVerse video generation | [REDACTED_SECRET] | | Reference-to-video (r2v) | `skills/ai/video/aliyun-wan-r2v/` | | Digital human talking / singing avatar | [REDACTED_SECRET] | | Expressive portrait video (EMO) | `skills/ai/video/aliyun-emo/` | | Lightweight portrait animation (LivePortrait) | [REDACTED_SECRET] | | Motion transfer / dancing avatar (AnimateAnyone) | [REDACTED_SECRET] | | Emoji / meme portrait video | `skills/ai/video/aliyun-emoji/` | | Text-to-speech (TTS) | [REDACTED_SECRET] | | Speech recognition/transcription (ASR) | [REDACTED_SECRET] | | Realtime speech recognition | [REDACTED_SECRET] | | Realtime TTS | [REDACTED_SECRET] | | Live speech translation | [REDACTED_SECRET] | | CosyVoice voice clone | [REDACTED_SECRET] | | CosyVoice voice design | [REDACTED_SECRET] | | Voice clone | [REDACTED_SECRET] | | Voice design | [REDACTED_SECRET] | | Omni multimodal interaction | [REDACTED_SECRET] | | Visual reasoning | [REDACTED_SECRET] | | OCR / document parsing / table parsing | [REDACTED_SECRET] | | Text embeddings | [REDACTED_SECRET] | | Multimodal embeddings | [REDACTED_SECRET] | | Rerank | [REDACTED_SECRET] | | Vector retrieval | [REDACTED_SECRET] or [REDACTED_SECRET] or [REDACTED_SECRET] | | Document understanding | [REDACTED_SECRET] | | Video editing | [REDACTED_SECRET] | | Video lip-sync replacement / retalk | [REDACTED_SECRET] | | Model list crawl/update | [REDACTED_SECRET] | ## When Not Matched - Clarify model capability and input/output type first. - If capability is missing in repo, add a new skill first. ## Common Missing Capabilities In This Repo (remaining gaps) - image translation - virtual try-on / digital human / advanced video personas - For multimodal/ASR download failures, prefer public URLs listed above. - For ASR parameter errors, use data URI in `input_audio.data`. - For multimodal embedding 400, ensure `input.contents` is an array. ## Async Task Polling Template (video/long-running tasks) When `X-DashScope-Async: enable` returns `task_id`, poll as follows: ``` GET https://dashscope.aliyuncs.com/api/v1/tasks/<task_id> Authorization: Bearer $DASHSCOPE_API_KEY ``` Example result fields (success): ``` { "output": { "task_status": "SUCCEEDED", "video_url": "https://..." } } ``` Notes: - Recommended polling interval: 15-20 seconds, max 10 attempts. - After success, download `output.video_url`. ## Clarifying questions (ask when uncertain) 1. Are you working with text, image, audio, or video? 2. Is this generation, editing/understanding, or retrieval? 3. Do you need speech (TTS/ASR/live translate) or retrieval (embedding/rerank/vector DB)? 4. Do you want runnable SDK scripts or just API/parameter guidance? ## References - Model list and links:`output/alicloud-model-studio-models-summary.md` - API/parameters/examples: see target sub-skill `SKILL.md` and `references/*.md` - Official source list:`references/sources.md` ## Validation ```bash mkdir -p output/aliyun-modelstudio-entry echo "validation_placeholder" > output/aliyun-modelstudio-entry/validate.txt ``` Pass criteria: command exits 0 and `output/aliyun-modelstudio-entry/validate.txt` is generated. ## Output And Evidence - Save artifacts, command outputs, and API response summaries under [REDACTED_SECRET]. - Include key parameters (region/resource id/time range) in evidence files for reproducibility. ## Workflow 1) Confirm user intent, region, identifiers, and whether the operation is read-only or mutating. 2) Run one minimal read-only query first to verify connectivity and permissions. 3) Execute the target operation with explicit parameters and bounded scope. 4) Verify results and save output/evidence files.

path: agents/openai.yaml
content: interface:
  display_name: "Alibaba Cloud AI Entry Modelstudio"
  short_description: "Model Studio capability routing"
  default_prompt: "Use $alicloud-ai-entry-modelstudio to complete this ai/entry task on Alibaba Cloud."


path: references/sources.md
content: 官方文档来源（用于后续更新）
============================

- https://help.aliyun.com/zh/model-studio/models
- https://help.aliyun.com/zh/model-studio/newly-released-models
- https://help.aliyun.com/zh/model-studio/openai-compatible
- https://dashscope.aliyuncs.com/api/v1/tasks/


Security scan verdicts — ClawScan: clean | static analysis: clean | VirusTotal: clean | SkillSpector: clean (LOW)