SkillsGrove
SkillsGrove/숏폼 영상 및 크리에이터/swyxio/skills/youtube-studio-batch-upload

youtube-studio-batch-upload

설치

$npx skills add https://github.com/swyxio/skills --skill youtube-studio-batch-upload
$git clone --depth 1 https://github.com/swyxio/skills.git /tmp/skills && mkdir -p ~/.claude/skills && cp -r /tmp/skills/youtube-studio-batch-upload ~/.claude/skills/youtube-studio-batch-upload
이 Agent Skill을 설치해 주세요: https://github.com/swyxio/skills/tree/5d7deeb27982c85b316ab6a4481cffa94494dd25/youtube-studio-batch-upload — 먼저 SKILL.md와 스크립트를 읽고, 안전하다고 확인한 뒤에만 제 skills 폴더에 설치해 주세요.

요약

원문 설명 · MITBatch YouTube Studio upload workflow for videos sourced from Airtable, Google Drive, Loom, YouTube, or local files. Use when an agent needs to download many submitted videos, stage filenames, build YouTube titles/descriptions from table fields, upload through Chrome/Computer Use, set videos Unlisted, add a playlist, save each upload before moving on, track links, and report incomplete or blocked source rows.
아래 SKILL.md는 swyxio/skills(커밋 5d7deeb)에서 MIT 라이선스에 따라 게시한 것입니다. 본문은 변경하지 않았으며, 파일 상단의 메타데이터만 생략하고 이미지는 링크로 표시하며 매우 긴 파일은 일부만 표시합니다. Copyright 2026 Shawn Wang (swyx). 라이선스: LICENSE. 지침 파일만 표시되며 스크립트 등은 원본 저장소를 참고하세요.

YouTube Studio Batch Upload

Operating Rules

  • Use the browser/computer-use skill for live YouTube Studio or Airtable UI work. Call get_app_state before direct UI actions in a turn.
  • Treat upload as a batch waterfall: download/source recovery, filename staging, metadata staging, upload, per-video titling/playlist/visibility/save, verification, ledger.
  • Do not include source video URLs in YouTube descriptions. Strip Drive, Loom, WeTransfer, and source YouTube links from final descriptions unless the user explicitly asks to publish those links.
  • Use the full submitted talk abstract in the description by default; do not compress it to a teaser unless the user asks for short copy.
  • Do not publish internal Airtable fields such as Additional Notes, reviewer notes, source status, or operational comments unless the user explicitly marks them as public copy.
  • Always select the target playlist before advancing to visibility.
  • Always choose Unlisted and click Save before opening or editing the next upload.
  • If YouTube blocks saving because SD processing is not finished, wait on the modal and save after processing clears. Do not assume the draft is published.
  • Prefer batch file selection where the UI allows it. If selector controls fail, upload smaller batches or one file at a time, but keep download and metadata preparation batched.
  • Preserve a clear blocked list for rows like waitlisted, WIP, To provide, private/deleted links, or access-denied Drive files.

Workflow

  1. Export or scrape the source table into CSV/TSV with at least: speaker name, talk title, talk description, video source URL, bio, company, handles, LinkedIn/GitHub, and any public links. Treat notes/status fields as private unless told otherwise.
  2. Build a manifest and metadata JSON:
    • Run scripts/youtube_batch_helper.py build-metadata presenters.csv --out work/youtube_metadata.json.
    • Use --playlist "Playlist Name" and --skip-source-url unless the user says otherwise.
    • Inspect blocked rows and rows with placeholder source values before downloading.
  3. Download source videos into downloads/.../raw:
    • Drive: prefer yt-dlp or direct browser-authenticated downloads if permissions require Chrome cookies/session.
    • Loom: try yt-dlp; if it fails, inspect the page for signed HLS manifests and assemble with ffmpeg.
    • YouTube source videos: try yt-dlp with browser cookies or alternate player clients. Respect access and copyright limitations.
  4. Stage upload files under a batch directory with final human-readable names:
    • Talk Title - Speaker Name.mp4
    • Keep punctuation YouTube accepts; avoid filesystem-hostile characters.
  5. Open YouTube Studio upload in Chrome, select as many staged files as practical, and then complete each upload dialog:
    • Set title and description from metadata.
    • Select the playlist.
    • Advance through Video elements and Checks.
    • Select Unlisted.
    • Save and wait until the row appears as Unlisted / None or known restriction.
  6. Record each YouTube link in a ledger and report. Pass the channel ID verified in Studio to the ledger helper. For AI Engineer pass the exact staged --file and optionally --transcript. The helper calls aie-upload-handoff after saving the upload ID. If the handoff fails, rerun the ledger command with that same URL and cut. Keep both inputs until the writing transcript is saved.
    • Uploaded count and new links.
    • Any restrictions, especially copyright.
    • Blocked/unavailable source rows with exact reason.

Metadata Shape

Use this description layout unless the user gives a channel-specific template:

<Talk Description>

Speakers:
- <Name> (<Company>): <Bio>
  X/Twitter: <url-or-handle>
  LinkedIn: <url>
  GitHub: <url-or-handle>

Include the whole submitted talk description/abstract when it is suitable for public viewing. Include social media and company/project URLs entered by the speaker, but omit blank lines for missing fields. Do not include source video URLs or internal Additional Notes/reviewer fields.

Keep descriptions factual and avoid inventing missing affiliations. For incomplete presenter names, use available fields and web search if the user asked to fill missing public info.

UI Automation

Read references/ui-js-snippets.md when using Chrome DOM automation for YouTube Studio. These snippets cover setting contenteditable title/description boxes, selecting playlists, clicking through steps, saving unlisted, and verifying row state.

For Studio-only cleanup on existing videos, such as thumbnail replacement, schedule times, save-state recovery, or playlist fixes after upload, switch to the youtube-studio-computer-use skill. Keep this skill focused on source acquisition, metadata preparation, staged filenames, upload batching, and upload ledgers.

Use direct Computer Use clicks for file pickers and modal buttons when DOM automation cannot reach native UI. Use coordinates only after confirming the screenshot state.

Verification

  • Verify every uploaded row shows Unlisted after Save.
  • Verify source URL patterns are absent from descriptions using the helper audit or DOM readback.
  • Verify playlist selection during the upload modal; YouTube Studio's channel list does not always show playlist membership.
  • Check upload processing dialogs: Video upload complete is not enough if the dialog still says SD processing must finish before unlisted publication.

Helper Script

scripts/youtube_batch_helper.py provides:

  • build-metadata: convert Airtable/CSV rows into YouTube metadata JSON and a blocked-row report.
  • audit-descriptions: scan metadata JSON for accidental source URLs.
  • ledger: create or update a CSV ledger of uploaded links and statuses.

Run python3 scripts/youtube_batch_helper.py --help for command details.

라이선스 전문 보기(MIT)
MIT License

Copyright (c) 2026 Shawn Wang (swyx)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.