Index of every page on this site: llms.txt
All skills
utillayer avatar

/yt-script

@e0ac1e7
Run it yourself

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.

Requires /yt-research
Use this Skill: https://skilld.dev/gh/utillayer/youtube-agent-skill/yt-script

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈98 tokens for metadata: the name and description. ≈773 when used: this file. ≈2.5k more on demand in 1 file.

Description uses 4.9% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈393 characters, or 4.9%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

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?

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts6d3 checks · Risk SAFE
  • Gen Agent Trust Hub6d

    The skill provides a workflow and Python utilities for writing and scoring YouTube video scripts. It includes checks for narration flow, engagement hooks, and content accuracy. No security issues were detected.

  • Socket6d

    No alerts

  • Snyk6d

    Risk: LOW · No issues

Signed by skilld at e0ac1e7. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 4 weeks ago.

Activeupdated 4 weeks ago
What it can do
Runs commands
All 1 allowed tools
Bash(python3 ${CLAUDE_SKILL_DIR}/hookscore.py *) Bash(python3 ${CLAUDE_SKILL_DIR}/scriptcheck.py *)

README badge

README badge for utillayer/youtube-agent-skill/yt-script