AGENT SKILL

social-midia-youtube

Use when the user wants to upload, schedule, update, or analyze YouTube content (videos, Shorts, thumbnails, playlists, live), or asks about the YouTube Data API v3 / Analytics API (OAuth scopes, quota, resumable upload, publishAt, reports).

License 许可
MIT
最近更新
2026-11-15
Stars
★ 0
Forks
1

01 前言 Front Matter

name
social-midia-youtube
triggers
[ "user", "model" ]
description
Use when the user wants to upload, schedule, update, or analyze YouTube content (videos, Shorts, thumbnails, playlists, live), or asks about the YouTube Data API v3 / Analytics API (OAuth scopes, quota, resumable upload, publishAt, reports).

02 资源文件 1

03 SKILL.md 正文

YouTube

Data API v3 for read/write; Analytics API + Reporting API for metrics. Docs: https://developers.google.com/youtube/documentation

Capabilities (official)

  • videos.insert: upload + metadata, resumable, <=256GB.
  • thumbnails.set: <=2MB JPEG/PNG.
  • videos.update: title/description/tags/category/privacy (destructive per part included).
  • Playlists: playlists.* + playlistItems.* (position, notes, startAt/endAt).
  • Live: liveBroadcasts.insert -> liveStreams.insert -> bind.
  • Shorts: no dedicated API; regular uploads, identified in Analytics by creatorContentType=SHORTS.
  • Community posts: no API exists.
  • Native scheduling: status.publishAt (ISO 8601) with privacyStatus=private, never-published videos only.

Detail: api.md.

Auth & access

  • OAuth2 required for writes and private reads; API key only for public reads (key= param).
  • Scopes: youtube.upload (upload/manage), youtube.readonly, youtube.force-ssl, youtube (full), yt-analytics.readonly, yt-analytics-monetary.readonly.
  • Service accounts do not work (NoLinkedYouTubeAccount).
  • Unverified API projects (post-2020-07-28): all uploads locked private until a compliance audit clears the app. Biggest trap.
  • Env vars (convention): YOUTUBE_API_KEY, GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET, YOUTUBE_OAUTH_TOKEN.

Formats & limits

  • Title <=100 chars (no < >); description <=5000 bytes (multibyte burns it faster); tags <=500 chars total.
  • Thumbnail <=2MB JPEG/PNG; non-matching dimensions resized with bars.
  • Quota: 10,000 units/day shared + search.list own bucket (100/day) + videos.insert own bucket (100/day); write ops ~50 units each.

Scheduling & automation

  • status.publishAt requires privacyStatus=private and a never-published video; past time = immediate publish.
  • publishAt must be resent with privacyStatus=private in updates.
  • Upload processing: poll videos.list -> processingDetails.processingStatus.
  • uploadLimitExceeded (400) = channel-level daily cap, not quota.

Analytics

  • Analytics API reports.query: metrics x dimensions; creatorContentType splits SHORTS/LIVE_STREAM/STORY/VOD; data complete through last day all metrics available (not true realtime).
  • Reporting API: scheduled bulk CSV (jobs -> daily files, ~30-60d).

Professional routines

  • Confirmed: uploads, scheduled publish, playlists, thumbnails, live broadcast lifecycle, Shorts as normal uploads.
  • Chapters: no API field; convention is timestamp lines in description (UNVERIFIED in docs).
  • Premieres: no documented premiere flag; publishAt yields scheduled watch-page behavior (UNVERIFIED).

Reference

  • api.md: resumable protocol, quota table, gotchas.
  • Provenance: .devin/research/social-midia/youtube.md.

04 同仓库更多 Skills

Leostruka
Leostruka/devin-bundle

montador-de-ideias

Use when assembling, expanding, or elevating a raw project idea or initial prompt into an ultra-detailed, first-principles dossier and compiled master prompt with journalistic OSINT market research, Tech Lead and Staff Architect justifications, atomic and modular hardening/optimization, and high-impact contact surfaces.

★ 0
Leostruka
Leostruka/devin-bundle

git-github-adaptive-engineering

Use when any task touches git history, GitHub issues/PRs/releases/CI, repo governance, or branch and merge decisions. Runs the Fase Zero situational-awareness battery, picks one of five delivery flows via the adaptive decision engine, and enforces commit/PR information-density standards. Orchestrates the gh, git-workflows, github-actions, pr, and debug/finish skills.

★ 0
Leostruka
Leostruka/devin-bundle

adaptive-agenda-calendar-routine-engine

Use when planning or executing work across hours, days, weeks, or sprints. Turns the calendar into a strict time-blocked agenda (HH:MM-HH:MM blocks carrying a routine profile, expected inputs, and a handoff output artifact), runs the 5-stage cognitive flow (Radar and Hunt -> Triage plus Steve Jobs conception -> workbench manifest -> >=32-cycle loop -> Close plus Open-Minded Scrum), and unfolds macro calendar milestones into micro agenda blocks through extensions/gcal/wrapper.py.

★ 0
Leostruka
Leostruka/devin-bundle

demo

Use when demonstrating a skill in a fixture project.

★ 0
Leostruka
Leostruka/devin-bundle

duplicate-skill

Use when testing duplicate skill name detection.

★ 0
Leostruka
Leostruka/devin-bundle

duplicate-skill

Use when testing duplicate skill name detection.

★ 0