Deterministic workflow to find and export full podcast transcripts as cleaned TXT files from YouTube URLs, episode webpages (including Xiaoyuzhou), Apple Podcasts title search, X/Twitter links, direct
omni-ugc-ad-factory
Produce a UGC-style talking-head video ad end to end on the MaxFusion MCP — research the product with user-supplied competitor leads, tear down 5 competitor Meta ads and 5 organic TikToks, write a pain-driven script that sounds like a person talking (never like an ad), reverse-prompt a rights-clean photoreal actor from a user-supplied reference photo, generate two chained 10-second Gemini Omni clips that play as one continuous take, and ship a single seamless 9:16 MP4. Use whenever the user wants a UGC ad, a talking-head ad, an ad for an app or product, mentions Omni or Gemini Omni Flash, drops an actor photo and asks for a video ad, or says anything like "make me some UGC", "let's make ads for X", or "another variation". Built for Claude Code (local ffmpeg); degrades to Claude app with documented fallbacks.
What it says
---
name: omni-ugc-ad-factory
description: Produce a UGC-style talking-head video ad end to end on the MaxFusion MCP — research the product with user-supplied competitor leads, tear down 5 competitor Meta ads and 5 organic TikToks, write a pain-driven script that sounds like a person talking (never like an ad), reverse-prompt a rights-clean photoreal actor from a user-supplied reference photo, generate two chained 10-second Gemini Omni clips that play as one continuous take, and ship a single seamless 9:16 MP4. Use whenever the user wants a UGC ad, a talking-head ad, an ad for an app or product, mentions Omni or Gemini Omni Flash, drops an actor photo and asks for a video ad, or says anything like "make me some UGC", "let's make ads for X", or "another variation". Built for Claude Code (local ffmpeg); degrades to Claude app with documented fallbacks.
---
# Omni UGC Ad Factory
Turns a product + an actor reference photo into **one finished ~20-second UGC ad**: two
chained 10-second Omni clips stitched into a single seamless **9:16 vertical MP4**. That file
is the deliverable — no composites, no extra formats. The user does what they want with it.
**Model:** `gemini-omni-flash`, locked. The only model that produces synchronized speech AND
10-second clips. Casting stills: `gpt-image-2`, locked (see `references/actor-image.md` —
nanobanana produced plastic skin through four rounds of tuning; the model is the first
variable to change, not the last).
---
## How this skill is enforced — read this first
**You never hand-write a prompt for a paid generation call.** Every prompt is *assembled* by
a gate script from structured JSON you write. If the gate fails, you fix the JSON and re-run
it. The generation call uses the approved file's content **verbatim**:
```
casting.json → scripts/gate_casting.py → ad1/approved_casting.txt → gpt-image-2
clip1.json → scripts/gate_omni.py → ad1/approved_clip1.txt → gemini-omni-flash
clip2.json → scripts/gate_omni.py → ad1/approved_clip2.txt → gemini-omni-flash
```
The gates encode every production failure this pipeline has ever had: age-drifted casting,
device words rendering into frame, robot voices, choreographed disfluencies, "same girl"
identity shorthand, ad-copy closers, re-described seed frames, negated visual instructions,
missing camera landings. **A prompt that skipped its gate does not exist.**
Data files the gates read (edit these to improve the system, not the prose rules):
`data/age_lexicon.json` · `data/delivery_glossary.json` · `data/voice_spec.json` ·
`data/color_grading_glossary.json`
---
## The chaining mechanism
Omni holds its reference image for the first ~8–10 frames before dissolving into the
generated scene. Seed clip 2 with clip 1's trimmed final frame and that hold becomes an
invisible join. The order cannot be rearranged:
```
generate clip 1 → TRIM clip 1's dead-air tail → extract the trimmed clip's last frame
→ seed clip 2 with it → generate clip 2 → seam-check → trim tail → stitch
```
**Trim clip 1 before extracting the seed** — trim after, and clip 2 chains to a frame that no
longer exists in the final cut. `scripts/adkit.py` enforces this.
**Corollary:** the hold also puts the casting still's *lighting* on screen for the first
third of a second of every clip. Prompt the scene the still is already lit for, or the
dissolve IS a visible mid-clip light change.
---
## 0 — Setup: one round of questions, then stop asking
Ask all of these in **one** message, then infer everything else:
1. **Actor age bracket** — 20s / 40s / 50s (drives the casting lexicon, mechanically).
2. **Delivery tone** — yapping & fast / agitated & fed up / excited & hyped / calm, honest & direct.
3. **Visual lane** — lane zero (no graphics — the default and usually the best) /
hand-drawn illustration / bold color + arrows / motion graphics / environment & light.
4. **Research leads (open question):** "To make research fastest — do you know your
competitors? Paste their Meta Ads Library URLs if you have them, or just give me the
keywords that best fit the product. Otherwise I'll search from scratch."
5. **Actor reference image:** ask the user to supply one (Pinterest or anywhere).
Recommend: *a natural, uneven, real photo — ordinary light, imperfect framing, no studio
polish. The more accidental the photo, the better the actor.*
If the user already answered any of these, don't re-ask. If they say "you pick", pick, state
the pick in one line, move on.
## 1 — Research the product
Web-search it. Establish what it does, its **mechanism** (the specific thing it does that
solves the problem), and the real pain in users' own words (reviews, Reddit, App Store).
"Reduces screen time" is a category. "Makes you take a breath before the app opens" is a
mechanism. The mechanism is what the ad turns on.
## 2 — Pull reference: 5 paid + 5 organic
**Use the user's leads first.** Competitor page URLs → pull those advertisers directly.
User keywords → use them verbatim before inventing your own. Only fall back to your own
queries if theirs return nothing — and then follow the keyword-hygiene rules in
`references/pitfalls.md` §4 (query the advertiser's copy-words, 2–3 words, check hit rate,
dedupe by `page_id`, `days_running` is age not runtime).
**Meta** — `maxfusion_search_meta_ads`: `media_type: "video"`, `limit: 10`, select 5.
**TikTok** — `maxfusion_search_tik_tok`: `sort: "most_liked"`, `count: 10` (enum floor), select 5.
Rank organic by **save rate** (saves/views), not views. Import via `maxfusion_import_meta_ads`
/ `maxfusion_import_tik_tok`.
## 3 — Tear them down on the canvas
One flow, two `flowGroup`s (paid: adItem ×5; organic: tiktokItem ×5), each into a
`contentAnalyzer` (`gemini-3.1-pro-preview`, master prompts left `""` — the backend hydrates
forensic transcribers; don't rewrite them). Validate (free) → run → read
`runtime_state.node_outputs[node][0].items[].analysis_text` via `maxfusion_get_flow
Also scanned in media
Full start-to-finish video editing that runs every installed video skill as one pipeline. Cuts silences and retakes, plans the edit from the transcript, then adds captions, motion graphics, face-track
将用户提供的混音歌曲音频自动分轨、扒谱并改编为可演奏的五件校园乐队伴奏总谱,交付 MIDI、PDF 和可编辑 MSCZ。用于音频到乐队谱、歌曲扒带、乐队改编与难度调整;不用于语音转写、歌词翻译或仅下载现成曲谱。
把一首古诗、一阕词(或一句诗、一段短文)做成 20–80 秒的「代码画的水墨手绘风 2D 动画」——一个红点小角色把诗走一遍,题签逐句写字,带朗诵,末句边念边写,红印章收尾;配乐和音效用 numpy 合成,封面是第一帧,最后给上传版和实测帖草稿。用户说「把 XX 这首诗 / 这首词做成动画」「做一条诗词动画 / 古诗动画 / 水墨动画」「像《早发白帝城》《赤壁怀古》那条一样做」「用代码画一首诗」「