qiaomu-cut
Verified把一句话需求转成可复现、可验收视频工程的乔木智能剪辑导演。Use when the user asks to create, plan, edit, remix, explain, narrate, subtitle, animate, composite, or render a video—including one-line requests such as “制作一个科普视频:介绍 LLM 中的 RL”. Builds English-learning movie mixes, person profiles, explainers, code-drawn motion graphics (UI morph loops, showreels, kinetic-type promos, line-art/pixel/Three.js animation, lyric MVs), product launch videos, cinematic shorts, social clips, course/PPT videos, AI image/video/TTS/music-assisted stories, stock-footage stories, or multi-source montage. Routes across 33台词, ClipSeek/open media, local files, ListenHub, image generation, HTML/SVG/Canvas motion graphics with beat-grid storyboards and determinism probes, Manim, ffmpeg-full, captions, sound design, frame-0 video covers with YouTube thumbnails, and release checks.
scripts/bootstrap_macos.sh
View on GitHub#!/usr/bin/env bash
set -euo pipefail
MODE="${1:---check}"
find_ffmpeg_full() {
if [[ -n "${QIAOMU_FFMPEG:-}" && -x "${QIAOMU_FFMPEG}" ]]; then
printf '%s\n' "${QIAOMU_FFMPEG}"
return 0
fi
for candidate in \
/opt/homebrew/opt/ffmpeg-full/bin/ffmpeg \
/usr/local/opt/ffmpeg-full/bin/ffmpeg
do
if [[ -x "${candidate}" ]]; then
printf '%s\n' "${candidate}"
return 0
fi
done
if command -v ffmpeg >/dev/null 2>&1; then
command -v ffmpeg
return 0
fi
return 1
}
find_cjk_font() {
for candidate in \
"${HOME}/Library/Fonts/NotoSansCJKsc-Regular.otf" \
/Library/Fonts/NotoSansCJKsc-Regular.otf \
/opt/homebrew/share/fonts/NotoSansCJKsc-Regular.otf \
/usr/local/share/fonts/NotoSansCJKsc-Regular.otf
do
if [[ -f "${candidate}" ]]; then
printf '%s\n' "${candidate}"
return 0
fi
done
return 1
}
check_ffmpeg() {
local ffmpeg_bin
if ! ffmpeg_bin="$(find_ffmpeg_full)"; then
echo "missing: ffmpeg"
return 1
fi
echo "ffmpeg: ${ffmpeg_bin}"
local version filters
version="$("${ffmpeg_bin}" -version 2>&1 || true)"
filters="$("${ffmpeg_bin}" -hide_banner -filters 2>&1 || true)"
local missing=0
for needle in drawtext subtitles overlay loudnorm sidechaincompress zoompan xfade; do
if ! grep -q "${needle}" <<<"${filters}"; then
echo "missing filter: ${needle}"
missing=1
fi
done
if ! grep -q -- '--enable-libass' <<<"${version}" && ! grep -q ' ass ' <<<"${filters}"; then
echo "missing capability: libass/ass"
missing=1
fi
if ! grep -q -- '--enable-libx264' <<<"${version}"; then
echo "missing encoder capability: libx264"
missing=1
fi
return "${missing}"
}
check_caption_font() {
local font_file
if ! font_file="$(find_cjk_font)"; then
echo "missing: Noto Sans CJK SC (required for deterministic Chinese subtitles)"
return 1
fi
echo "caption font: ${font_file}"
}
check_all() {
local missing=0
check_ffmpeg || missing=1
check_caption_font || missing=1
return "${missing}"
}
install_ffmpeg_full() {
if ! command -v brew >/dev/null 2>&1; then
echo "Homebrew not found. Install Homebrew first: https://brew.sh"
return 1
fi
brew install ffmpeg-full
if ! find_cjk_font >/dev/null; then
brew install --cask font-noto-sans-cjk-sc
fi
check_all
}
case "${MODE}" in
--check|check)
check_all
;;
--install|install)
install_ffmpeg_full
;;
*)
echo "Usage: scripts/bootstrap_macos.sh --check|--install"
exit 2
;;
esac
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation). | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK). | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |