yt-upload
Installation
SKILL.md
yt-upload
One video to the person's connected YouTube channel, with every option set on purpose. Use it whenever a video goes to YouTube through Uplika: a finished long video, a Short (yt-shorts sends the file here), or a slot from yt-plan. For the title and thumbnail use yt-package first; for the description and tags, yt-seo.
Before you start
- Read YouTube's rules from
list_platforms(the YouTube entry), never from memory: the title limit and how it is counted, the description limit and how it is counted, the accepted video files, theshortsrule, andoptions, the schema of everyoptions.youtubefield. (Uplika's publish-options tool is for TikTok only; it does not apply to YouTube.) - Call
select_channelswith scopeyoutube. It returns theaccountIdsto pass topublish, andskippedwith a sentence and a reconnect link when the connection has expired. Nothing connected: send the person to https://uplika.com/dashboard/connections. - If a call answers
workspace_required, show the workspaces it lists, ask which one, and passworkspaceIdon every later call,publishincluded. - If a voice file exists at
~/.uplika/<workspace-slug>/voice.md, write the title and description in that voice; if not, thevoice-profileskill can create it.
The options
The post's content is the video description. Everything else goes in options.youtube: