viral-script-generator

A tool that writes short scripts for online videos using spoken lines, on-screen text, camera footage, and planned attention points. B-roll means supporting footage shown while someone is speaking.

In plain words
What is it for?
Use it to turn an idea into a shot-by-shot video script with an opening hook, rising structure, payoff, and call to action.
Why use it?
It gives each part of a video a defined job and helps keep the script focused on holding viewers' attention through to the end.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/moses607/socialforge/viral-script-generator
Any agent
npx skills add moses607/socialforge --skill viral-script-generator
Clone the repo
git clone --depth 1 https://github.com/moses607/socialforge

Made for: Claude Code, Codex.

Per session 102 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,106 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00102 $0.01106
Opus 5 $0.00051 $0.00553
Sonnet 5 $0.00020 $0.00221
Haiku 4.5 $0.00010 $0.00111

Measured 2d ago against content hash bf7dc3e43105, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

viral-script-generator scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/viral-script-generator/SKILL.md · 59 lines

How it starts

The opening of the file, as written. The whole thing — 59 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Viral Script Generator

Retention is the only metric that compounds. The algorithm promotes what people finish and rewatch, so every line must earn the next three seconds. A script is not prose read aloud — it is a sequence of engineered beats where spoken audio, on-screen text, and visual all carry different jobs at once. Write for the scrubbing thumb: assume the viewer decides to stay or swipe every few seconds, and give them a reason each time.

1. Build the spine (HOOK → re-hook → escalation → payoff → CTA)

  1. HOOK (0-3s): state the stakes or the promise in the first spoken breath. Lead with the result, the contradiction, or the tension. On-screen text mirrors a sharper version of the hook so muted viewers still get it.
  2. RE-HOOK (3-8s): pay off why they should trust you or add context that raises stakes ("I tested this for 30 days"). Never restate the hook — advance it.
  3. ESCALATION: stack 3-5 value beats, each raising tension or specificity. Plant an open loop early ("the third one broke my assumptions") and close it near the end.
  4. PAYOFF: deliver the promised result. This is the emotional peak — make it concrete and visual.
  5. CTA: single ask, tied to the payoff.

2. Engineer retention beats

  1. Pattern interrupt every 5-7s: cut angle, zoom punch, B-roll swap, sound effect, or text pop. Monotony is the #1 drop-off cause.
  2. Open loops: tease something you resolve later. Never leave a loop unclosed — it kills trust.
  3. Contrast pacing: alternate fast dense lines with one slow deliberate line for emphasis. Vary sentence length.
  4. On-screen text as a second channel: text = keyword or punchline, audio = full sentence. They should never be identical.
  5. Kill dead air: trim every "so", "basically", "um". First frame must be motion or a face mid-sentence, never a slow intro.

3. Pick the arc

  • Before/after transformation: show the pain state, the turn, the result. Best for tutorials, fitness, product.
  • Myth-bust: "You've been told X. It's wrong. Here's why." High save rate.
  • Listicle: "3 things..." — numbered, each item a beat. Promise count in hook, deliver fast.
  • Story/POV: first-person tension, a twist, a lesson. Highest completion when the payoff reframes the opening.

Read the full file on GitHub · 59 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 59 lines · 102 tokens per session scan A bf7dc3e43105

Subscribe to this mod's changes

viral-script-generator is a skill published in the GitHub repository moses607/socialforge (2 stars, last pushed 1mo ago), licensed MIT. It adds 102 tokens to every session and 1,106 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

self-media-short-video

把已确认的母题或文案转成可直接拍摄、录屏或交给视频工具制作的短视频方案,也支持在用户确认肖像与声音权利并完成平台手动上传后制作数字人视频。用于视频号、抖音、小红书视频和其他竖屏短视频的口播稿、前 3 秒钩子、分镜、字幕、录屏清单、封面、话题、BGM 建议、数字人制片包和发布文案。.

yanhua1010/self-media-content-workflow · 118 tokens

self-media-wechat-publisher

把已确认的公众号终稿 Markdown 排版并写入微信公众号草稿箱。用于用户说"发布到公众号、写入草稿箱、公众号排版、换个排版主题、发小绿书图片消息"等场景。自动上传封面与文内图片,支持多主题与自定义 CSS、多账号和 server 模式。只创建草稿不群发,凭据只通过环境变量提供,未安装适配工具时交付手动发布包。.

yanhua1010/self-media-content-workflow · 112 tokens

verticals

AI-native vertical video engine with niche intelligence. Takes a one-line topic and a niche profile, and outputs a finished YouTube Short/Reel/TikTok with AI-generated b-roll, voiceover, burned-in captions, background music, and thumbnail. Supports multiple LLM providers (Claude, Gemini, GPT, Ollama), TTS providers…

rushindrasinha/youtube-shorts-pipeline · 93 tokens

before-after-and-transformation

The transformation / before-after content format — structure a credible, honest, satisfying transformation (fitness, beauty, business results, skill progress, makeovers, client glow-ups, product before/after). Use when someone wants a before/after, a transformation post, a client-results reveal, a progress/journey…

social-media-skills/skills · 210 tokens

instagram-reels-publishing

The Instagram Reels publish-mechanics skill -- distinct from reels-script (the script), instagram-seo (the keyword caption), and platform-specs-and-validation (cross-platform validation). Use when someone has a finished Reel and needs to publish it correctly: specs, cover, safe zone, publish settings. It gets the Reel…

social-media-skills/skills · 210 tokens

tiktok-marketing

Plan, script, caption, and publish short-form video for TikTok. Use when the user wants to write the first 1-3 second hook (spoken line plus on-screen text), draft a caption under 2,200 chars with TikTok settings and hashtags, ride a trending sound without being cringe, strip AI tells from a spoken script to sound…

sergebulaev/tiktok-skills · 117 tokens