vlog-edit
Edit raw selfie or talking-head footage into a captioned 9:16 short with a hook, full-frame data cards, a map, a picked-from-a-list moment, b-roll cutaways and an outro, then check the render with automated judges before anyone watches it. Use when someone hands you phone clips, a vlog, or talking-head takes and wants a Reel, TikTok or Short. Not for generating video from nothing or captioning a finished edit.
- License 许可
- Apache-2.0
- 所属仓库
- getedgehq/skills
- 最近更新
- 2026-11-12
- Stars
- ★ 5
- Forks
- 0
01 前言 Front Matter
- name
- vlog-edit
- description
- Edit raw selfie or talking-head footage into a captioned 9:16 short with a hook, full-frame data cards, a map, a picked-from-a-list moment, b-roll cutaways and an outro, then check the render with automated judges before anyone watches it. Use when someone hands you phone clips, a vlog, or talking-head takes and wants a Reel, TikTok or Short. Not for generating video from nothing or captioning a finished edit.
02 资源文件 10
- 参考文档DERIVATION.json2.8 KB
- 许可证LICENSE10.5 KB
- 参考文档references/edit-json.md4.5 KB
- 参考文档references/editing-grammar.md3.9 KB
- 参考文档references/judges.md3.4 KB
- 脚本scripts/judge_cut.py10.7 KB
- 脚本scripts/look.py26.6 KB
- 脚本scripts/requirements.txt45 B
- 脚本scripts/vlog.py44.5 KB
- 脚本tests/test_smoke.py2.7 KB
03 SKILL.md 正文
vlog-edit
Turn phone footage into a short that looks produced: every cut lands in a pause, captions sit in one band on every shot, graphics fill the frame and build while he talks, and the judges check the file before you hand it over.
The engine is scripts/vlog.py (Python, ffmpeg, Pillow, numpy, faster-whisper). You author one
file, EDIT.json, and everything in it is keyed to words, never to seconds you typed.
Setup (once)
pip install -r scripts/requirements.txt # faster-whisper, pillow, numpy
python3 scripts/vlog.py setup # fetches Inter Display (SIL OFL) to ~/.cache/vlog-edit
Needs ffmpeg and ffprobe on PATH (or set VLOG_EDIT_FFMPEG / VLOG_EDIT_FFPROBE).
Workflow
-
Transcribe. Write an
EDIT.jsonwith onlynameandclips, then:python3 scripts/vlog.py transcribe EDIT.jsonIt prints every word with its index and marks real pauses as
|0.6s|. Word edges are refined with a voice-activity detector, because Whisper closes every pause into the word before it. Read the whole transcript before deciding anything. Check the detected language: do not setlanguageunless you are sure, because forcing English on German speech silently translates. Accented English is often transcribed as the speaker's first language; when the speaker says what they said, usefix, and leave out any stretch you cannot transcribe with confidence.transcribere-hears every sentence on its own and printsDISPUTEDwhere the two passes disagree. The sentence-on-its-own reading is usually right; if a disputed line changes the meaning ("it works" / "it doesn't work") and you still cannot tell, cut the line. -
Find the story. Pick
keepranges by word index. Drop retakes, false starts and filler; keep the best take of each line. Pauses longer thantighten(0.35 s) are cut down automatically, so do not fight the pacing by hand. -
Write the hook. One line, the reason to keep watching, in the speaker's own framing. It covers the first ~2 s and is the thumbnail, so captions wait until it has faded.
-
Plan the visuals. At most one visual per sentence, in this order of preference:
- a card when the words name a number, a place, a choice or a prompt
(
stat,map,listwith apick,prompt); - a b-roll cutaway from another clip when the words describe what is around him;
- otherwise stay on his face. A face is not a gap to fill.
Each visual gets
atanduntilword references. Seereferences/edit-json.md.
- a card when the words name a number, a place, a choice or a prompt
(
-
Source every figure. A
statrefuses to render withoutsource. Put on screen only what you can cite; if the date or scope of a figure is uncertain, leave it out of the copy rather than guessing (say "2026 count", not a month you inferred). -
Speech in another language? Captions stay exactly what was said, in that language, and a
subtitlesline underneath carries a faithful translation per sentence. Skip the line when the sentence is already in the viewer's language. -
Fix the ASR, pick caption keys.
fixreplaces misheard words ("for your eye" -> "for AI.").captions.keysare the one or two words per line that carry the meaning; they get the accent box. Brand and product names spelled right. -
Render and judge.
python3 scripts/vlog.py render EDIT.json python3 scripts/vlog.py qa EDIT.jsonqaexits 1 on any finding. Fix the cause and re-render; do not tune a threshold to pass. Then look at the contact sheet (renders/<name>.contact.jpg). The judges catch broken cuts, not bad taste. -
Deliver the mp4, the one-line judge summary, and anything you left out and why.
What the judges check (references/judges.md)
| judge | fails on |
|---|---|
| cut | GHOST (a dissolve: both pictures at once), FLASH (a shot under 0.4 s), STROBE, FROZEN and CREEP (a card that stops moving), OFFBEAT (a cut inside a word) |
| picture | wrong size, black frames, length off the plan |
| loudness | integrated loudness more than 1 LU off target (-14 LUFS), peak at the ceiling |
| voice over music | the ducked bed within 10 dB of the voice under any kept word |
| speech | a kept word clipped by the cut (Whisper per sentence on the cut voice vs the plan) |
The rules the engine enforces for you
These came from real cuts that looked broken; references/editing-grammar.md has the why.
- A card is a cut, never a dissolve, and it lands on content: the title is there on frame one.
- Card and cutaway edges snap to the gap between words, and to a join in the footage when one is within four frames. No shot shorter than 0.45 s survives between two cuts.
- A cutaway next to a card slides 0.06 s under it, so no sliver of face flashes between them.
- Everything that moves moves sub-pixel, and every card keeps pushing to its last frame.
- Figures fade in at their final value. Nothing counts up through numbers nobody counted.
- Captions: one band, caps, spoken words full, upcoming words dim, key words boxed, navy on light cards, white with a soft shadow on footage, the finished line held through a breath. On footage a soft dark ramp sits under the band, because white type vanishes on sky and white walls.
Files
scripts/vlog.pyCLI;scripts/look.pyevery graphic;scripts/judge_cut.pythe cut judgereferences/edit-json.mdthe full EDIT.json contract with examplesreferences/editing-grammar.mdwhy each rule existsreferences/judges.mdwhat each judge measures and how it was calibratedtests/test_smoke.pyrenders a synthetic clip end to end and asserts every judge passes
04 同仓库更多 Skills
zero-downtime-cloud-move
Runbook for moving a live app from one cloud to another (Google Cloud to AWS, AWS to Google Cloud, a PaaS to your own account, or one storage provider to another) without downtime. The agent inventories what is really running, builds the new stack next to the old one, keeps a one-line rollback for every phase, proves the new stack with real workloads before any traffic moves, cuts over with a checklist, watches a fixed window after the switch, copies data with an idempotent job whose second pass must report 0 left, and deletes the old cloud last. Use when someone asks to migrate, move or replatform a production app, switch cloud providers, move a backend, database files or object storage, plan a DNS cutover, or decommission an old cloud account.
zayats-ceo-branding
Build an evidence-based CEO positioning paper, Personal Branding Roadmap, and editorial workflow using Marina Zayats's public method. Use for executive branding, LinkedIn ghostwriting briefs, profile strategy, and recurring CEO-approved content planning.
yc-app-roast
YC App Roast: roast a YC or a16z Speedrun application. Use when a founder wants their YC or Speedrun answers scored, asks "what would a YC partner think", wants the weak answers found or rewritten, or wants their draft checked before they submit. Scores every answer 0-10 against public advice from YC and Speedrun partners, names the top issue with the exact words that cost points, and writes a rewrite from the founder's own facts. Works for YC and a16z Speedrun. Not affiliated with Y Combinator or a16z.
yc-app-review
YC App Review: get a YC or a16z Speedrun application reviewed by people you trust. Use when a founder wants friends, mentors or alumni to review their YC or Speedrun application, or asks to share their draft for feedback. Builds a shareable review page (one HTML file, application-portal look) where reviewers leave notes per question and press "Send my notes" to send them back as text, then parses the notes into proposed rewrites. Optional tracked private links per reviewer. Works for YC and a16z Speedrun. Not affiliated with Y Combinator or a16z.
x-growth-playbook
X Growth Playbook. Analyse a person's own X (Twitter) posts and tell them what to post next, with the numbers behind every claim. Compares quote posts vs originals, links vs no links, short vs long, time of day in their timezone, media vs text and the topics they name, reports medians with n, then writes a 10-step plan and the next 7 posts in their voice. Use when the user says "analyse my X posts", "what works on my Twitter", "how do I grow on X", "what should I post next on X", "audit my X account", or shares an X data archive, X API export or a list of their posts. Runs on the user's computer.
workplan
Create, update, or close work plans for multi-step tasks. Use when starting refactors, bug lists, feature work, migrations, or any task with 2+ steps. Also use after auto-compaction to re-orient. Triggers: "workplan", "work plan", "create a plan", "what's the plan", "where was I", or when Claude detects a multi-step task that needs tracking.