yt-script
Write a YouTube video script from a raw idea - hook options off 21 formulas, scored, then the full spoken script with the retention beats marked. Use whenever the user wants a video script, a hook, an
Files4
View on GitHubSKILL.mdsource/skill/yt-script/SKILL.md
GitHubyt-script
One idea into a script somebody finishes.
The hook scorer is a text heuristic, not a performance forecast. Choose --kind story
for narrative hooks or --kind visual for text accompanying visual footage; those modes
omit direct-address and threat-word scoring. Default direct-address mode is for spoken
advice addressed to viewers. Every score must include its applicability and limitations.
For visual hooks inspect frames; do not rank visual storytelling from words alone.
python3 hookscore.py hooks.txt # rank your hook options
python3 hookscore.py --hook "one line" # score a single one
Before you write
- Read
~/.codex/youtube/voice.mdif it exists. That is the user's voice profile: how they talk on camera, the words they never use, who they are talking to, what they will not claim. If it does not exist, ask for three of their own videos, read or transcribe them, infer the voice, and write the file. A script in the wrong voice is worse than no script, because they have to read it out loud. - Never invent a number, a result or a source. If a figure would strengthen it and you do not have one, ask for it or write the line without it.
The shape
The first 15 seconds is the whole job. It does three things or the video leaks: confirm the click the title promised, open a question the viewer cannot close, and prove the payoff exists.
- Hook. Write FIVE against the 21 formulas, run them through
hookscore.py, inspect fit, tension, delivery and visuals alongside the heuristic, and show the strongest options with their limitations. Do not force "you", threats or numbers into a story to increase its score; the scorer cannot judge narrative quality. - The turn (0:15-0:45). Say what the video is going to do, in one sentence, and start doing it. No channel intro, no "before we get started", no subscribe pitch. Those are the single most common cause of the 0:30 cliff.
- The body. One idea per beat. Mark each beat with what is ON SCREEN, not just what is said - a talking head with nothing to look at is a podcast.
- The payoff. Deliver the thing the hook promised, explicitly, and say that you are delivering it: "that is the prompt, it is in the description".
- The close. One ask. Not three.
What to hand back
- the two best hooks with their scored panels
- the script, beat by beat, with
[ON SCREEN: ...]on every beat - the runtime estimate at 150 words per minute
- one line naming which formula the winning hook used and why it fits this idea
The gate
Nothing here publishes. This skill writes and you publish. Every output ends in a block the user copies, and the last line of every run is the question: ship it, or change it?