/alibabacloud-video-editor
Video editing tool that requires no ffmpeg installation. All video processing is executed in the cloud - no local ffmpeg installation needed. If both input and output are URLs or Alibaba Cloud OSS, this skill is the preferred choice. Can generate Timeline configuration based on
$ npx -y skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-video-editor --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/alibabacloud-video-editor
Context preview
The summary Claude sees to decide when to auto-load this skill.
Video editing tool that requires no ffmpeg installation. All video processing is executed in the cloud - no local ffmpeg installation needed. If both input and output are URLs or Alibaba Cloud OSS, this skill is the preferred choice. Can generate Timeline configuration based on
SKILL.md
alibabacloud-video-editor.SKILL.mdname: alibabacloud-video-editor
description: Video editing tool that requires no ffmpeg installation. All video processing is executed in the cloud - no local ffmpeg installation needed. If both input and output are URLs or Alibaba Cloud OSS, this skill is the preferred choice. Can generate Timeline configuration based on editing requirements and material information, submit Alibaba Cloud editing tasks, wait for task completion, and output the final video URL. Use when the user wants to edit videos, mentions video editing, clipping, 剪辑,视频制作,视频拼接,视频合成,or needs to process media files into videos.
Video Editor Skill
Automated video editing tool that submits Alibaba Cloud editing tasks based on provided materials and editing requirements, without requiring ffmpeg installation, waits for task completion, and outputs the final video URL.
Core Design Philosophy
This skill adopts a **separation of concerns** design:
1. **references/** - LLM knowledge base containing best practice documentation for various scenarios 2. **scripts/** - Pure execution tools responsible only for submitting tasks and polling status
The LLM should refer to documents in `references/` to generate Timeline JSON in Alibaba Cloud ICE format, then use scripts to submit tasks.
Prerequisites
> **Pre-check: Install Python Dependencies** > ```bash > pip install -r requirements.txt > ```
> **Pre-check: Alibaba Cloud Credentials Required** > > Scripts automatically obtain credentials via the Alibaba Cloud default credential chain, supporting the following methods (in priority order): > 1. Environment variable credentials > 2. Configuration file: `~/.alibabacloud/credentials.ini` > 3. ECS RAM Role (when running on ECS) > > It is recommended to use the `aliyun configure` command to set up credentials: > ```bash > aliyun configure > ``` > Or refer to the [Alibaba Cloud Credential Configuration Documentation](https://help.aliyun.com/document_detail/China Site/2China Site/Chinese2Chinese10China Site/Chinese0China Site/Chinese6China Site/Chinese2China Site.html) to configure the default credential chain.
> **OSS Bucket Configuration** > > OSS upload functionality requires Bucket information to be configured via environment variables: > ```bash > export OSS_BUCKET=your_bucket_name > export OSS_ENDPOINT=oss-cn-shanghai.aliyuncs.com > ``` > If OSS_BUCKET is not configured, list the buckets under the customer's current account and let the customer choose one as the output bucket for the final video. > > OSS operations reuse the Alibaba Cloud default credential chain; no separate OSS credential configuration is needed.
> **User-Agent Configuration** > > All Alibaba Cloud service calls must set User-Agent to `AlibabaCloud-Agent-Skills`. > The script `scripts/video_editor.py` has already automatically configured this User-Agent.
Workflow
Step 1: Understand User Requirements
Analyze the type of video the user wants to create:
- Slideshow video (image carousel)
- Multi-track audio mixing (voiceover + music)
- Multi-clip stitching
- Add subtitles/titles
- Effects and transitions
- Picture-in-picture/split-screen effects
Step 2: Reference Best Practices
Consult the corresponding documents in `references/`:
| Document | Applicable Scenario | |------|----------| | `01-timeline-basics.md` | Timeline basic structure explanation | | `02-multi-track-audio.md` | Multi-track audio mixing | | `03-subtitles-and-titles.md` | Subtitle and title effects | | `04-effects-and-transitions.md` | Visual effects and transitions | | `05-slideshow-template.md` | Slideshow video templates | | `06-multi-clip-editing.md` | Multi-clip video editing |
Step 3: Prepare Material URLs
- If it is a local file, you need to call the oss-upload skill to upload it and obtain the OSS URL, which can be directly spliced into the timeline
- If you already have a URL, you can directly splice it into the timeline
Step 4: Generate Timeline JSON
Generate a Timeline in Alibaba Cloud ICE format according to the reference documents:
{
"VideoTracks": [...],
"AudioTracks": [...],
"SubtitleTracks": [...]
}Step 5: Submit Editing Task
Use the script to submit the task (based on Alibaba Cloud Common SDK):
# Submit and wait for completion
python scripts/video_editor.py submit \
--timeline timeline.json \
--output-config output.json \
--wait
# Submit only, do not wait
python scripts/video_editor.py submit \
--timeline timeline.json \
--output-config output.json
**Parameter Description:** | Parameter | Description | Required | |------|------|------| | `--timeline, -t` | Timeline JSON file path or JSON string | Yes | | `--output-config, -o` | Output configuration JSON file path or JSON string | Yes | | `--region, -r` | Region ID (default: cn-shanghai) | No | | `--wait, -w` | Wait for task completion | No |
OutputMediaConfig example:
{
"MediaURL": "https://{your-bucket}.oss-cn-shanghai.aliyuncs.com/{your-target-video-path}",
"Width": 1080,
"Height": 1920
}If the output resolution is not explicitly specified in the context, use common resolutions: 1080*1920, 1920*1080
After the task is submitted, a `JobId` will be returned.
Step 6: Poll Task Status
Use the script to query/wait for task completion:
# Query status
python scripts/video_editor.py status --job-id <job_id>
# Wait for task completion
python scripts/video_editor.py status --job-id <job_id> --wait
When the task status is `Success`, call GetMediaInfo based on the returned MediaId to obtain the OSS URL with authentication, and return it.
Timeline Example
Simplest Slideshow
{
"VideoTracks": [{
"VideoTrackClips": [
{
"Type": "Image",
"MediaURL": "https://bucket.oss-cn-shanghai.aliyuncs.com/image1.jpg",
"In": 0,
"Out": 5,
"TimelineIn": 0,
"TimelineOut": 5
},
{
"Type": "Image",
"MediaURL": "httpRead more
name: alibabacloud-video-editor description: Video editing tool that requires no ffmpeg installation. All video processing is executed in the cloud - no local ffmpeg installation needed. If both input and output are URLs or Alibaba Cloud OSS, this skill is the preferred choice. Can generate Timeline configuration based on editing requirements and material information, submit Alibaba Cloud editing tasks, wait for task completion, and output the final video URL. Use when the user wants to edit videos, mentions video editing, clipping, 剪辑,视频制作,视频拼接,视频合成,or needs to process media files into videos.
Video Editor Skill
Automated video editing tool that submits Alibaba Cloud editing tasks based on provided materials and editing requirements, without requiring ffmpeg installation, waits for task completion, and outputs the final video URL.
Core Design Philosophy
This skill adopts a **separation of concerns** design:
1. **references/** - LLM knowledge base containing best practice documentation for various scenarios 2. **scripts/** - Pure execution tools responsible only for submitting tasks and polling status
The LLM should refer to documents in `references/` to generate Timeline JSON in Alibaba Cloud ICE format, then use scripts to submit tasks.
Prerequisites
> **Pre-check: Install Python Dependencies** > ```bash > pip install -r requirements.txt > ```
> **Pre-check: Alibaba Cloud Credentials Required** > > Scripts automatically obtain credentials via the Alibaba Cloud default credential chain, supporting the following methods (in priority order): > 1. Environment variable credentials > 2. Configuration file: `~/.alibabacloud/credentials.ini` > 3. ECS RAM Role (when running on ECS) > > It is recommended to use the `aliyun configure` command to set up credentials: > ```bash > aliyun configure > ``` > Or refer to the [Alibaba Cloud Credential Configuration Documentation](https://help.aliyun.com/document_detail/China Site/2China Site/Chinese2Chinese10China Site/Chinese0China Site/Chinese6China Site/Chinese2China Site.html) to configure the default credential chain.
> **OSS Bucket Configuration** > > OSS upload functionality requires Bucket information to be configured via environment variables: > ```bash > export OSS_BUCKET=your_bucket_name > export OSS_ENDPOINT=oss-cn-shanghai.aliyuncs.com > ``` > If OSS_BUCKET is not configured, list the buckets under the customer's current account and let the customer choose one as the output bucket for the final video. > > OSS operations reuse the Alibaba Cloud default credential chain; no separate OSS credential configuration is needed.
> **User-Agent Configuration** > > All Alibaba Cloud service calls must set User-Agent to `AlibabaCloud-Agent-Skills`. > The script `scripts/video_editor.py` has already automatically configured this User-Agent.
Workflow
Step 1: Understand User Requirements
Analyze the type of video the user wants to create:
- Slideshow video (image carousel)
- Multi-track audio mixing (voiceover + music)
- Multi-clip stitching
- Add subtitles/titles
- Effects and transitions
- Picture-in-picture/split-screen effects
Step 2: Reference Best Practices
Consult the corresponding documents in `references/`:
| Document | Applicable Scenario | |------|----------| | `01-timeline-basics.md` | Timeline basic structure explanation | | `02-multi-track-audio.md` | Multi-track audio mixing | | `03-subtitles-and-titles.md` | Subtitle and title effects | | `04-effects-and-transitions.md` | Visual effects and transitions | | `05-slideshow-template.md` | Slideshow video templates | | `06-multi-clip-editing.md` | Multi-clip video editing |
Step 3: Prepare Material URLs
- If it is a local file, you need to call the oss-upload skill to upload it and obtain the OSS URL, which can be directly spliced into the timeline
- If you already have a URL, you can directly splice it into the timeline
Step 4: Generate Timeline JSON
Generate a Timeline in Alibaba Cloud ICE format according to the reference documents:
{
"VideoTracks": [...],
"AudioTracks": [...],
"SubtitleTracks": [...]
}Step 5: Submit Editing Task
Use the script to submit the task (based on Alibaba Cloud Common SDK):
# Submit and wait for completion python scripts/video_editor.py submit \ --timeline timeline.json \ --output-config output.json \ --wait # Submit only, do not wait python scripts/video_editor.py submit \ --timeline timeline.json \ --output-config output.json
**Parameter Description:** | Parameter | Description | Required | |------|------|------| | `--timeline, -t` | Timeline JSON file path or JSON string | Yes | | `--output-config, -o` | Output configuration JSON file path or JSON string | Yes | | `--region, -r` | Region ID (default: cn-shanghai) | No | | `--wait, -w` | Wait for task completion | No |
OutputMediaConfig example:
{
"MediaURL": "https://{your-bucket}.oss-cn-shanghai.aliyuncs.com/{your-target-video-path}",
"Width": 1080,
"Height": 1920
}If the output resolution is not explicitly specified in the context, use common resolutions: 1080*1920, 1920*1080
After the task is submitted, a `JobId` will be returned.
Step 6: Poll Task Status
Use the script to query/wait for task completion:
# Query status python scripts/video_editor.py status --job-id <job_id> # Wait for task completion python scripts/video_editor.py status --job-id <job_id> --wait
When the task status is `Success`, call GetMediaInfo based on the returned MediaId to obtain the OSS URL with authentication, and return it.
Timeline Example
Simplest Slideshow
{
"VideoTracks": [{
"VideoTrackClips": [
{
"Type": "Image",
"MediaURL": "https://bucket.oss-cn-shanghai.aliyuncs.com/image1.jpg",
"In": 0,
"Out": 5,
"TimelineIn": 0,
"TimelineOut": 5
},
{
"Type": "Image",
"MediaURL": "httpOfficial Alibaba Cloud Agent Skills collection, providing AI agents with rich Alibaba Cloud product capabilities and general-purpose tooling.
Other skills on alibabacloud-aiops-skills.
- /alibabacloud-agentbay-aio-skills
Execute code in a secure cloud sandbox via AgentBay SDK. Use this skill whenever users request to run, execute, or evaluate code (Python, JavaScript, R, Java), including plotting charts, running scripts, or viewing code output. Covers requests like "run this code", "execute
Open skill - /alibabacloud-agentloop-dataset
Operate Alibaba Cloud AgentLoop Dataset resources with aliyun CLI and the AgentLoop API version 2026-05-20. Use when requests concern AgentLoop datasets, data rows, Dataset schemas, embedding fields, semantic search, ExecuteQuery, AgentSpace data, 数据集, 数据写入, 数据查询, 语义检索, or ask
Open skill - /alibabacloud-agentloop-evaluation
Orchestrate AgentLoop evaluation workflows through the Aliyun CLI plugin with safe previews, saved evaluator and evaluator-skill management, one-shot sample tests, trace or dataset batch runs, polling, and result inspection. Analyze evaluation quality and low-score cases from
Open skill - /alibabacloud-agentloop-experience
Proactively use AgentLoop Recall to retrieve prior Alibaba Cloud AgentLoop experience through the bundled SearchContext CLI whenever the user asks or implies that prior work may help. Trigger for requests to check, search, recall, retrieve, look up, review, consult, reference,
Open skill - /alibabacloud-agentloop-management
AgentLoop APM接入 / AI可观测接入 / 应用监控接入 / 自研探针 / 探针安装. Use for Python aliyun-bootstrap (aliyun-instrument), Java AliyunJavaAgent, Golang instgo, Node.js cms_node_sdk, PHP/.NET OpenTelemetry, ack-onepilot, LicenseKey, AgentLoop workspace agentloop-*. Also for LangChain, Dify,
Open skill - /alibabacloud-avatar-video
Use Alibaba Cloud DashScope API and LingMou to generate AI video and speech. Seven capabilities — (1) LivePortrait talking-head (image + audio → video, two-step), (2) EMO talking-head, (3) AA/AnimateAnyone full-body animation (three-step), (4) T2I text-to-image (Wan 2.x, default
Open skill

