Yt Package
Published by mohammedsadeghi in youtube-agent-skill
What this skill does
>-
Add Yt Package to your agent
Review the source and files first. When you are ready, copy the prompt instruction or use the CLI command supported by your environment.
Install with a prompt
Paste this into a compatible coding agent:
add this skill "yt-package" from https://github.com/mohammedsadeghi/youtube-agent-skillInstall with the CLI
Run this command in a controlled environment after reviewing the repository:
npx skills add https://github.com/mohammedsadeghi/youtube-agent-skill --skill yt-packageSkill instructions
yt-package
The title and the thumbnail are ONE unit. Writing them separately is why most packaging fails: the thumbnail repeats the title, and half the click surface says the same thing twice.
python3 "$SKILL_DIR/title.py" --title "..." --thumb "AI RAN IT"
python3 "$SKILL_DIR/title.py" titles.txt # one per line, ranked
Before running the helper, set SKILL_DIR to the full path to the directory containing this
SKILL.md. Claude Code provides that path as CLAUDE_SKILL_DIR; other agents should resolve it from
the loaded skill file. Do not assume the user's working directory is the skill directory.
Before you write
- Look for
youtube-voice.mdin the current project, then~/.youtube-agent-skill/voice.md. If neither is readable, ask for a sample or voice preferences. Do not create or update a profile unless the user asks. - 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.
Rules the tool enforces, and why
- The tool flags titles over 60 characters for desktop and 40 for mobile as rough display cues, not fixed YouTube rules. The documented title limit is 100 characters; actual truncation varies by surface and device. See YouTube's video settings.
- The thumbnail must not repeat the title. Different words, same promise.
- Three words maximum on the thumbnail. At feed size a fourth word is a grey smear.
- A number, a name or a date beats every adjective available to you.
- Two all-caps words is the ceiling before a title reads as spam.
Write ten, keep two
Generate ten titles, run them all through title.py, show the user the top three with their scores
and the specific issue on each. For the winner, write the thumbnail brief: the expression, the
framing, the three words, and what the background has to do to hold contrast at feed size.
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?
Files included
- SKILL.md
- title.py

