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.zipInstalls 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.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
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!
После загрузки пользователь должен вручную добавить связанное видео:
- Открыть Short в YouTube Studio
- Вкладка "Shorts editing" → "Related video"
- Выбрать основное видео
Что делает скрипт
- Загружает shorts из папки
shorts/проекта - Добавляет в описание каждого Short:
- Ссылку на основное видео
- Хештеги #Shorts + хештеги из channel.md (раздел «Метаданные»)
- Загружает по одному с паузами (чтобы не превысить квоту)
- Сохраняет результат в
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, --project | ID проекта (обязательно) |
-m, --main-video | URL основного видео (обязательно) |
--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]
После загрузки
- Проверь shorts в YouTube Studio
- Добавь Related Video вручную для каждого Short
- Если всё ок — измени приватность на 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.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| shorts-publish (this skill) | 0 | 5mo | Review | Beginner |
| xhs-note-creator | 4 | 4mo | Review | Beginner |
| telegram-bot-builder | 106 | 6mo | Review | Intermediate |
| codex-cli-bridge | 9 | 9mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
xhs-note-creator
comeonzhj
小红书笔记素材创作技能。当用户需要创建小红书笔记素材时使用这个技能。技能包含:根据用户的需求和提供的资料,撰写小红书笔记内容(标题+正文),生成图片卡片(封面+正文卡片),以及发布小红书笔记。
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.
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
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.
jianying-editor
luoluoluo22
剪映 (JianYing) AI自动化剪辑的高级封装 API (JyWrapper)。提供开箱即用的 Python 接口,支持录屏、素材导入、字幕生成、Web 动效合成及项目导出。
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.