alibabacloud-bailian-m…
Version v20261015 (date-based release, YYYYMMDD). Explain, evaluate, demonstrate, provision, and integrate Alibaba Cloud Bailian…
Alibaba Cloud IMS (Intelligent Media Services) based video translation Skill. Supports subtitle extraction (ASR/OCR), translation, and speech synthesis translation modes. Trigger words: "视频翻译", "translate video", "翻译视频", "字幕翻译", "video translation"
Claude Code
$ npx -y skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-video-translation --agent claude-code
Codex
$ npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-video-translation -a codex -y
Cursor
$ npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-video-translation -a cursor -y
Gemini CLI
$ npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-video-translation -a gemini-cli -y
GitHub Copilot
$ npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-video-translation -a github-copilot -y
OpenCode
$ npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-video-translation -a opencode -y
Windsurf
$ npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-video-translation -a windsurf -y
name: alibabacloud-video-translation description: | Alibaba Cloud IMS (Intelligent Media Services) based video translation Skill. Supports subtitle extraction (ASR/OCR), translation, and speech synthesis translation modes. Trigger words: "视频翻译", "translate video", "翻译视频", "字幕翻译", "video translation"
One-click video translation powered by Alibaba Cloud IMS, supporting subtitle-level and speech-level translation.
---
> **IMPORTANT**: Different APIs use different address formats!
| API | Address Format | Example | |-----|----------------|---------| | `SubmitIProductionJob` (subtitle extraction) | **`oss://` format** | `oss://my-bucket/videos/test.mp4` | | `SubmitVideoTranslationJob` (video translation) | **HTTP URL format** | `https://my-bucket.oss-cn-shanghai.aliyuncs.com/videos/test.mp4` |
> **Key**: Subtitle extraction uses `oss://`, video translation uses HTTP URL!
| User Input Type | Processing Method | |-----------------|-------------------| | HTTP URL format | Use directly for video translation; convert to `oss://` if subtitle extraction needed | | `oss://` format | Use directly for subtitle extraction; convert to HTTP URL for video translation | | Local video | **MUST ask** for OSS upload path, save both formats after upload |
oss:// format ⇄ HTTP URL format
oss://my-bucket/videos/test.mp4
⇄
https://my-bucket.oss-cn-shanghai.aliyuncs.com/videos/test.mp4**Conversion Formula**:
User provides local video path
│
├─ AskUserQuestion: "Please provide OSS upload path (format: oss://<bucket>/<path>/<filename>.mp4)"
│
├─ User specifies upload path
│ ├─ Check if Bucket exists
│ ├─ Upload file: aliyun oss cp <local_path> <oss_path>
│ ├─ Save oss:// format → for subtitle extraction
│ └─ Save HTTP URL format → for video translation
│
└─ User does not specify path → STOP, user MUST provide upload path**Upload Command**:
aliyun oss cp <local_path> oss://<bucket>/<path>/<filename>.mp4
**Save both formats after upload**:
Local: /Users/demo/videos/test.mp4
Uploaded to: oss://my-bucket/videos/test.mp4
├─ oss:// format: oss://my-bucket/videos/test.mp4 (for subtitle extraction)
└─ HTTP URL: https://my-bucket.oss-cn-shanghai.aliyuncs.com/videos/test.mp4 (for video translation)---
> **Strict Requirement**: Agent MUST execute in phase order, cannot proceed without passing current phase!
| Check Item | Command | Pass Condition | Failure Handling | |------------|---------|----------------|------------------| | CLI version | `aliyun version` | >= 3.3.1 | STOP, see [cli-installation-guide.md](references/cli-installation-guide.md) | | Credential status | `aliyun configure list` | Valid status | STOP, guide configuration | | Plugin installation | `aliyun configure set --auto-plugin-install true` | Set | Auto-set |
> **HARD-GATE**: Cannot proceed with any subsequent operations without passing!
---
AskUserQuestion: "Do you need subtitle translation (translate subtitles only) or speech translation (translate subtitles + replace voiceover)?" ┌─ Subtitle translation → NeedSpeechTranslate: false └─ Speech translation → NeedSpeechTranslate: true ⚠️ No reply received → STOP, cannot proceed!
> **DO NOT infer translation mode from input type!**
---
AskUserQuestion: "Do you need to erase original subtitles from the video? Do you need to burn-in translated subtitles?" ⚠️ No reply received → STOP, cannot proceed!
**Parameter Mapping**:
| Feature | Parameter | Value | |---------|-----------|-------| | Erase original subtitles | `DetextArea` | `"Auto"` / coordinates / not set (no erasure) | | Burn-in new subtitles | `SubtitleConfig` | config object / not set (no burn-in) |
---
| Condition | Processing Method | |-----------|-------------------| | User explicitly specifies | Use user's path | | User does not specify | Use default path and inform user |
**Default Output Rules**:
> DO NOT use shell variables, use Python: `python3 -c "import random; print(''.join(random.choices('abcdefghijkmnpqrstuvwxyz23456789', k=8)))"`
---
| Trigger Condition | Processing Method | |-------------------|-------------------| | User chooses to review subtitles | BLOCKING, MUST wait for user confirmation of review result | | User does not need review | Non-blocking, proceed |
> **CRITICAL**: After subtitle extraction, MUST output content as-is for user review, DO NOT change format!
---
> **Key Points**: > 1. When user inputs local video, MUST first upload to OSS and get HTTP URL > 2. When user does not provide subtitle, MUST ask if subtitle extraction and review is needed
User inputs video
│
├─ Local video?
│ └─ Yes → AskUserQuestion: "Please provide OSS upload path"
│ ├─ User provides path → Upload to OSS → Convert to HTTP URL → Continue
│ └─ User does not provide → STOP
│
├─ oss:// format?
│ └─ Yes → Inform user to convert to HTTP URL format
│
└─ HTTP URL format? → Continue
│
├─ User provides SRT file?
│ ├─ Yes → Input tyOfficial Alibaba Cloud Agent Skills collection, providing AI agents with rich Alibaba Cloud product capabilities and general-purpose tooling.
Version v20261015 (date-based release, YYYYMMDD). Explain, evaluate, demonstrate, provision, and integrate Alibaba Cloud Bailian…
Alibaba Cloud Parse-X intelligent document parsing and extraction tool. Supports two capabilities: (1) Parse — convert documents,…
Execute code in a secure cloud sandbox via AgentBay SDK. Use this skill whenever users request to run, execute, or evaluate code…
Operate Alibaba Cloud AgentLoop Dataset resources with aliyun CLI and the AgentLoop API version 2026-05-20. Use when requests…
Orchestrate AgentLoop evaluation workflows through the Aliyun CLI plugin with safe previews, saved evaluator and evaluator-skill…
Proactively use AgentLoop Recall to retrieve prior Alibaba Cloud AgentLoop experience through the bundled SearchContext CLI…
Use when running, building, or managing Linux containers on macOS, or when a task involves Docker, docker compose, Lima, Colima,…
Operate FrontendExtension (FE) resources in frontend-forge: create, update, rebuild, inspect package artifacts, download…
Entry point for AI-agent work on AWS: pick a runtime, plan a migration for existing workloads, and build an executable POC — one…
Build, debug, or review Cloudflare Agents SDK applications using the agents package.