Douyin Viral Script Workflow
A six-step pipeline that downloads competitor Douyin videos, analyzes them with Gemini, extracts a viral formula, and writes a short-form sales script with storyboard.
Marketing & SEOIntermediate★ 2,348⑂ 315AI score 9/10Last updated: Nov 23, 2026
What it does
Turns "copying viral videos by gut feeling" into a systematic teardown-and-replicate workflow for short-form commerce video.
- Steps 1–2: Collect reference video links and product details, then download the clips via a
yt-dlp-based script. - Step 3: Run Gemini video analysis across 7 dimensions — the first-3-second hook (frame-by-frame), shot structure, pacing, visual style, conversion design, ad-compliance risk, and reusable elements.
- Step 4: Merge findings into a reusable "viral formula" and append new category formulas to a growing reference library.
- Step 5: Generate the script plus a storyboard table in two flavors: organic product-seeding video or paid ad (Qianchuan) creative.
- Step 6: Proofread across 5 checks — conversational tone, hook strength, pacing/length, ad compliance (no absolute claims, no "results in X days" promises), and AI-sounding phrasing.
Who it's for
- Short-form commerce marketers and performance-ad creative planners
- Video producers/editors who want a repeatable way to deconstruct reference videos
- Brand managers who need a 15–30 second selling script fast
Examples
- "Break down these 3 Douyin videos and write me a 30-second script for our serum" → download, analyze, extract formula, script + storyboard, compliance pass.
- "I need a 15-second paid creative that drives traffic into the livestream" → data-style hook plus a hard CTA.
- No competitor videos available: pull the closest category formula from the stored library and get a draft in 5–10 minutes.
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/alchaincyf/huashu-skills/HEAD/huashu-douyin-script/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on AI Skill Mart. Copy the huashu-douyin-script folder from the GitHub repo alchaincyf/huashu-skills into my ~/.claude/skills/huashu-douyin-script/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/alchaincyf/huashu-skills.git && cp -r huashu-skills/huashu-douyin-script ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal.
- Clone the repo:
git clone https://github.com/alchaincyf/huashu-skills.git - Copy the skill into Claude:
mkdir -p ~/.claude/skills && cp -r huashu-skills/huashu-douyin-script ~/.claude/skills/ - Install the tooling:
pip install yt-dlp(orbrew install yt-dlp) and installuvfrom https://docs.astral.sh/uv - Get a key at https://aistudio.google.com/apikey and export it:
export GEMINI_API_KEY=your_key(add to ~/.zshrc to persist). Optionally setGEMINI_BASE_URLif you use a proxy endpoint. - Make sure you are logged into Douyin in Chrome so the downloader can reuse your cookies.
- Restart Claude Code and say something like "analyze these Douyin videos and write a script for my product".
View source on GitHub ↗License: MIT