Introduction¶
When white-collar professionals prepare presentations, internal communications, or post-event retrospectives, they frequently need to trim clips, merge media assets, convert formats, or produce a vertical intro. These workflows follow a fixed set of steps, yet each time you have to open an editing application or hand-craft ffmpeg parameters, which tends to interrupt your primary workflow. If a conversational Agent is driven by a structured Skill that calls the local ffmpeg, it can connect the pipeline from “natural-language requirement” to “reusable script invocation” in a single line. Below we introduce the Video Editing Work Assistant on SkillHub (coordinate @clawhub_cntuang/video-editor, upstream name Video Editor, version 1.0.0).
What This Is¶
The Video Editing Work Assistant is an Agent Skill based on the standard SKILL.md format, categorized under design-media, maintained by publisher cntuang, and sourced from clawhub. Its positioning on SkillHub is: use ffmpeg to perform video editing tasks, including trimming, merging, format conversion, audio extraction, subtitle burning, scaling, cropping, and speed adjustment. Its tags indicate requires_api_key=false, meaning it does not depend on any external API key. This Skill does not replace a professional non-linear editor; rather, it wraps high-frequency, parameterized ffmpeg operations into Agent-callable scripts and instructions, making it suitable for environments that support a skills directory such as Cursor, Claude Code, or Codex.
Official entry points:
- SkillHub page: https://www.skillhub.cn/skills/clawhub_cntuang/video-editor
- API aggregation page: https://api.skillhub.cn/org-02qudk26/video-editor
- Upstream repository: https://clawhub.ai/cntuang/video-editor
Core Features¶
All capabilities below are derived from the official overview and upstream documentation. The execution layer relies on scripts bundled within the skill package (where {baseDir} refers to the root directory of the installed skill).
| Capability | Description |
|---|---|
| Trim / Cut segment | cut.sh, supports start–end times or start time + duration |
| Merge | merge.sh, sequential concatenation of multiple files |
| Format conversion | convert.sh, specify the target format |
| Audio extraction | extract-audio.sh |
| Burn-in subtitles | add-subtitles.sh, requires a subtitle file |
| Resize / Change resolution | resize.sh, fixed width/height or proportional scale |
| Crop frame | crop.sh, crop by region coordinates |
| Speed adjustment | speed.sh, multiplier > 1 for speed-up, < 1 for slow-down |
The upstream documentation also provides common workflow examples (e.g., trim first then convert to vertical aspect ratio, cut multiple highlight clips then merge), as well as commands for directly using ffmpeg to replace or mix audio tracks. Advanced encoding parameters (such as -crf, -preset, hardware encoding) are documented in the Tips section, for Agent or manual fine-tuning.
Prerequisite: Both ffmpeg and ffprobe must be installed on your machine. The upstream example uses brew install ffmpeg on macOS; on Linux, install the equivalent components via your distribution’s package manager, then enable this Skill.
Installation & Activation¶
Install the SkillHub CLI (if not yet installed)¶
First, check whether the CLI is already present:
command -v skillhub && skillhub --version
If not installed, run the full installation (CLI + default Skills, officially recommended):
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
CLI-only install:
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only
Install This Skill¶
The SkillHub page requires you to install the coordinate @clawhub_cntuang/video-editor following the SkillHub installation guide. During installation, you must use --dir to point to your current Agent’s skills directory; otherwise it defaults to ./skills/, and the Agent may fail to recognize it.
skillhub install @clawhub_cntuang/video-editor --dir <skills directory>
Common skills directories per environment (excerpted from the official installation docs — pick the one matching your Agent):
| Agent | Skills directory |
|---|---|
| Cursor | ~/.cursor/skills/ |
| Claude Code | ~/.claude/skills/ |
| Codex | ~/.codex/skills/ or .agents/skills/ in your project |
| Windsurf | ~/.codeium/windsurf/skills/ or .windsurf/skills/ in your project |
| Gemini CLI | ~/.gemini/skills/ |
After installation, restart or refresh the skills list according to your Agent’s requirements, and you can then reference this Skill in conversation to complete video processing tasks.
Typical Usage¶
The following commands come from the upstream Quick Start. Replace {baseDir} with the actual path under the skill installation directory to reproduce them locally.
Trim a clip (start–end time):
{baseDir}/scripts/cut.sh /path/to/input.mp4 --start 00:00:10 --end 00:00:30 --out /path/to/output.mp4
Trim a clip (start + duration):
{baseDir}/scripts/cut.sh /path/to/input.mp4 --start 00:01:00 --duration 30 --out /path/to/output.mp4
Merge multiple videos (encoding and resolution must match):
{baseDir}/scripts/merge.sh video1.mp4 video2.mp4 video3.mp4 --out merged.mp4
Convert format:
{baseDir}/scripts/convert.sh input.mov --format mp4 --out output.mp4
Extract audio:
{baseDir}/scripts/extract-audio.sh input.mp4 --out audio.mp3
Vertical social-media clip (trim then resize):
{baseDir}/scripts/cut.sh input.mp4 --start 00:00:15 --duration 15 --out clip.mp4
{baseDir}/scripts/resize.sh clip.mp4 --width 1080 --height 1920 --out tiktok.mp4
In an Agent, you typically describe the source path and goal in natural language (e.g., “trim 15 seconds starting at the 15-second mark and output 1080×1920”), and the Skill guides the invocation of the appropriate script. Output paths should use absolute paths or an explicit working directory to facilitate downstream reuse.
Use Cases & Caveats¶
Who it’s for: Knowledge workers who repeatedly perform trimming, merging, transcoding, audio extraction, simple subtitling, and aspect-ratio adjustments; teams that already have an ffmpeg environment and want to reduce the time spent memorizing commands and looking up documentation.
Limitations & common pitfalls:
- Merge failure (Codec mismatch): All files involved in a merge must share the same codec, resolution, and frame rate. If they differ, use
ffmpegto re-encode them uniformly (per the upstream docs) before merging. - Subtitles not displaying: The subtitle file extension must match the format (
.srt/.ass/.vtt); UTF-8 encoding is recommended. For non-UTF-8 files, convert them withiconv. - Performance & quality: Default CRF and other parameters can be adjusted per the upstream Tips. If you are only cropping and no re-encoding is needed, consider using
-c copyfor faster processing, though the range of further edits will be limited. - Compliance & storage: When processing materials that contain privacy-sensitive or copyrighted content, the output path and retention policy must comply with your company’s regulations. This Skill only calls ffmpeg locally and does not upload media to any third-party API.
Public data on SkillHub (based on the page and retrieved metadata): rating 100000, approximately 14,079 downloads, approximately 211 installs; version 1.0.0.
Closing¶
The Video Editing Work Assistant consolidates common ffmpeg operations into Agent-executable scripts and workflow instructions, making it suitable for turning repetitive creative-design editing from “looking up commands every time” into “describe the requirement, get a structured result.” To install or view the file list, please visit the official SkillHub page: https://www.skillhub.cn/skills/clawhub_cntuang/video-editor.