[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EV3QZ33GF50H6NTXSFABB0":3,"skill-same:01M7EV3QZ33GF50H6NTXSFABB0":64},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":29,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M7EV3QZ33GF50H6NTXSFABB0","assemble-recording-series",null,"Assemble one lecture or talk video from a folder of raw takes, whatever the capture tool wrote - flat screen-capture files, or per-session folders with the video and a separate mixed audio track. Use when a recording session produced several takes that need selecting, ordering, trimming and joining before anything else is done to them.","tdupu\u002Fagent-skills-public","tdupu","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F3440403?v=4","01M7EV32X9J0EFE5T4P8TKQTCQ","Taylor Dupuy","01M7EV32XZ1Z4MDBYAFRCJD3BP",0,"GPL-3.0","https:\u002F\u002Fgithub.com\u002Ftdupu\u002Fagent-skills-public\u002Fblob\u002Fmain\u002Fskills\u002Fassemble-recording-series\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: assemble-recording-series\ndescription: >-\n  Assemble one lecture or talk video from a folder of raw takes, whatever the\n  capture tool wrote - flat screen-capture files, or per-session folders with\n  the video and a separate mixed audio track. Use when a recording session\n  produced several takes that need selecting, ordering, trimming and joining\n  before anything else is done to them.\n---\n\n# Assemble a series of takes into one video\n\nA recording session leaves a pile of takes: false starts, a take that was\nabandoned, two attempts at the same segment, and the good ones. This selects\nand joins them. It does **not** add commentary, captions or titles - run\n`youtube-color-commentary` on the assembled file afterwards, once the examples\nare in their final order and the timestamps are stable.\n\n## Two capture layouts\n\n| Layout | Shape | Audio |\n|---|---|---|\n| Flat | `NN_topic_take-N.mov` beside each other | in the video file |\n| Session folders | `Default_\u003Cdate>_\u003Cn>_\u003Ctime>\u002F` per take | a separate mixed `.wav` alongside the video |\n\nThe session layout is what field recorders and multitrack capture apps write.\nIts separate mix is usually the better audio - it is the board mix rather than\nwhatever the camera picked up - so the manifest can name an audio file per take\nand it will be used in place of the embedded track.\n\nDiscovery only lists candidates. **Which takes are used, in what order, and\nwhere they are cut is a human decision recorded in a manifest**, never inferred\nfrom filenames: \"take-2\" is not reliably better than \"take-1\", and a long take\nis not reliably the good one.\n\n## The manifest\n\n`manifest.json`:\n\n```json\n{\n  \"output\": \"assembled\u002Flecture.mp4\",\n  \"takes\": [\n    {\"video\": \"rec\u002FDefault_1\u002FDefault_1.mp4\",\n     \"audio\": \"rec\u002FDefault_1\u002FAudio\u002FLive-Mix.wav\",\n     \"label\": \"squaring map on P^1\",\n     \"start\": 12.0, \"end\": 880.5},\n    {\"video\": \"rec\u002FDefault_2\u002FDefault_2.mp4\", \"label\": \"second example\"}\n  ],\n  \"excluded\": [\n    {\"video\": \"rec\u002FDefault_0\u002FDefault_0.mp4\", \"why\": \"test recording, 6 seconds\"}\n  ]\n}\n```\n\n`start`\u002F`end` are seconds and both optional. `excluded` is not used by the\nbuild; it exists so the reason a take was dropped survives in the repository\nrather than in someone's memory.\n\n## What the build does\n\n1. Normalises every take to one encode (same resolution, frame rate, pixel\n   format, audio layout). Takes from one session usually already match, but\n   concatenating mismatched streams produces a file that plays wrongly from the\n   join onwards rather than failing.\n2. Applies each take's trim.\n3. Concatenates, and **checks the result against the sum of the trimmed\n   inputs**. A silently short concatenation is the characteristic failure here,\n   and it looks fine until someone watches the end.\n4. Writes `\u003Coutput>.manifest.md` beside the video: every take, its source, its\n   trim, its duration and its start offset in the finished file. Those offsets\n   are what the commentary step needs, so it is produced automatically rather\n   than reconstructed later.\n\n## Procedure\n\n1. `scripts\u002Fdiscover-takes.py --root DIR` to list candidates with durations.\n2. Watch them. Write `manifest.json`.\n3. `scripts\u002Fassemble.py --manifest manifest.json` (add `--dry-run` first).\n4. Check the reported duration and the offsets in the generated manifest.\n4b. Only if the recording wants it: `scripts\u002Ftrim-dead-air.py --video IN --out\n   OUT --map OUT.map.json --min-silence N` (no default; see above), then\n   `scripts\u002Fremap-times.py --map OUT.map.json --notes n.json --out n2.json` to\n   move any existing cue times onto the cut timeline. `--map` is optional but\n   required for that, so always pass it.\n5. Then, and only then, `youtube-color-commentary`.\n\n## A series, not one video\n\nLecture material usually arrives as a run of recordings that becomes several\npublished parts, and the parts have to read as one thing. What makes that work\nis cheap and worth doing at assembly time, while the structure is in front of\nyou:\n\n- **Split on take joins, not on the clock.** A part boundary that falls inside\n  a take cuts an argument in half; the joins are already where the speaker\n  stopped and restarted. If the author has a slide deck or notes per part, the\n  blocks usually land on those joins, and that mapping is worth checking before\n  choosing split points.\n- **A short title card on each part**, same design throughout, carrying the\n  series name, `N \u002F total`, the part's own title, the authors (alphabetical\n  unless told otherwise), and where the links live. Match the recording's own\n  palette so the cut into the footage is not a flash.\n- **The same opening note on every part**, so a viewer landing in the middle\n  learns the same things a viewer of part one did.\n- **Each part's description carries the whole series list**, so the parts\n  cross-link without depending on cards or playlists.\n\nPrepending a card shifts every chapter timestamp in that part's description by\nthe length of the card. Generate the chapters after the card is attached, not\nbefore.\n\n## Dead air, and why the default will ruin a lecture\n\n`scripts\u002Ftrim-dead-air.py` cuts a gap only when it is both silent and visually\nstatic. That is meant to keep pauses spent writing - but the still check\ncompares two downscaled frames, so a pause where the pen barely moves reads as\nstatic and is cut. On one lecture it kept 78 of 630 gaps as \"writing\" and\nremoved the rest; most of those were the speaker thinking, not idle.\n\n**`--min-silence` is the main lever, and it has no default** - the script\nrefuses to run until you choose, because the value depends entirely on the\nrecording. `--still-threshold`, `--noise` and `--keep` also change what is cut. A lecturer pauses for\nabout that long between phrases, constantly, while writing - so at the default\nthe tool removes the speaker's own rhythm and the result sounds clipped and\nrushed. Measured on one 102-minute lecture: 1.2s cut 552 gaps, 5.4 per minute,\nand of the 17 minutes it removed only about 2 were genuine dead air. At 4s it\ncut 32 gaps, one every three minutes. The speaker's verdict on 1.2s was that\nthe rhythm of the speech was destroyed; on the untrimmed version, that it was\nthe best of the three.\n\nSo read the **cuts per minute of source**, not the minutes removed. Minutes\nremoved is the number that looks like success and grows as the damage grows.\nPast roughly one cut per minute of source you are editing the delivery.\n\nFor a lecture recorded at a board, the honest default is **not to trim at all**:\nthat is what the speaker chose here after hearing 1.2s, 4s and untrimmed. Trim\nthe head and tail if they are dead, and leave the middle alone.\n\nAnd listen to a sample before committing the encode. Cut a few minutes at the\nproposed setting and at the original, and compare - it costs minutes against\nhours, and it is the only check that catches this. A trim that reports well and\nsounds wrong is the characteristic failure here; nothing in the log will say so.\n\n`scripts\u002Fremap-times.py` moves annotation timestamps from the untrimmed video\nonto the trimmed one. Any cut invalidates every later cue, so run it after any\ntrim and before burning.\n\n## Limitations\n\n- Requires `ffmpeg` and `ffprobe`; `trim-dead-air.py` also needs Pillow, which\n  it imports lazily - a missing Pillow fails only after the full silence scan.\n- Re-encodes. Joining without re-encoding is faster but only safe when every\n  take shares an encode exactly, and that is not checkable from the container\n  alone.\n- Trims are cut on the nearest frame, not sample-accurate on audio.\n- It does not detect duplicate takes of the same content, remove filler, or\n  choose between two attempts. Those need someone who watched them.\n","# Assemble a series of takes into one video\n\nA recording session leaves a pile of takes: false starts, a take that was\nabandoned, two attempts at the same segment, and the good ones. This selects\nand joins them. It does **not** add commentary, captions or titles - run\n`youtube-color-commentary` on the assembled file afterwards, once the examples\nare in their final order and the timestamps are stable.\n\n## Two capture layouts\n\n| Layout | Shape | Audio |\n|---|---|---|\n| Flat | `NN_topic_take-N.mov` beside each other | in the video file |\n| Session folders | `Default_\u003Cdate>_\u003Cn>_\u003Ctime>\u002F` per take | a separate mixed `.wav` alongside the video |\n\nThe session layout is what field recorders and multitrack capture apps write.\nIts separate mix is usually the better audio - it is the board mix rather than\nwhatever the camera picked up - so the manifest can name an audio file per take\nand it will be used in place of the embedded track.\n\nDiscovery only lists candidates. **Which takes are used, in what order, and\nwhere they are cut is a human decision recorded in a manifest**, never inferred\nfrom filenames: \"take-2\" is not reliably better than \"take-1\", and a long take\nis not reliably the good one.\n\n## The manifest\n\n`manifest.json`:\n\n```json\n{\n  \"output\": \"assembled\u002Flecture.mp4\",\n  \"takes\": [\n    {\"video\": \"rec\u002FDefault_1\u002FDefault_1.mp4\",\n     \"audio\": \"rec\u002FDefault_1\u002FAudio\u002FLive-Mix.wav\",\n     \"label\": \"squaring map on P^1\",\n     \"start\": 12.0, \"end\": 880.5},\n    {\"video\": \"rec\u002FDefault_2\u002FDefault_2.mp4\", \"label\": \"second example\"}\n  ],\n  \"excluded\": [\n    {\"video\": \"rec\u002FDefault_0\u002FDefault_0.mp4\", \"why\": \"test recording, 6 seconds\"}\n  ]\n}\n```\n\n`start`\u002F`end` are seconds and both optional. `excluded` is not used by the\nbuild; it exists so the reason a take was dropped survives in the repository\nrather than in someone's memory.\n\n## What the build does\n\n1. Normalises every take to one encode (same resolution, frame rate, pixel\n   format, audio layout). Takes from one session usually already match, but\n   concatenating mismatched streams produces a file that plays wrongly from the\n   join onwards rather than failing.\n2. Applies each take's trim.\n3. Concatenates, and **checks the result against the sum of the trimmed\n   inputs**. A silently short concatenation is the characteristic failure here,\n   and it looks fine until someone watches the end.\n4. Writes `\u003Coutput>.manifest.md` beside the video: every take, its source, its\n   trim, its duration and its start offset in the finished file. Those offsets\n   are what the commentary step needs, so it is produced automatically rather\n   than reconstructed later.\n\n## Procedure\n\n1. `scripts\u002Fdiscover-takes.py --root DIR` to list candidates with durations.\n2. Watch them. Write `manifest.json`.\n3. `scripts\u002Fassemble.py --manifest manifest.json` (add `--dry-run` first).\n4. Check the reported duration and the offsets in the generated manifest.\n4b. Only if the recording wants it: `scripts\u002Ftrim-dead-air.py --video IN --out\n   OUT --map OUT.map.json --min-silence N` (no default; see above), then\n   `scripts\u002Fremap-times.py --map OUT.map.json --notes n.json --out n2.json` to\n   move any existing cue times onto the cut timeline. `--map` is optional but\n   required for that, so always pass it.\n5. Then, and only then, `youtube-color-commentary`.\n\n## A series, not one video\n\nLecture material usually arrives as a run of recordings that becomes several\npublished parts, and the parts have to read as one thing. What makes that work\nis cheap and worth doing at assembly time, while the structure is in front of\nyou:\n\n- **Split on take joins, not on the clock.** A part boundary that falls inside\n  a take cuts an argument in half; the joins are already where the speaker\n  stopped and restarted. If the author has a slide deck or notes per part, the\n  blocks usually land on those joins, and that mapping is worth checking before\n  choosing split points.\n- **A short title card on each part**, same design throughout, carrying the\n  series name, `N \u002F total`, the part's own title, the authors (alphabetical\n  unless told otherwise), and where the links live. Match the recording's own\n  palette so the cut into the footage is not a flash.\n- **The same opening note on every part**, so a viewer landing in the middle\n  learns the same things a viewer of part one did.\n- **Each part's description carries the whole series list**, so the parts\n  cross-link without depending on cards or playlists.\n\nPrepending a card shifts every chapter timestamp in that part's description by\nthe length of the card. Generate the chapters after the card is attached, not\nbefore.\n\n## Dead air, and why the default will ruin a lecture\n\n`scripts\u002Ftrim-dead-air.py` cuts a gap only when it is both silent and visually\nstatic. That is meant to keep pauses spent writing - but the still check\ncompares two downscaled frames, so a pause where the pen barely moves reads as\nstatic and is cut. On one lecture it kept 78 of 630 gaps as \"writing\" and\nremoved the rest; most of those were the speaker thinking, not idle.\n\n**`--min-silence` is the main lever, and it has no default** - the script\nrefuses to run until you choose, because the value depends entirely on the\nrecording. `--still-threshold`, `--noise` and `--keep` also change what is cut. A lecturer pauses for\nabout that long between phrases, constantly, while writing - so at the default\nthe tool removes the speaker's own rhythm and the result sounds clipped and\nrushed. Measured on one 102-minute lecture: 1.2s cut 552 gaps, 5.4 per minute,\nand of the 17 minutes it removed only about 2 were genuine dead air. At 4s it\ncut 32 gaps, one every three minutes. The speaker's verdict on 1.2s was that\nthe rhythm of the speech was destroyed; on the untrimmed version, that it was\nthe best of the three.\n\nSo read the **cuts per minute of source**, not the minutes removed. Minutes\nremoved is the number that looks like success and grows as the damage grows.\nPast roughly one cut per minute of source you are editing the delivery.\n\nFor a lecture recorded at a board, the honest default is **not to trim at all**:\nthat is what the speaker chose here after hearing 1.2s, 4s and untrimmed. Trim\nthe head and tail if they are dead, and leave the middle alone.\n\nAnd listen to a sample before committing the encode. Cut a few minutes at the\nproposed setting and at the original, and compare - it costs minutes against\nhours, and it is the only check that catches this. A trim that reports well and\nsounds wrong is the characteristic failure here; nothing in the log will say so.\n\n`scripts\u002Fremap-times.py` moves annotation timestamps from the untrimmed video\nonto the trimmed one. Any cut invalidates every later cue, so run it after any\ntrim and before burning.\n\n## Limitations\n\n- Requires `ffmpeg` and `ffprobe`; `trim-dead-air.py` also needs Pillow, which\n  it imports lazily - a missing Pillow fails only after the full silence scan.\n- Re-encodes. Joining without re-encoding is faster but only safe when every\n  take shares an encode exactly, and that is not checkable from the container\n  alone.\n- Trims are cut on the nearest frame, not sample-accurate on audio.\n- It does not detect duplicate takes of the same content, remove filler, or\n  choose between two attempts. Those need someone who watched them.\n",{"name":5,"description":7},"main","8d13efb5e66306aeae6e3b948bc463e7e2db1b65","skills\u002Fassemble-recording-series","https:\u002F\u002Fgithub.com\u002Ftdupu\u002Fagent-skills-public","https:\u002F\u002Fgithub.com\u002Ftdupu","https:\u002F\u002Ftdupu.github.io\u002Findex.html","Associate Professor, Department of Mathematics and Statistics, University of Vermont --- last updated Fall 2019","2026-11-13 09:07:19",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add tdupu\u002Fagent-skills-public --skill assemble-recording-series",{"tool":38,"command":39},"bunx","bunx skills add tdupu\u002Fagent-skills-public --skill assemble-recording-series",{"tool":41,"command":42},"pnpm","pnpm dlx skills add tdupu\u002Fagent-skills-public --skill assemble-recording-series","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Ftdupu\u002Fagent-skills-public\u002Fblob\u002Fmain\u002Fskills\u002Fassemble-recording-series\u002FSKILL.md",true,[46,52,56,60],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"scripts\u002Fassemble.py","SCRIPT","脚本",7342,"https:\u002F\u002Fgithub.com\u002Ftdupu\u002Fagent-skills-public\u002Fblob\u002Fmain\u002Fskills\u002Fassemble-recording-series\u002Fscripts\u002Fassemble.py",{"path":53,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":54,"sourceHtmlUrl":55},"scripts\u002Fdiscover-takes.py",2977,"https:\u002F\u002Fgithub.com\u002Ftdupu\u002Fagent-skills-public\u002Fblob\u002Fmain\u002Fskills\u002Fassemble-recording-series\u002Fscripts\u002Fdiscover-takes.py",{"path":57,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":58,"sourceHtmlUrl":59},"scripts\u002Fremap-times.py",2150,"https:\u002F\u002Fgithub.com\u002Ftdupu\u002Fagent-skills-public\u002Fblob\u002Fmain\u002Fskills\u002Fassemble-recording-series\u002Fscripts\u002Fremap-times.py",{"path":61,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":62,"sourceHtmlUrl":63},"scripts\u002Ftrim-dead-air.py",7534,"https:\u002F\u002Fgithub.com\u002Ftdupu\u002Fagent-skills-public\u002Fblob\u002Fmain\u002Fskills\u002Fassemble-recording-series\u002Fscripts\u002Ftrim-dead-air.py",[65,72,79,86,93,100],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M7EW4PT586KKE7VRCAD80Z9K","writing-skills","Use when creating new skills, editing existing skills, or verifying skills work before deployment","https:\u002F\u002Fgithub.com\u002Ftdupu\u002Fagent-skills-public\u002Fblob\u002Fmain\u002Fsuperpowers\u002Fskills\u002Fwriting-skills\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":19},"01M7EW4HV5V74AF3PTV8N4T0PS","writing-plans","Use when you have a spec or requirements for a multi-step task, before touching code","https:\u002F\u002Fgithub.com\u002Ftdupu\u002Fagent-skills-public\u002Fblob\u002Fmain\u002Fsuperpowers\u002Fskills\u002Fwriting-plans\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M7EW4DNKGP5CR1RAJP2J9PHA","verification-before-completion","Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always","https:\u002F\u002Fgithub.com\u002Ftdupu\u002Fagent-skills-public\u002Fblob\u002Fmain\u002Fsuperpowers\u002Fskills\u002Fverification-before-completion\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M7EW4BA2QP88VBFVXDVJM7XQ","using-superpowers","Use when starting any conversation - establishes how to find and use skills, requiring skill invocation before ANY response including clarifying questions","https:\u002F\u002Fgithub.com\u002Ftdupu\u002Fagent-skills-public\u002Fblob\u002Fmain\u002Fsuperpowers\u002Fskills\u002Fusing-superpowers\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":19},"01M7EW47F2JG5FBESDJNP3PKMV","using-git-worktrees","Use when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback","https:\u002F\u002Fgithub.com\u002Ftdupu\u002Fagent-skills-public\u002Fblob\u002Fmain\u002Fsuperpowers\u002Fskills\u002Fusing-git-worktrees\u002FSKILL.md",[],[],{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":19},"01M7EW44N8556Y556NX9HJT4KP","test-driven-development","Use when implementing any feature or bugfix, before writing implementation code","https:\u002F\u002Fgithub.com\u002Ftdupu\u002Fagent-skills-public\u002Fblob\u002Fmain\u002Fsuperpowers\u002Fskills\u002Ftest-driven-development\u002FSKILL.md",[],[]]