highlight-cutter
Installation
SKILL.md
Highlight Cutter
Overview
Orchestrates downloading chunks and merging them using filter_complex concat, avoiding frame-freezes and AV desync.
When to Use
- When a
highlight_plan_<id>.jsonis ready and the user wants to generate the video.
AI Instructions
- Find
[SKILL_ROOT]: Look at the<skill location="...">XML tag at the top of your prompt. Strip the filenameSKILL.md(or with backslashes\on Windows). Replace all\with/. The result is[SKILL_ROOT].
- Find
cut_highlight.pyin the skill's scripts directory:[SKILL_ROOT]/scripts/cut_highlight.py. - Run it, providing the JSON plan and the source URL/file:
python3 "[SKILL_ROOT]/scripts/cut_highlight.py" path/to/highlight_plan_abc123.json --source <URL> - Monitor
stderrfor progress. The final output path will be printed onstdout. - Proceed to
highlight-verifierwhen finished.
Iron Rule: Token Budget Policy
🚫 The AI MUST NEVER read the plan JSON file with
view_file,read_file, or any file-reading tool at any stage.