/byted-las-video-edit
智能视频剪辑:用自然语言描述要保留的片段/人物/事件,自动从长视频抽取剪辑(可用参考图做人物/物体匹配)。当用户要按描述找片段、提取高光或做智能剪辑时触发。
$ npx -y skills add bytedance/agentkit-samples --skill byted-las-video-edit --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
/byted-las-video-edit
Context preview
The summary Claude sees to decide when to auto-load this skill.
智能视频剪辑:用自然语言描述要保留的片段/人物/事件,自动从长视频抽取剪辑(可用参考图做人物/物体匹配)。当用户要按描述找片段、提取高光或做智能剪辑时触发。
SKILL.md
byted-las-video-edit.SKILL.mdname: byted-las-video-edit
version: "0.3.8"
description: "智能视频剪辑:用自然语言描述要保留的片段/人物/事件,自动从长视频抽取剪辑(可用参考图做人物/物体匹配)。当用户要按描述找片段、提取高光或做智能剪辑时触发。"
metadata:
category: productivity
lasCliVersion: "0.3.8"
requires:
bins:
- las-cli
cliHelp: "las-cli operators help las_video_edit"
operatorId: "las_video_edit"
openclaw:
identity:
- type: tip
env:
- VE_TIP_TOKEN
required: true智能视频剪辑 (`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: 初始化与准备
- **上传资源**: 若输入为本地视频,先上传到 TOS。
- **准备参数**: 创建 `params.json`,包含输入、输出和剪辑指令。
{
"input_path": "tos://my-bucket/inputs/xxx.mp4",
"output_path": "tos://my-bucket/outputs/video_edit/",
"query": "找出所有包含猫的片段"
}Step 2: 预估价格(⚠️ 必须获得用户确认)
`las-cli price` 命令的输出结果非常重要,不要做任何精简、修改或摘要处理。
- **算价**: 必须完整返回以下命令输出的结果(markdown 格式)
las-cli price las_video_edit \
--params-file ./params.json \
--format markdown- **用户确认**: 输出预估价格后,**必须等待用户确认**。
Step 3: 执行任务并呈现结果(⚠️ 直接输出命令执行结果,不要精简)
`las-cli operators call` 命令的输出结果非常重要,不要做任何精简、修改或摘要处理。
- **执行**: 必须完整返回以下命令输出的结果(markdown 格式)
las-cli operators call las_video_edit \
--params-file ./params.json \
--format markdown \
--out ./result.mdStep 4: 失败排查
保持原样。
- **检查任务状态**: `las-cli task status <task_id>`。
- **检查输入**: 确认 `input_path` 可访问。
- **检查配置**: `las-cli config show`。
Read more
name: byted-las-video-edit
version: "0.3.8"
description: "智能视频剪辑:用自然语言描述要保留的片段/人物/事件,自动从长视频抽取剪辑(可用参考图做人物/物体匹配)。当用户要按描述找片段、提取高光或做智能剪辑时触发。"
metadata:
category: productivity
lasCliVersion: "0.3.8"
requires:
bins:
- las-cli
cliHelp: "las-cli operators help las_video_edit"
operatorId: "las_video_edit"
openclaw:
identity:
- type: tip
env:
- VE_TIP_TOKEN
required: true智能视频剪辑 (`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: 初始化与准备
- **上传资源**: 若输入为本地视频,先上传到 TOS。
- **准备参数**: 创建 `params.json`,包含输入、输出和剪辑指令。
{
"input_path": "tos://my-bucket/inputs/xxx.mp4",
"output_path": "tos://my-bucket/outputs/video_edit/",
"query": "找出所有包含猫的片段"
}Step 2: 预估价格(⚠️ 必须获得用户确认)
`las-cli price` 命令的输出结果非常重要,不要做任何精简、修改或摘要处理。
- **算价**: 必须完整返回以下命令输出的结果(markdown 格式)
las-cli price las_video_edit \
--params-file ./params.json \
--format markdown- **用户确认**: 输出预估价格后,**必须等待用户确认**。
Step 3: 执行任务并呈现结果(⚠️ 直接输出命令执行结果,不要精简)
`las-cli operators call` 命令的输出结果非常重要,不要做任何精简、修改或摘要处理。
- **执行**: 必须完整返回以下命令输出的结果(markdown 格式)
las-cli operators call las_video_edit \
--params-file ./params.json \
--format markdown \
--out ./result.mdStep 4: 失败排查
保持原样。
- **检查任务状态**: `las-cli task status <task_id>`。
- **检查输入**: 确认 `input_path` 可访问。
- **检查配置**: `las-cli config show`。
欢迎来到 AgentKit 代码工坊(Samples)仓库! AgentKit 是火山引擎推出的企业级 AI Agent 开发平台,为开发者提供完整的 Agent 构建、部署和运维解决方案。平台通过标准化的开发工具链和云原生基础设施,显著降低复杂智能体应用的开发部署门槛。 本代码库包含了一系列示例和教程,帮助您理解、实现和集成 AgentKit 的各项功能到您的应用中。
Other skills on agentkit-samples.
- /code-optimization
Optimize code performance through iterative improvements (max 2 rounds). Benchmark execution time and memory usage, compare against baseline implementations, and generate detailed optimization reports. Supports C++, Python, Java, Rust, and other languages.
Open skill - /image-video-gen
根据文字描述生成视频,一个生成图片和视频的工作流技能。依赖 skills: byted-web-search, image-generate, video-generate。注意:此 workflow 没有执行脚本,只是一个描述性的文档。
Open skill - /skills-management
Manage AgentKit skills, SkillHub/skillhub, skill centers, and skill spaces. Use this skill whenever the user has a management intent for AgentKit skills, skill中心, skill 空间, skill space, or skill hub, including listing, inspecting, downloading, fetching, uploading, publishing,
Open skill - /tos-file-access
Upload files or directories to TOS-compatible object storage for Volcano Engine or BytePlus and download files from URLs. Use this skill when (1) Upload Agent-generated files or directories for sharing, (2) Download files from URLs before Agent processing.
Open skill - /veadk-go-skills
根据用户的功能需求,完成与 VeADK-Go 相关的功能; 包括:直接根据需求生成 Agent;将Enio Agent转换为VeADK-Go Agent。
Open skill - /veadk-skills
根据用户的功能需求,完成与 VeADK 相关的功能。
Open skill

