/master-skills:viralityfrom master-skills
Researches viral short-form video content in a niche, extracts winning patterns, and produces shoot-ready scripts (Reels, TikTok, Shorts) rewritten in the user's voice with scored hooks and AI-tell removal.
Ships in master-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
One workflow: niche in, shoot-ready viral video script out. It finds what is already working,
breaks the winners down, and rewrites the pattern (never the video) in the user's voice for the
user's audience. Every tool is Python 3 standard library and runs from tools/ in this folder.
python3 tools/collect.py pasted.txt export.csv yt.json -o candidates.json # normalize
python3 tools/swipe.py candidates.json --min 2.0 # outliers
python3 tools/hookscore.py hooks.txt # score + formula
python3 tools/hookscore.py --list # the 26 formulas
python3 tools/speech.py --line "I saved \$400 on flights." --wpm 170 # time a line
python3 tools/humanize.py draft.txt --report -o clean.txt # strip AI tells
python3 tools/detect.py draft.txt clean.txt # 5-check panel
python3 tools/title.py --title "..." --cover "THREE WORDS" # title + cover
Paths are relative to this skill folder. Write the user's working files to
./virality/<slug>/ in their current directory, never inside the skill folder.
hookscore.py reports this as PAYOFF: LEADS / LATE / MISSING.Comment PLAN and I'll send you the list. Put the same ask as caption line 1.{{your number}} and flag it. A script with placeholders is not shoot-ready.humanize.py removes them.Read ~/.claude/virality/audience.md and ~/.claude/virality/voice.md if they exist (also
check ~/.claude/youtube/voice.md and ~/.claude/linkedin/voice.md from Jake's other packs).
If missing, fill them from templates/audience.md and templates/voice.md:
templates/voice.md. Measure their
pace with python3 tools/speech.py their_video.srt and use it as --wpm from then on.Goal: 30+ posts across 6 to 12 creators (from audience.md), at least 4 per creator, recent
(last 90 days). Sources, in order of preference:
python3 -m yt_dlp --version), list a channel's public Shorts with counts:
python3 -m yt_dlp --flat-playlist --playlist-end 40 -J "https://www.youtube.com/@HANDLE/shorts" > a.json
If it is not installed, say so and use another source. Never pass cookies or log in.Paste format (one post per line, | or tab separated), then normalize:
@creator | 1.2M | first line of the hook or caption | url | 0:41
python3 tools/collect.py pasted.txt a.json b.json -o virality/<slug>/candidates.json
python3 tools/swipe.py virality/<slug>/candidates.json --min 2.0
swipe.py ranks by views as a multiple of each creator's own median, so a 400K post on an
account that usually does 30K outranks a 2M post on an account that usually does 2M. Creators
with fewer than 4 posts are skipped, on purpose: one or two posts is not a median. 3x and above
is a strong signal; under 1.5x is that creator's normal day. Say the sample size out loud: 12
posts is an anecdote, 40 across 6 creators is evidence.
Take the top 3 to 5 outliers. Get each transcript (their captions, the user's paste, or
yt-dlp --write-auto-subs --sub-format json3 --skip-download URL for public YouTube). For each:
| field | how |
|---|---|
| hook formula | python3 tools/hookscore.py --hook "their first line" (name from tools/hooks.json) |
| payoff | the PAYOFF line from the same run: what number, how early |
| format | talking head, split screen, green screen, screen-share tutorial, listicle, skit, B-roll VO |
| length + pace | python3 tools/speech.py transcript.srt (seconds, wpm) |
| structure | hook, proof, steps, rehook at ~50%, payoff, CTA: which beats, in what order |
| CTA | the exact ask and keyword, and where it appears (spoken, on screen, caption line 1) |
Then state the ONE thing the winners share that the rest of the batch does not. The formula name is a judgement about the words, not a claim about why the video got its views. Say so.
Pick the winning pattern and rebuild it from the user's own material:
audience.md).
If the hook would work with another creator's name on it, it is not their hook yet.voice.md. Contractions.
Read every SAY line out loud in your head: if they would not say it, rewrite it.python3 tools/humanize.py virality/<slug>/draft.txt --report -o virality/<slug>/clean.txt
python3 tools/detect.py virality/<slug>/draft.txt virality/<slug>/clean.txt
humanize.py fixes invisible characters, typography (em dashes) and the slop lexicon
automatically, and FLAGS structural tells ("it's not just X, it's Y", rule-of-three, clickbait
openers) for you to rewrite by hand. Aim for PASS on detect.py. These are local heuristics,
not GPTZero or any detector API; never tell the user their text is "undetectable".
Write 5 hooks on 5 different formulas from tools/hooks.json (payoff-first ones are marked;
--list shows them), each with a spoken line and a separate on-screen line (6 words or fewer).
python3 tools/hookscore.py virality/<slug>/hooks.txt
Keep the top two. Ship the highest score whose PAYOFF is LEADS. If the best is under 50, you do not have the hook yet: rewrite, do not polish. The score catches greetings, preambles and vague hooks well; it cannot predict which of two good hooks wins. Show the user both.
Write virality/<slug>/script.md in exactly the format of templates/script.md and print it
in chat:
### N. LABEL (m:ss-m:ss) with SAY:, SCREEN:, VISUAL:. Labels: HOOK first,
then PROOF / STEP / REHOOK / PAYOFF, CTA last. Time every SAY line with
python3 tools/speech.py --line "..." --wpm <their pace> and use those timecodes.Comment KEYWORD and I'll send you <the thing>. Keyword on screen.python3 tools/title.py --title "..." --cover "...".[ON SCREEN: ...].
Run both through humanize.py.End with a receipt and a question:
SCRIPT READY virality/<slug>/script.md
based on: @creator, 1.2M views, 24x their median (formula: The Payoff)
hook: 80.8 STRONG, payoff LEADS ($62 at word 3)
length: 27.5s across 6 beats at 190 wpm
keyword: PLAN (spoken, on screen, caption line 1)
humanizer: N artefacts stripped, detect.py <score> <verdict>
open flags: none (or: 2 {{your number}} placeholders to fill before shooting)
Shoot it, or change it?
Append one line to ~/.claude/virality/log.md on "shoot it": date, formula, hook, keyword. Next
run, read it and ask for the views so the user's own results feed step 2.
median column with
each creator's typical views (from a public analytics site) so swipe.py can rank them.{{your number}} and flag it.hookscore.py separates real hooks from deliberately bad ones well (AUC 0.83 in its original
calibration) and a creator's hits from their own misses barely at all (AUC 0.56).Fused from two MIT packs by Jake Schincariol (same author as this repo): linkedin-agent-skill (humanize.py, detect.py, slop.json, three payoff formulas) and youtube-agent-skill (swipe.py, title.py, the 21-formula hook library and classifier). The hook scoring panel comes from his instagram-agent-skill because it was calibrated on short-form hooks. Each copied file carries an origin header. The full packs:
/plugin marketplace add Jakeschincariol/linkedin-agent-skill
/plugin marketplace add Jakeschincariol/youtube-agent-skill
templates/audience.md (opens in a new tab)templates/script.md (opens in a new tab)templates/voice.md (opens in a new tab)tools/collect.py (opens in a new tab)tools/detect.py (opens in a new tab)tools/hooks.json (opens in a new tab)tools/hookscore.py (opens in a new tab)tools/humanize.py (opens in a new tab)tools/slop.json (opens in a new tab)tools/speech.py (opens in a new tab)tools/swipe.py (opens in a new tab)tools/test_virality.py (opens in a new tab)tools/title.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub jakeschincariol/master-skills --plugin master-skills3 skills in this plugin
/buildTakes someone with no technical skill from "I want a website or app that does X" to a live, working, great-looking product. Merges the best design skills (impeccable, Anthropic's frontend-design) with the best engineering discipline (gstack, superpowers). Covers a one-page plain-English spec, the simplest stack that works, a committed design direction before any code, small verified build steps, real-browser QA at 375/768/1440 with runnable checks, then deploy and a handoff note. Use when the user says "build me a website", "make an app", "landing page", "portfolio", "booking page", "turn this idea into a site", "make my site look good", "fix my site", "is my site ready to launch", or "deploy this"./editEdit talking-head and short-form video end to end: cut dead space, ums and retakes, add word-timed captions, dynamic visuals and stop motion, then finish the audio at -14 LUFS and export for Reels, TikTok and Shorts. Combines the HyperFrames, Remotion and video-use editing skills with local ffmpeg tools. Use whenever someone wants to edit, cut, tighten or caption a video, or says "cut the dead space", "remove the silences", "cut the ums", "jump cuts", "add captions" or "subtitles", "make this a reel", "add b-roll" or "motion graphics", "make a stop motion", "fix my audio", or drops raw footage that needs to become postable.
Other plugins' skills for the same job