SH

shorts-publish

Uploads prepared Shorts and adds descriptive metadata with links to main videos using the YouTube API.

Install

mkdir -p .claude/skills/shorts-publish && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/17212" && unzip -o skill.zip -d .claude/skills/shorts-publish && rm skill.zip

Installs to .claude/skills/shorts-publish

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Публикация YouTube Shorts с ссылкой на основное видео. Загружает нарезанные клипы на YouTube.
93 charsno explicit “when” trigger
Beginner

Key capabilities

  • Upload shorts from a specified folder
  • Add main video link and hashtags to short descriptions
  • Upload shorts one by one with pauses to manage API quotas
  • Save upload results to shorts_published.json
  • Perform a dry run to preview the upload plan

How it works

The script uploads video files from a project's 'shorts/' folder to YouTube, adding a main video link and hashtags to each short's description, and manages API quotas.

Inputs & outputs

You give it
Project ID, main video URL, and short video files in the 'shorts/' folder
You get back
Uploaded YouTube Shorts with descriptions, and a shorts_published.json file

When to use shorts-publish

  • Bulk uploading shorts
  • Adding cross-video links
  • Automating video content publication

About this skill

Публикация YouTube Shorts

Загружает Shorts на YouTube с ссылкой на основное видео в описании.

Ограничения YouTube API

Related Video нельзя установить через API!

После загрузки пользователь должен вручную добавить связанное видео:

  1. Открыть Short в YouTube Studio
  2. Вкладка "Shorts editing" → "Related video"
  3. Выбрать основное видео

Что делает скрипт

  1. Загружает shorts из папки shorts/ проекта
  2. Добавляет в описание каждого Short:
    • Ссылку на основное видео
    • Хештеги #Shorts + хештеги из channel.md (раздел «Метаданные»)
  3. Загружает по одному с паузами (чтобы не превысить квоту)
  4. Сохраняет результат в shorts_published.json

Использование

1. Найди проект и основное видео

ls -t projects/ | head -5

Узнай URL основного видео (оно должно быть уже опубликовано).

2. Проверь shorts

ls projects/{project_id}/shorts/
cat projects/{project_id}/shorts/manifest.json | head -20

3. Dry run (проверка)

source .venv/bin/activate && python scripts/shorts_upload.py \
    -p {project_id} \
    --main-video "https://youtu.be/VIDEO_ID" \
    --dry-run

4. Загрузка

source .venv/bin/activate && python scripts/shorts_upload.py \
    -p {project_id} \
    --main-video "https://youtu.be/VIDEO_ID"

Опции

ОпцияОписание
-p, --projectID проекта (обязательно)
-m, --main-videoURL основного видео (обязательно)
--main-titleНазвание основного видео
--filesКонкретные файлы (иначе все из shorts/)
--limit NЗагрузить только N shorts
--skip NПропустить первые N shorts
--publicПубличные (по умолчанию unlisted)
--dry-runТолько показать план

Примеры

# Все shorts
python scripts/shorts_upload.py -p 2026-02-05-project \
    --main-video "https://youtu.be/y2ABYD1SD5I"

# Первые 5 shorts (для теста)
python scripts/shorts_upload.py -p 2026-02-05-project \
    --main-video "https://youtu.be/y2ABYD1SD5I" \
    --limit 5

# Shorts с 6 по 10
python scripts/shorts_upload.py -p 2026-02-05-project \
    --main-video "https://youtu.be/y2ABYD1SD5I" \
    --skip 5 --limit 5

# Конкретные файлы
python scripts/shorts_upload.py -p 2026-02-05-project \
    --main-video "https://youtu.be/y2ABYD1SD5I" \
    --files 01_Intro.mp4 02_Setup.mp4

Описание Short

Автоматически генерируется:

Полное видео: https://youtu.be/VIDEO_ID

#Shorts + [хештеги из channel.md]

После загрузки

  1. Проверь shorts в YouTube Studio
  2. Добавь Related Video вручную для каждого Short
  3. Если всё ок — измени приватность на Public

Формат вывода

Загружено: 15 из 15

Загруженные Shorts:
  https://youtube.com/shorts/abc123
  https://youtube.com/shorts/def456
  ...

!!! ВАЖНО: Добавьте Related Video вручную

When not to use it

  • When the related video needs to be set via API
  • When uploading videos that are not YouTube Shorts

Limitations

  • Related Video cannot be set via API and requires manual configuration in YouTube Studio
  • Uploads are paused to avoid exceeding API quotas
  • The script expects shorts in a specific 'shorts/' folder

How it compares

This workflow automates the bulk uploading of YouTube Shorts with predefined metadata, simplify the publication process compared to manual uploads.

Compared to similar skills

shorts-publish side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
shorts-publish (this skill)05moReviewBeginner
xhs-note-creator44moReviewBeginner
telegram-bot-builder1066moReviewIntermediate
codex-cli-bridge99moReviewIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

xhs-note-creator

comeonzhj

小红书笔记素材创作技能。当用户需要创建小红书笔记素材时使用这个技能。技能包含:根据用户的需求和提供的资料,撰写小红书笔记内容(标题+正文),生成图片卡片(封面+正文卡片),以及发布小红书笔记。

49

telegram-bot-builder

davila7

Expert in building Telegram bots that solve real problems - from simple automation to complex AI-powered bots. Covers bot architecture, the Telegram Bot API, user experience, monetization strategies, and scaling bots to thousands of users. Use when: telegram bot, bot api, telegram automation, chat bot telegram, tg bot.

106130

codex-cli-bridge

alirezarezvani

Bridge between Claude Code and OpenAI Codex CLI - generates AGENTS.md from CLAUDE.md, provides Codex CLI execution helpers, and enables seamless interoperability between both tools

9180

code-to-music

Cam10001110101

Tools, patterns, and utilities for creating music with code. Output as a .mp3 file with realistic instrument sounds. Write custom compositions to bring creativity to life through music. This skill should be used whenever the user asks for music to be created. Never use this skill for replicating songs, beats, riffs, or other sensitive works. The skill is not suitable for vocal/lyrical music, audio mixing/mastering (reverb, EQ, compression), real-time MIDI playback, or professional studio recording quality.

17164

jianying-editor

luoluoluo22

剪映 (JianYing) AI自动化剪辑的高级封装 API (JyWrapper)。提供开箱即用的 Python 接口,支持录屏、素材导入、字幕生成、Web 动效合成及项目导出。

38110

pdf-processing-pro

davila7

Production-ready PDF processing with forms, tables, OCR, validation, and batch operations. Use when working with complex PDF workflows in production environments, processing large volumes of PDFs, or requiring robust error handling and validation.

17110

Search skills

Search the agent skills registry