algorithmic-art
Generate deterministic SVG algorithmic artwork. Invoke when the user asks for geometric,…
This Skill helps users understand video context by analyzing danmaku and subtitle content, automatically extracts and splices video clips based on editing requests, and uses FFmpeg to complete transition effects and final synthesis.
$ npx -y skills add bytedance/agentkit-samples --skill byted-mediakit-videoedit --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/byted-mediakit-videoeditContext preview
The summary Claude sees to decide when to auto-load this skill.
This Skill helps users understand video context by analyzing danmaku and subtitle content, automatically extracts and splices video clips based on editing requests, and uses FFmpeg to complete transition effects and final synthesis.
name: byted-mediakit-videoedit description: > AI Video Intelligent Editing Skill. Input video file paths (supports multiple), optional danmaku file paths, optional subtitle file paths, combine danmaku and subtitle content to understand video context, automatically extract corresponding time segments based on user editing requests (such as "extract all highlight moments", "cut out the part explaining xxx"), splice and add transition effects, and finally synthesize the output video using FFmpeg. When users mention "cut video based on danmaku", "extract danmaku highlight segments", "danmaku analysis editing", "find highlights from danmaku", "intelligent editing", this Skill must be triggered. version: v1.0.1
This Skill helps users understand video context by analyzing danmaku and subtitle content, automatically extracts and splices video clips based on editing requests, and uses FFmpeg to complete transition effects and final synthesis.
> **Note:** Subtitles and danmaku are the only basis for understanding video content. If neither is provided for a video, its content cannot be understood, and only explicit time segment instructions from the user can be executed.
Before performing any operations, verify that the runtime environment meets the requirements.
**Verification Commands:**
python --version ffmpeg -version 2>&1 | head -1 ffprobe -version 2>&1 | head -1 node --version
**Acceptance Criteria and Fixing Guidelines:**
| Dependency | Minimum Requirement | Verification Method | Installation Command When Not Met | | ---------- | -------------------- | ------------------- | ------------------------------------------------------------------------------------------------------------------------- | | Python | 3.9+ | `python --version` | See instructions below | | ffmpeg | Any version | `ffmpeg -version` | macOS: `brew install ffmpeg` · Linux: `sudo apt install ffmpeg` · Windows: [ffmpeg.org](https://ffmpeg.org/download.html) | | ffprobe | Included with ffmpeg | `ffprobe -version` | Installed with ffmpeg, no separate operation needed | | Node.js | 18+ | `node --version` | macOS: `brew install node` · or [nodejs.org](https://nodejs.org/) |
**Python Installation Instructions (if version is not met):**
**Text Effect Rendering Dependency (Remotion) Installation:**
Check if `byted-mediakit-videoedit/template/node_modules` exists:
ls byted-mediakit-videoedit/template/node_modules/@remotion/renderer 2>/dev/null && echo "已安装" || echo "需要安装"
If not installed, execute:
cd byted-mediakit-videoedit/template && npm install
Installation takes about 1-2 minutes, and `node_modules` will appear in the directory after completion. This step is skipped in subsequent conversations if `node_modules` already exists.
**Processing Rules:**
Before any analysis, confirm individually whether each video has subtitles or danmaku:
| Video | Has Subtitles | Has Danmaku | Understandability | | ----------- | ------------- | ----------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | | video_A.mp4 | ✅ | — | **Intelligent Analysis**: Can understand video based on content semantics, supports content requests like "find highlights/find appearance introduction" | | video_B.mp4 | — | ✅ | **Intelligent Analysis** (downgraded): Infer content through danmaku, accuracy lower than subtitles | | video_C.mp4 | — | — | **Only Explicit Commands**: Cannot understand content, can only cut according to precise time segments provided by user |
**Processing Rules for "Only Explicit Commands" Videos:**
1. **User provides explicit time segments** (e.g., "cut video_C from 1:00–2:30"): Use directly, no analysis needed 2. **User provides content requests** (e.g., "find appearance introduction from video_C"): **Immediately inform** user that the video lacks subtitles/danmaku, cannot perform content analysis, please provide:
3. **Mixed scenarios** (some videos understandable, some not): Normal analysis for understandable videos, separately explain limitations for non-understandable videos, and ask user how to handle
欢迎来到 AgentKit 代码工坊(Samples)仓库! AgentKit 是火山引擎推出的企业级 AI Agent 开发平台,为开发者提供完整的 Agent 构建、部署和运维解决方案。平台通过标准化的开发工具链和云原生基础设施,显著降低复杂智能体应用的开发部署门槛。 本代码库包含了一系列示例和教程,帮助您理解、实现和集成 AgentKit 的各项功能到您的应用中。
Generate deterministic SVG algorithmic artwork. Invoke when the user asks for geometric,…
Optimize code performance through iterative improvements (max 2 rounds). Benchmark execution…
根据文字描述生成视频,一个生成图片和视频的工作流技能。依赖 skills: byted-web-search, image-generate, video-generate。注意:此…
Manage AgentKit skills, SkillHub/skillhub, skill centers, and skill spaces. Use this skill…
Upload files or directories to TOS-compatible object storage for Volcano Engine or BytePlus…
根据用户的功能需求,完成与 VeADK-Go 相关的功能; 包括:直接根据需求生成 Agent;将Enio Agent转换为VeADK-Go Agent。