JimLiu/baocut / skills/baocut/built-in-skills/production-scripts
production-scripts
Verified有命令行环境、旁白按段配、画面按段上时间线的片子(讲解、解说混剪、旁白片、歌词视频……)要跑脚本时用:配音、对齐字时间、把场景代码打成代码包、按段摆上时间线并处理变长变短的波纹、按稿子建字幕、剪实拍与水印叠上去或垫在底下、量画面占比。脚本是一条省事的路,不规定片子的形态;形态和它不合时用 baocut CLI 自己写。只是加一段动效图形或配一句旁白时不用。
| File | Kind | Size |
|---|---|---|
| .baocut-meta.json | config | 2.8 KB |
| SKILL.md | skill md | 13.4 KB |
| references/pipeline.md | markdown | 37.3 KB |
| scene-kit/geo110.js | script | 27.3 KB |
| scene-kit/scene-kit.js | script | 38.3 KB |
| scripts/align.mjs | script | 11.6 KB |
| scripts/assemble.mjs | script | 26.4 KB |
| scripts/build.mjs | script | 18.1 KB |
| scripts/captions.mjs | script | 18.6 KB |
| scripts/clips.example.json | config | 3.2 KB |
| scripts/coverage.mjs | script | 10.0 KB |
| scripts/envelope.mjs | script | 2.9 KB |
| scripts/explainer.example.json | config | 2.2 KB |
| scripts/fonts.mjs | script | 7.0 KB |
| scripts/frames.mjs | script | 7.7 KB |
| scripts/gaps.mjs | script | 11.3 KB |
| scripts/host.mjs | script | 14.8 KB |
| scripts/legibility.mjs | script | 5.7 KB |
| scripts/level.mjs | script | 9.2 KB |
| scripts/lib.mjs | script | 19.3 KB |
| scripts/overlay.mjs | script | 34.7 KB |
| scripts/preview.mjs | script | 4.6 KB |
| scripts/quotes.mjs | script | 7.4 KB |
| scripts/sources.mjs | script | 6.2 KB |
| scripts/srt.mjs | script | 5.8 KB |
| scripts/voice.mjs | script | 7.7 KB |
scripts/clips.example.json
View on GitHub{
"source": "/path/to/original-event.mp4",
"label": "<source label in the video language, e.g. Footage: Example Corp>",
"clips": [
{ "id": "s01-launch", "seg": "s01", "line": 1, "cue": "<word in that line>", "from": 453, "to": 461.5, "note": "the launch seen from the side", "out": { "kind": "dissolve", "dur": 0.4 } },
{ "id": "s03-quote", "seg": "s03", "line": 10, "gap": true, "audio": true, "from": 502.4, "to": 506.8, "note": "the engineer says it in their own voice; narration pauses before line 10",
"subs": [{ "from": 502.6, "to": 506.5, "who": "<speaker>", "text": "<line in the video language>", "tr": "<original words>" }],
"in": { "kind": "iris", "dur": 0.6 } },
{ "id": "s03-quote-2", "seg": "s03", "line": 10, "gap": true, "audio": true, "from": 520.1, "to": 524, "note": "same line as s03-quote: plays right after it, hard cut, one shared pause",
"subs": [{ "from": 520.2, "to": 523.8, "who": "<speaker>", "text": "<line in the video language>", "tr": "<original words>" }], "out": { "kind": "dissolve", "dur": 0.5 } },
{ "id": "s03-crowd", "seg": "s03", "line": 12, "gap": true, "audio": 0.7, "from": 668.5, "to": 674, "note": "live sound of the crowd, a little quieter" },
{ "id": "s04-gauge", "seg": "s04", "line": 2, "cue": "<word in that line>", "from": 405, "to": 411, "pip": { "x": 74, "y": 36, "w": 38 },
"note": "picture-in-picture: the real gauge stays in the corner while the animation works out the number", "in": { "kind": "zoom", "dur": 0.4 }, "out": { "kind": "dissolve", "dur": 0.4 } },
{ "id": "s05-archive", "seg": "s05", "line": 4, "from": 12, "to": 18, "source": "/path/to/1978-broadcast.mp4", "label": "<another source label>",
"crop": [166, 6, 944, 708], "fit": "contain", "note": "4:3 broadcast: cut the black bars, then pillarbox; local 0 s = 13:10 in the original", "in": { "kind": "wipe", "dur": 0.5 } },
{ "id": "s05-archive-2", "seg": "s05", "follow": true, "from": 40, "to": 44.5, "source": "/path/to/1978-broadcast.mp4", "label": "<another source label>",
"crop": [166, 6, 944, 708], "fit": "contain", "note": "same block as s05-archive: starts where it ends, hard cut, narration keeps going over it", "out": { "kind": "dissolve", "dur": 0.4 } },
{ "id": "s06-photo", "seg": "s06", "line": 0, "head": true, "from": 0, "to": 5, "source": "/path/to/press-photo.jpg", "label": "<photo credit>",
"focus": [1.2, 10, 0], "note": "a still photo: from / to only set the length; focus zooms 1.2x and keeps the left part in frame; head starts it at the segment start, before line 0 is spoken" },
{ "id": "s06-voice", "seg": "s06", "after": true, "offset": 0.4, "audio": true, "video": false, "asset": "asset_0123456789abcdef", "from": 774.4, "to": 781.2,
"source": "/path/to/speech-recording.mp3", "words": true, "language": "<the speaker's language, BCP 47, e.g. en-US>", "said": "<the original words, as spoken>", "text": "<the same words in the video language>",
"note": "sound only: the speaker's own voice 0.4 s after the last line, in the segment's hold; asset reuses the recording already in the video; quotes.mjs times each word (transcribing in language, else footage.subs.language, else the narration language) and the scene lights them from TIMING.clips" }
]
}
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: 197k | 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 |