joeseesun/qiaomu-cut-skill

乔木智能视频导演 Skill:素材治理、双语字幕、品牌包装与可复现渲染 | Agent-native video director with governed sourcing and verifiable rendering

What qiaomu‑cut does

qiaomu‑cut is a command‑line skill that lets an AI‑powered agent turn a single natural‑language request (e.g., “make a 60‑second English‑learning video about excavators”) into a complete, reproducible video project. It does this by:

  1. Parsing the request into a QiaoCut IR (intermediate representation) that records the desired length, aspect ratio, audience, style, storyboard, and material‑selection strategy.
  2. Gathering assets from a mix of free‑stock sources (ClipSeek, Pexels, Pixabay), a proprietary subtitle database (33台词), local files, and AI‑generated media via the ListenHub/MarsWave services (images, video, TTS, music, ASR).
  3. Designing the edit – automatically choosing camera moves, cuts, transitions, subtitles, titles, and motion‑graphics elements.
  4. Choosing a renderer – ffmpeg‑full for traditional video, or HTML/Manim/PowerPoint pipelines for code‑driven or interactive output.
  5. Iterating – a fast preview profile for quick feedback, then standard or final profiles that apply stricter quality checks (loudness normalization, black‑frame detection, contact‑sheet generation).
  6. Exporting – produces the final video file, a JSON IR, an assets manifest, a license report, and a quality‑report.

The tool is built as a skill for the marswaveai/skills agent framework, installable with a single npx skills add … command. It also ships a helper script (qcut.js doctor/setup) that automatically installs missing dependencies (ffmpeg‑full, fonts, Playwright, Manim, ListenHub CLI, etc.) on macOS (Homebrew) or Linux (apt).


Who might use it?

  • Content creators who want to produce short educational or marketing videos without manually hunting for footage, writing subtitles, or fiddling with ffmpeg.
  • AI agents that need a reliable “video‑generation” capability they can invoke programmatically.
  • Developers building pipelines that combine LLM‑generated scripts with automatically assembled media.

Key components & workflow

Step Command (example) What it does
Plan qcut plan "做一个 60 秒挖掘机英语启蒙视频" --workflow stock-story Turns the natural‑language brief into a QiaoCut IR and selects a predefined workflow.
Scaffold qcut scaffold ./excavator-video --brief "…" Creates the project directory with a starter timeline.json.
Material collection qcut clipseek "挖掘机" --type video or qcut 33tc search "dig deeper" Searches free‑stock or subtitle databases and records provenance.
Motion‑design qcut motion init ./promo --style product-promo Generates a code‑driven motion‑design scaffold (HTML/SVG + JS helpers).
Preview qcut render ./excavator-video --profile preview Fast low‑resolution render for rapid iteration.
Final render qcut render ./excavator-video --profile final Full‑resolution, two‑pass loudness normalization, contact‑sheet, and full validation.
Verification qcut verify ./final.mp4 Runs the same validation steps on an external video file.

Supported media sources & AI services

  • 33台词 – a licensed Chinese subtitle database (requires the user‑installed 33tc CLI). The skill only reads from it; it never uploads credentials.
  • ClipSeek – free‑stock discovery layer (searches Pexels, Pixabay, etc.).
  • ListenHub / MarsWave – provides AI‑generated images, short video clips, TTS (voice “向阳乔木 v1.1”), music, and a local ASR (coli). The skill handles API‑key management securely (never writes keys to the repo).
  • Local assets – any user‑supplied video/audio/image files are preferred when present.

Quality & licensing safeguards

  • Every fetched asset is logged in assets‑manifest.json with provider, source URL, and license information.
  • The skill never assumes commercial rights; it records the original license and warns when a clip comes from a site that only permits personal use.
  • AI‑generated media is flagged as ai_generated and provider_terms_unverified.
  • Rendering includes three validation levels (basic, standard, full) that check resolution, frame‑rate, loudness, black‑frames, and silent sections before marking a video as releaseReady.

Installation & environment

# One‑liner for agents
npx skills add joeseesun/qiaomu-cut-skill --skill qiaomu-cut

For manual setup:

  1. Clone the repo into ~/.agents/skills/qiaomu-cut.
  2. Run node scripts/qcut.js doctor --json to see missing dependencies.
  3. Run node scripts/qcut.js setup – it will install ffmpeg‑full, required fonts, Playwright, Manin, and the ListenHub/Coli CLIs, using Homebrew on macOS or apt on Linux.

Limitations

  • The skill does not claim “one‑click perfect video”. It automates the workflow but still requires the user (or the calling agent) to approve paid API calls (--yes) and to verify that the final output meets platform‑specific rules.
  • Windows support is currently missing; the README notes that ffmpeg‑full auto‑install is only implemented for macOS.
  • Some advanced effects (complex masks, custom transitions, PPT export) are listed as external capabilities, not built‑in.

TL;DR

qiaomu‑cut is an open‑source AI‑augmented video‑authoring skill that converts a short textual prompt into a fully‑rendered video by automatically sourcing footage, generating subtitles, adding transitions, and performing quality checks. It integrates free‑stock search, a subtitle database, AI‑generated media services, and ffmpeg, and can be installed with a single command for use inside an AI‑agent ecosystem.

Related

  • Project
  • Project
  • Project
  • Project
  • Project