make-viral-video
Build a short news-explainer video tuned for shareability.
Skill by rudyalways
Chalk Labs
Need help deploying make-viral-video?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/rudyalways-make-viral-video
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
make-viral-video- Description
- Build a short news-explainer video tuned for shareability. One striking moment per video; real fetched assets; self-heal validation; pluggable TTS (Gemini-free default, OpenAI fallback).
- License
- MIT
- Instructions
- 165 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
- Instructions call the network
Files (9)
- SKILL.md
- manifest.json
- asset_cache.py · scripts/
- build.sh · scripts/
- codex-prompt.md · scripts/
- render.py · scripts/
- test_source_tag.py · scripts/
- validate_asset.py · scripts/
- verify_video.py · scripts/
SKILL.md (first lines)
# make-viral-video
Build a short (~30-60s, 1280×720 landscape, h264+aac) news-explainer video around a single source URL or news event. Designed for shareability via the **specificity-shape** framing (Chi's pick 2026-05-09): one striking number, image, or quote — not a comprehensive overview.
Distinct from Lucy's `recursive-meta-explorer` v8-v12 lineage (which optimized for completeness). This skill optimizes for *the one moment that makes someone share*.
## Usage
```bash
bash "$SKILL_DIR/scripts/build.sh" --topic "DoW UAP file release" --source "https://war.gov/UFO" --out results/
```
Produces:
- `results/viral-{ts}/video.mp4` — the rendered video
- `results/viral-{ts}/script.md` — the narration script
- `results/viral-{ts}/assets/` — fetched images with hash + validation log
- `results/viral-{ts}/build.log` — full build trace (codex iterations + validation results)
- `results/viral-{ts}/verify.sh` — script to independently re-validate the build
## Required tools
- `python3 ≥ 3.10` (PIL for frame composition)
- `ffmpeg` (encode + ffprobe gate)
- `gemini` API key (free tier, default) **OR** `openai` API key (fallback)
- Codex CLI (for script generation per pass)
## Architecture
### Three-phase build with self-heal
**Phase 1 — Source ingestion + script generation**
- Fetch the source URL (curl + Playwright fallback for JS-rendered pages)
- Codex generates a narration script + asset manifest with the **specificity-shape framing**:
- One striking opening fact (the hook)
- 3-5 supporting details (context)
- One closing twist or open question (the share moment)
- Asset manifest is JSON: `[{"url": "...", "alt": "...", "purpose": "hook|support|closer"}]`
**Phase 2 — Asset validation (the self-heal loop)**
For each asset URL:
1. Fetch
2. Hash check: refuse duplicates (catches the v12 PR46-404-dupe pattern)
3. Content-type check: must be image/* or fall back
4. 404 detector: known-404-page hash list + OCR keywords ("404", "page not found", "Not Found")
5. Resolution check: ≥600×400 (sub-thumb assets are not viral-grade)
6. Re-fetch on failure with up to 2 retries
7. **If validation still fails** → script regen with that asset removed, NOT a silent skip
If 3+ assets fail validation, escalate to user (don't ship a video with placeholder content).
**Phase 3 — Render + pre-publish gate**
1. Compose frames via PIL (templates: hook-card / asset-with-caption / closer-card)
2. TTS narration via Gemini Flash (free) → fall back to OpenAI on rate-limit / error
3. ffmpeg encode
4. **ffprobe gate**: confirm h264 video stream + aac audio stream + 1280×720 dimensions + duration within ±5s of script estimate
5. If gate fails → report what's missing + don't post
## Visual constraints (specificity-shape)
Per Chi's "visual needs improvement too":
- **Hook card** (0-3s): single bold claim in large type (≥120pt), brand color background, no other text
- **Support cards** (3-X seconds before closer): real fetched image fills frame; caption overlay (semi-transparent strip, 36pt) with the *one* attributable fact about that image
- **Closer card** (last 3-5s): the share-moment text — not a recap. A pointed question, surprising number, or open-ended provocation.
- Aspect: 1280×720 (16:9). NOT vertical 9:16 (Lucy's v10/v11 cropped pictures because of this; landscape preserves news-photo composition).
- Typography: max 2 fonts (one display, one body). Body font must read at 36pt against any image (test: bottom-third of the frame must contain text or be black-strip overlay).
## TTS provider + voice selection
Default: `GEMINI` (free tier, 1500 req/day quota) → `OPENAI` (sage voice, ~$0.02/min) fallback.
Voice flags (per `render.py --help`):
- `--gemini-voice {Aoede,Charon,Kore,Puck}` (default `Aoede`)
- **Aoede** — alto/neutral, default, fits documentary tone
- **Charon** — baritone news-anchor; per Susan/Lucy 2026-05-10: matches news-explainer shape
- Kore (mid expressive), Puck (high conversational)
- `--openai-voice` — free-text (used only on OpenAI fallback path)
## Series branding (Mini Wire)
The skill ships an end-card slate (last 2s) for series identity. Per Chi 2026-05-10:
```
MINI WIRE
by Echo Act IV · Sutando (optional byline)
ep. 001 · 2026.05.10
```
Slate flags:
- `--series-title "Mini Wire"` — wordmark in brand red. Empty string skips the slate entirely.
- `--episode 001`
- `--date 2026.05.10` (defaults to today)
- `--byline "by Echo Act IV · Sutando"` — free-text, between title and episode line. Empty omits byline. **Caller controls every word — no hardcoded identity in render.py.**
- `--slate-duration 2.0` — seconds
The slate is **silent** — narration runs over the prior frames; slate gets a `apad=pad_dur=2` audio tail so AV streams stay synced through the silent end-card.
## Multi-image visual support
`render.py` reads `asset_manifest.json` and maps each entry's `purpose` to its frame:
- `purpose=hook` → HOOK frame bg
- `purpose=support` (idx N) → SUPPORT[N] frame bg
- `purpose=closer` → CLOSER frame bg
- Falls back to first non-`data-card-*` real image if no explicit asset
Manifest entries have shape:
```json
{
"url": "https://example.com/photo.jpg",
"local_file": "photo.jpg",
"alt": "...",
"purpose": "hook|support|closer",
"badge": "Optional upper-strip badge text",
"is_video": false,
"source_tag": {
"event_id": "pursue-release-01-2026-05-08",
"case_id": "apollo-17-vm6-1972",From rudyalways/PhonePcLiveAgentsV2, MIT.
More from rudyalways/PhonePcLiveAgentsV2
- 0.563score
claude-router
rudyalways
Choose between the local Codex CLI and Gemini CLI from Claude Code.
SkillBFreshness: B★ 2Claude Code +9 - 0.559score
claude-gemini
rudyalways
Use the local Gemini CLI from Claude Code with the user's existing Gemini authentication or API configuration.
SkillBFreshness: B★ 2Claude Code +9 - 0.559score
image-generation
rudyalways
Generate and edit images using Gemini Flash Image, and generate videos using Veo.
SkillBFreshness: B★ 2Claude Code +9 - 0.303score
doc-ingest
rudyalways
No description from the publisher yet.
SkillBFreshness: B★ 2Claude Code +9 - 0.300score
agent-room-ops
rudyalways
No description from the publisher yet.
SkillBFreshness: B★ 2Claude Code +9 - 0.300score
context-drop
rudyalways
No description from the publisher yet.
SkillBFreshness: B★ 2Claude Code +9
Signals
- Stars
- 2
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Aug 5, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
More from rudyalways
- 0.563score
claude-router
rudyalways
Choose between the local Codex CLI and Gemini CLI from Claude Code.
SkillBFreshness: B★ 2Claude Code +9 - 0.559score
claude-gemini
rudyalways
Use the local Gemini CLI from Claude Code with the user's existing Gemini authentication or API configuration.
SkillBFreshness: B★ 2Claude Code +9 - 0.559score
image-generation
rudyalways
Generate and edit images using Gemini Flash Image, and generate videos using Veo.
SkillBFreshness: B★ 2Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get make-viral-video running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
make-viral-video skill. Agent Mart. https://agentmart.dev/skills/rudyalways-make-viral-video (last updated 2026-10-24)