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/scripts/term_cut.py
View on GitHub#!/usr/bin/env python3
"""剪掉录屏帧里一段空等(例如等审批弹出前的长时间转圈):python3 scripts/term_cut.py x.frames.json <起点> <终点>
起点/终点写成「标记±秒」,如 submit+12 approve1-6。被剪那段的画面变化会合并成一帧,标记和总长一起前移。"""
import json, re, sys
p = sys.argv[1]; d = json.load(open(p)); m = d["marks"]
def at(x):
k, sgn, v = re.match(r"(\w+)([+-])([\d.]+)", x).groups(); return m[k] + (float(v) if sgn == "+" else -float(v))
a0, a1 = at(sys.argv[2]), at(sys.argv[3]); gap = a1 - a0 - 0.8
state, out, cur = {}, [], None
for f in d["frames"]:
if f["t"] <= a0: out.append(f); continue
if f["t"] < a1:
state.update(f["d"]); cur = f["c"]; continue
if state: out.append({"t": round(a0 + 0.8, 3), "d": state, "c": cur}); state = {}
out.append({**f, "t": round(f["t"] - gap, 3)})
d["frames"] = out; d["marks"] = {k: (v if v <= a0 else round(v - gap, 3)) for k, v in m.items()}; d["duration"] = round(d["duration"] - gap, 3)
json.dump(d, open(p, "w"), ensure_ascii=False, separators=(",", ":"))
print(f"{p}:剪掉 {gap:.1f} 秒,标记 {d['marks']}")
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 |