File contents 智能视频剪辑 (las_video_edit)
当用户希望通过自然语言描述来剪辑、裁剪或检索视频内容时使用本 Skill。
注意事项(⚠️ 必须遵守)
千万不要让用户输入 AccessKey 和 SecretKey。
下载文件只能使用 las-cli tos download 命令(兼容 tos 和非 tos 资源)。
las-cli operators call 和 las-cli price 命令的输出结果非常重要,必须完整返回给用户。
工作流(严格按步骤执行)
复制此清单并跟踪进度:
执行进度:
- [ ] Step 0: 前置检查
- [ ] Step 1: 初始化与准备
- [ ] Step 2: 预估价格
- [ ] Step 3: 执行任务并呈现结果
- [ ] Step 4: 失败排查
Step 0: 前置检查
版本检查(必须) :请执行 las-cli install 0.3.8。若 las-cli 命令不存在,则执行 npm i -g "@volcengine/las-cli@0.3.8 "
新版本提醒 :请执行 npm info @volcengine/las-cli version 查看当前可用的最新 Skill 版本(las-cli 与 Skill 版本一一对应)。若返回版本高于本 Skill 标注版本,请先提示用户升级当前 Skill。升级方式:请用户发送自然语言指令 帮我安装byted-las-video-edit技能,等待自动完成安装即可。
认证检查 :优先使用运行时自动注入的平台身份;若当前环境未自动注入,再运行 las-cli config show 确认旧版凭证 las.apiKey 和 volcengine.region 已配置。
Step 1: 初始化与准备
Step 2: 预估价格(⚠️ 必须获得用户确认)
las-cli price 命令的输出结果非常重要,不要做任何精简、修改或摘要处理。
Step 3: 执行任务并呈现结果(⚠️ 直接输出命令执行结果,不要精简)
las-cli operators call 命令的输出结果非常重要,不要做任何精简、修改或摘要处理。
Step 4: 失败排查
保持原样。
检查任务状态 : las-cli task status <task_id>。
检查输入 : 确认 input_path 可访问。
检查配置 : las-cli config show。
1 --- 2 name: byted-las-video-edit 3 description: Byted Las Video Edit 4 --- 5
6 # 智能视频剪辑 (`las_video_edit`)
7
8 当用户希望通过自然语言描述来剪辑、裁剪或检索视频内容时使用本 Skill。
9
10 ## 注意事项(⚠️ 必须遵守)
11 - 千万不要让用户输入 AccessKey 和 SecretKey。
12 - 下载文件只能使用 `las-cli tos download` 命令(兼容 tos 和非 tos 资源)。
13 - `las-cli operators call` 和 `las-cli price` 命令的输出结果非常重要,必须完整返回给用户。
14
15 ## 工作流(严格按步骤执行)
16
17 复制此清单并跟踪进度:
18
19 ```text
20 执行进度:
21 - [ ] Step 0: 前置检查
22 - [ ] Step 1: 初始化与准备
23 - [ ] Step 2: 预估价格
24 - [ ] Step 3: 执行任务并呈现结果
25 - [ ] Step 4: 失败排查
26 ```
27
28 ### Step 0: 前置检查
29
30 - **版本检查(必须)**:请执行 las-cli install 0.3.8。若 las-cli 命令不存在,则执行 npm i -g "@volcengine/las-cli@0.3.8"
31 - **新版本提醒**:请执行 `npm info @volcengine/las-cli version` 查看当前可用的最新 Skill 版本(`las-cli` 与 Skill 版本一一对应)。若返回版本高于本 Skill 标注版本,请先提示用户升级当前 Skill。升级方式:请用户发送自然语言指令 `帮我安装byted-las-video-edit技能`,等待自动完成安装即可。
32 - **认证检查**:优先使用运行时自动注入的平台身份;若当前环境未自动注入,再运行 `las-cli config show` 确认旧版凭证 `las.apiKey` 和 `volcengine.region` 已配置。
33
34 ### Step 1: 初始化与准备
35
36 - **上传资源**: 若输入为本地视频,先上传到 TOS。
37 - **准备参数**: 创建 `params.json`,包含输入、输出和剪辑指令。
38 ```json
39 {
40 "input_path": "tos://my-bucket/inputs/xxx.mp4",
41 "output_path": "tos://my-bucket/outputs/video_edit/",
42 "query": "找出所有包含猫的片段"
43 }
44 ```
45
46 ### Step 2: 预估价格(⚠️ 必须获得用户确认)
47
48 `las-cli price` 命令的输出结果非常重要,不要做任何精简、修改或摘要处理。
49
50 - **算价**: 必须完整返回以下命令输出的结果(markdown 格式)
51 ```bash
52 las-cli price las_video_edit \
53 --params-file ./params.json \
54 --format markdown
55 ```
56 - **用户确认**: 输出预估价格后,**必须等待用户确认**。
57
58 ### Step 3: 执行任务并呈现结果(⚠️ 直接输出命令执行结果,不要精简)
59
60 `las-cli operators call` 命令的输出结果非常重要,不要做任何精简、修改或摘要处理。
61
62 - **执行**: 必须完整返回以下命令输出的结果(markdown 格式)
63 ```bash
64 las-cli operators call las_video_edit \
65 --params-file ./params.json \
66 --format markdown \
67 --out ./result.md
68 ```
69
70 ### Step 4: 失败排查
71
72 保持原样。
73
74 - **检查任务状态**: `las-cli task status <task_id>`。
75 - **检查输入**: 确认 `input_path` 可访问。
76 - **检查配置**: `las-cli config show`。
bytedance/agentkit-samples/tree/main/skills/byted-las-video-edit commit 13588b098d
Frequently asked questions How do I install the Byted Las Video Edit skill? Run npx skillmds@latest add bytedance/byted-las-video-edit in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
What does the Byted Las Video Edit skill do? Byted Las Video Edit It is listed under Coding & Dev Tools on SkillMD.
Is Byted Las Video Edit safe to use? This skill has not completed SkillMD's automated safety review yet. Capability flags: reads secrets. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
Which AI agents work with Byted Las Video Edit? This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Is Byted Las Video Edit free to use? Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
Who published Byted Las Video Edit? bytedance (@bytedance) published this skill. Their other Agent Skills are listed on their SkillMD profile.