zenstory-ai/video-recap-skills / skills/video-recap
video-recap
Verified把一段或多集视频做成带画框字幕的中文解说成片或纯原声高光短片。用户提供 .mp4 / .mov / .mkv / .webm,要求做影视解说、短剧二创、加旁白配音、跨集混剪或导出剪映草稿时使用;串联完成看片识台词、定主线与留原声、按台词停顿切镜头、写词检查、TTS 配音与混音加字幕。触发词:视频解说、影视解说、视频旁白、生成解说、视频 recap、video recap、voiceover、narration、recap。
scripts/cut_qc.py
View on GitHub"""Cut QC bookkeeping for clip_plan_validated.json."""
def update_cut_qc(plan):
"""Populate clip_plan_validated.json['qc'] as the single cut QC source."""
qc = dict(plan.get("qc", {}))
warnings = list(qc.get("warnings", []))
blocking = list(qc.get("blocking", []))
total = plan["total_duration"]
target = plan["target_duration"]
if target is None:
target_status = "missing"
target_qc = {
"status": target_status,
"target_duration": None,
"total_duration": round(total, 3),
}
else:
ratio = total / target # parse_duration_seconds guarantees target > 0
if ratio < 0.85:
target_status = "under"
elif ratio > 1.15:
target_status = "over"
else:
target_status = "ok"
severity = "warning" if target_status in {"under", "over"} else None
target_qc = {
"status": target_status,
"target_duration": round(target, 3),
"total_duration": round(total, 3),
"ratio": round(ratio, 3),
"warning_thresholds": {"under": 0.85, "over": 1.15},
}
if severity:
warnings.append({
"code": "target_duration_drift",
"status": target_status,
"severity": "warning",
"target_duration": round(target, 3),
"total_duration": round(total, 3),
"ratio": round(ratio, 3),
})
qc["target_duration_status"] = target_status
qc["target_duration"] = target_qc
qc.setdefault("boundary_status", {})
qc["clip_count"] = len(plan["clips"])
qc["total_duration"] = round(total, 3)
if warnings:
qc["warnings"] = warnings
if blocking:
qc["blocking"] = blocking
else:
qc.pop("blocking", None)
plan["qc"] = qc
return plan
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: 196k | 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: 196k | 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: 196k | Updated | Claude CodeCodex | Verified | Install |