agentleFS
utillayerutillayer/youtube-agent-skill/skills/yt-script/SKILL.md

yt-script

Skill10 starsChanged 28 days agoMITView on GitHub

Turn a video idea into a script meant to be spoken: five hooks scored against 21 formulas, the best opening kept, then the narration paragraph by paragraph with what is on screen, checked before anyone records. Use for "write my script", "write my next video", "I need a hook", "how should I open this", "what do I say", or any time someone is about to record without a first line.

6 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

6 rules. 0 are common, 1 is distinctive, and 5 are very specific to this project.

  • 0

    Common

    Most of the 6 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read ~/.claude/youtube/voice.md if it exists: who the viewer is, how the creator talks, the words they never use, the claims they will not …

    line 27
  2. Very specific:

    If the video retells a book, a record or history, run /yt-research first and write from its brief.

    line 31
  3. Distinctive:

    Never make up a number, a result or a quote.

    line 33
  4. Very specific:

    Write five openings against the 21 formulas, score them with hookscore.py, and show the best two with their scores.

    line 41
  5. Very specific:

    Write pictures: Every paragraph gives the screen something to show: a place, an action, a face.

    line 51
  6. Very specific:

    Put the narration in script.json - {"title", "names", "text", "sources"}, paragraphs separated by blank lines, every proper name in names - …

    line 60

“Common” is measured: kept by at least 6 in 10 of the 6 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

yt-script

The script is the video. Everything after it - voice, edit, thumbnail - can only lose what the words did not earn. Two tools here keep the writing honest:

python3 ${CLAUDE_SKILL_DIR}/hookscore.py hooks.txt       # score and rank opening lines
python3 ${CLAUDE_SKILL_DIR}/scriptcheck.py script.json   # is it ready to be spoken?

The tools live in this skill's folder. ${CLAUDE_SKILL_DIR} is that folder in Claude Code; anywhere it does not expand (claude.ai, Codex), use the folder this SKILL.md was loaded from.

Before you start

  1. Read ~/.claude/youtube/voice.md if it exists: who the viewer is, how the creator talks, the words they never use, the claims they will not make. If it is missing, ask for three of their videos, work out the voice, and write the file. Words in someone else's voice cannot be read aloud convincingly.
  2. If the video retells a book, a record or history, run /yt-research first and write from its brief. Nothing goes in the script that is not in the brief.
  3. Never make up a number, a result or a quote. If a line needs a figure you do not have, ask for it or cut the figure.

The opening

The first fifteen seconds decide the video. They must keep the title's promise, open a question the viewer cannot answer yet, and show the answer is coming.

Write five openings against the 21 formulas, score them with hookscore.py, and show the best two with their scores. Pick the more accurate one if they are close: a hook the video does not deliver is worse than a weaker one it does. No channel intro, no "before we start", no subscribe request - those are where the early drop comes from.

The body

  • One idea per paragraph, 30-75 words: one breath for a person, one take for a voice model.
  • Written for the ear. Short sentences. Numbers as words. No dashes, brackets, semicolons or double quotes - they trip narrators and break captions.
  • Write pictures. Every paragraph gives the screen something to show: a place, an action, a face. Mark it: [ON SCREEN: ...]. A paragraph that is only an idea becomes a slideshow.
  • Turn at the middle. Around 45% in, a question or a reversal that resets attention. Retention graphs sag there; give them a reason not to.
  • Pay off the opening, explicitly, and say you are doing it.
  • Close with one line. One ask at most.

The check

Put the narration in script.json - {"title", "names", "text", "sources"}, paragraphs separated by blank lines, every proper name in names - and run scriptcheck.py. Fix every error before recording; read every warning. For a sourced video, the independent fact check in /yt-research comes next.

What to hand back

  • the two best openings with their scores, and which formula each uses
  • the script, paragraph by paragraph, with [ON SCREEN: ...]
  • the scriptcheck.py result
  • the runtime at about 150 words a minute

Before you hand it over

This skill drafts; you publish. End with the copy-ready block and one question: post it as is, or another pass?

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.