agentsclimarketplace

Youtube upload

Skill junjunjunbong/youtube-skill/skills/youtube-upload

Prepare, validate, and explicitly execute a YouTube video upload from a local video file, including metadata, privacy, scheduling, audience, synthetic-media disclosure, thumbnail, and playlist settings. Use only when the user explicitly invokes $youtube-upload to prepare an upload manifest, authenticate, validate an upload, or upload a video to YouTube.From its SKILL.md

Install
npx -y skills add junjunjunbong/youtube-skill --skill youtube-upload

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

4.8 KB, as published. Nobody here has run it

YouTube Upload

Turn a natural-language request into a validated upload manifest, then use the shared Python engine for deterministic validation and YouTube Data API calls.

Natural-language intake

Extract every value the user already supplied. Do not make the user repeat it. Ask concise follow-up questions only for missing or ambiguous decisions, at most three related questions at a time. Ask in the user's language and use plain-language yes/no wording for policy questions. Explain “synthetic media” briefly when asking; do not assume the user knows the API field name.

Before execution, obtain these required values:

  • Local video path
  • Title
  • made_for_kids: yes or no
  • contains_synthetic_media: yes or no for realistic altered or synthetic content

Use these safe defaults without asking unless the request conflicts:

  • privacy_status: private
  • notify_subscribers: false
  • no schedule, thumbnail, or playlist
  • dry-run when the user has not clearly asked to upload now

Description, tags, and category are optional. Preserve supplied values; do not block execution when they are omitted.

Ask about publish_at only when the user requests scheduling. Ask for an exact date, time, and timezone if any part is ambiguous. Treat words such as “upload,” “publish,” or “올려줘” as execution intent only when they clearly refer to doing it now; otherwise summarize the manifest and ask whether to execute.

Before any actual upload, present one compact confirmation summary containing the file, title, privacy/schedule, audience, synthetic-media disclosure, notifications, thumbnail, and playlist. Private execution may proceed after the user confirms upload. Public, unlisted, or scheduled execution requires the user to explicitly confirm that exact visibility or schedule.

Safety contract

  1. Treat every upload as an external side effect.
  2. Default to validation/dry-run. Never add --execute unless the user explicitly asks to upload now.
  3. Default privacy_status to private when preparing metadata.
  4. Require the user to specify made_for_kids and contains_synthetic_media; never infer either value.
  5. Show the normalized final metadata before execution.
  6. For public, unlisted, or scheduled uploads, require explicit confirmation of that visibility and add --confirm-public only after confirmation.
  7. Never print OAuth client secrets, access tokens, or refresh tokens. Mention credential paths only.
  8. Preserve the returned video ID when a later thumbnail or playlist operation fails.

Workflow

  1. Locate the video and optional thumbnail. Resolve paths relative to the manifest file.

  2. Read ../../common/youtube-upload/references/input-schema.md when creating or changing a manifest.

  3. Create a YAML manifest outside the skill directory, normally beside the source video or in a user-approved working directory.

  4. Validate and normalize it:

    python3 ../../common/youtube-upload/scripts/validate_manifest.py --manifest <manifest.yaml>
    
  5. Return the normalized metadata and warnings. Stop here for preparation-only or dry-run requests.

  6. If OAuth is not configured, read ../../common/youtube-upload/references/oauth-setup.md and run:

    python3 ../../common/youtube-upload/scripts/youtube_auth.py \
      --client-secrets <client_secret.json> \
      --token-path <token.json>
    
  7. For an explicitly requested private upload, run:

    python3 ../../common/youtube-upload/scripts/youtube_upload.py \
      --manifest <manifest.yaml> \
      --execute
    
  8. For an explicitly confirmed public, unlisted, or scheduled upload, also add --confirm-public.

  9. Return the video ID, YouTube URL, final privacy status, scheduled time, post-upload step results, warnings, and result-log path.

Resolve all relative paths from the directory containing this SKILL.md, or use absolute script paths.

Failure handling

  • For missing packages, point to ../../common/youtube-upload/requirements.txt and do not attempt upload.
  • For missing or invalid credentials, route to the OAuth setup reference without exposing file contents.
  • Retry only network failures and HTTP 500, 502, 503, or 504 responses with bounded exponential backoff.
  • Do not retry invalid metadata, quota, permission, or policy errors without changing the input.
  • If video upload succeeds but thumbnail or playlist insertion fails, report a partial failure and preserve the video ID and log path.
  • Never delete an uploaded video as an automatic rollback.

Keep looking

Skills are one crate of 607,533. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.