andyhuo520/vibe-knowledge / skills/ai-teardown
ai-teardown
Unverified「AI 拆机课」系列课工作室:输入一个主题(AI 产品、开源项目/书、人物历史、软件教程),产出由浅入深、每句话有出处的中文讲解视频系列 + 每节互动版 + 课程总页。流水线:收集资料 → 确认对象与课时 → 大纲 → 逐节旁白(MiMo 克隆音色 + 逐字对齐)→ scenes.json 画面编排(Notion 极简手绘引擎 / 马卡龙模板引擎,IconPark 图标与插画、Noto 动态 emoji、AntV X6 流程图、像素讲解小人、截图圈注、终端录屏)或 film.js 代码成片(cine 引擎:Three.js、粒子、着色器、真片段叠加、曲库配乐)→ Hyperframes / 无头 GPU 逐帧 1080p 渲染 → Artifact 发布 → 课程总页 + 导学视频。触发:做系列课 / 做课程视频 / 把某本书或某个开源项目做成课 / 科普讲解视频 / 教学视频 / 课程地图 / 导学视频 / 互动课件 / 「拆机课」「上手课」「实战课」「编排课」/ 王炸讲解片 / 用真实会话和成片教人做视频。不用于:单支宣传片(用 promo-video)、单张信息图、纯文章写作。
engine/cine/tools/queue.sh
View on GitHub#!/bin/zsh
# 渲染队列:逐行处理 cine/queue.txt(课号|标题|封面秒),一节一节 clips → record → finish → deliver,做完写 build/.delivered
# Python:CINE_PY(要有 numpy scipy pillow playwright),默认 python3;端口:CINE_PORT,默认 8964(没人在听就自己起一个静态服务器)
cd "${0:A:h}/../.."
PY=${CINE_PY:-python3}; PORT=${CINE_PORT:-8964}
$PY -c "import numpy, scipy, PIL, playwright" 2>/dev/null || { echo "$PY 缺 numpy/scipy/pillow/playwright,设 CINE_PY 指向装好的 Python"; exit 1; }
if ! curl -sf -o /dev/null "http://127.0.0.1:$PORT/cine/index.html"; then
python3 -m http.server $PORT --bind 127.0.0.1 >/dev/null 2>&1 & SRV=$!; trap "kill $SRV 2>/dev/null" EXIT; sleep 1
fi
while true; do
line=$(while IFS= read -r l; do n=${l%%|*}; [[ -n "$n" && ! -f lessons/$n/build/.delivered ]] && { echo "$l"; break; }; done < cine/queue.txt)
[[ -z "$line" ]] && break
n=${line%%|*}; rest=${line#*|}; title=${rest%%|*}; poster=${rest#*|}
echo "== $(date +%H:%M) 第 $n 节:$title"
$PY cine/tools/clips.py $n --port $PORT > lessons/$n/build/clips.log 2>&1 || { echo "裁片段失败 $n"; break; } # 没有 clips 的课也能跑,0 段
$PY cine/tools/record.py $n --port $PORT > lessons/$n/build/record.log 2>&1 || { echo "录制失败 $n"; break; }
$PY cine/tools/finish.py $n --port $PORT > lessons/$n/build/finish.log 2>&1 || { echo "合成失败 $n"; break; }
./cine/tools/deliver.sh $n "$title" $poster > lessons/$n/build/deliver.log 2>&1 || { echo "交付失败 $n"; break; }
touch lessons/$n/build/.delivered
echo "DONE $n $(date +%H:%M) $(tail -1 lessons/$n/build/deliver.log)"
done
echo "队列清空"
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |