Add OAuth Provider
superdesigndev/treg
Add a provider to treg's OAuth registry (the ones treg holds its own approved app for).
Manage YouTube videos programmatically via the YouTube Data API v3 — upload video files, upload custom thumbnails, update video metadata (titles, descriptions, tags), and query video/channel info…
$ npx skills add swyxio/skills --skill youtube-api -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install swyxio/skills youtube-api --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/swyxio/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/youtube-api .claude/skills/youtube-api && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "youtube-api" agent skill from https://github.com/swyxio/skills/tree/main/youtube-api into .claude/skills/youtube-api/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "youtube-api", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/swyxio/skills/tree/main/youtube-apiType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add swyxio/skills --skill youtube-api -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install swyxio/skills youtube-api --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/swyxio/skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/youtube-api .agents/skills/youtube-api && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "youtube-api" agent skill from https://github.com/swyxio/skills/tree/main/youtube-api into .agents/skills/youtube-api/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "youtube-api", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add swyxio/skills --skill youtube-api -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install swyxio/skills youtube-api --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/swyxio/skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/youtube-api .cursor/skills/youtube-api && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "youtube-api" agent skill from https://github.com/swyxio/skills/tree/main/youtube-api into .cursor/skills/youtube-api/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "youtube-api", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/swyxio/skills.git --path youtube-api--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add swyxio/skills --skill youtube-api -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install swyxio/skills youtube-api --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/swyxio/skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/youtube-api .gemini/skills/youtube-api && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "youtube-api" agent skill from https://github.com/swyxio/skills/tree/main/youtube-api into .gemini/skills/youtube-api/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "youtube-api", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install swyxio/skills youtube-apiInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add swyxio/skills --skill youtube-api -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/swyxio/skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/youtube-api .github/skills/youtube-api && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "youtube-api" agent skill from https://github.com/swyxio/skills/tree/main/youtube-api into .github/skills/youtube-api/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "youtube-api", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add swyxio/skills --skill youtube-api -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install swyxio/skills youtube-api --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/swyxio/skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/youtube-api .opencode/skills/youtube-api && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "youtube-api" agent skill from https://github.com/swyxio/skills/tree/main/youtube-api into .opencode/skills/youtube-api/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "youtube-api", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
youtube-apiManage YouTube videos programmatically via the YouTube Data API v3 — upload video files, upload custom thumbnails, update video metadata (titles, descriptions, tags), and query video/channel info…
Youtube API is an agent skill from swyxio/skills. Manage YouTube videos programmatically via the YouTube Data API v3 — upload video files, upload custom thumbnails, update video metadata (titles, descriptions, tags), and query video/channel info without touching YouTube Studio's browser UI. Use this skill whenever the user wants to: upload a local video file to YouTube; set, update, or change a YouTube video's thumbnail from a local image file; batch-set thumbnails across multiple videos; update video titles, descriptions, or tags programmatically; query their…
Its SKILL.md is about 2.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 8 other files, including scripts (for example `README.md`, `scripts/list_videos.py` and `scripts/set_thumbnail.py`). Compatibility notes: Requires Python 3.8+ with google-api-python-client, google-auth-oauthlib, and google-auth. Works on macOS, Linux, and Windows. Requires a Google Cloud project…
It sits in Backend & APIs. It works with YouTube. The repository describes itself as: Agent skills for Claude Code and other AI agents. The licence is MIT.
7 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 038ef34. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 6 files in scripts/ (Python), which the agent can run.
Shell commands in SKILL.md call:
pythonpipFrom the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
console.cloud.google.comFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Requires Python 3.8+ with google-api-python-client, google-auth-oauthlib, and google-auth. Works on macOS, Linux, and Windows. Requires a Google Cloud project with YouTube Data API v3 enabled and OAuth 2.0 Desktop credentials. One-time browser-based OAuth consent required on the user's local machine before headless/Cowork use.
From compatibility in the SKILL.md frontmatter.
Youtube API loads about 2.2k tokens when it runs. Until then it costs about 236 tokens; SKILL.md has 755 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from swyxio/skills at commit 038ef34, republished under its MIT licence (© swyxio). 755 words, ~2,174 tokens.
.claude/skills/youtube-api/SKILL.md (or your agent's skills folder). This skill also uses 7 other files; get the full folder from GitHub.Manage YouTube videos programmatically — uploads, thumbnails, metadata, and queries — via the YouTube Data API v3, completely bypassing the YouTube Studio browser UI.
YouTube Studio's browser UI is unreliable for bulk operations and awkward for automation. The file picker for thumbnails is flaky, editing metadata for multiple videos is tedious, and browser uploads can stall or reset. This skill wraps the YouTube Data API v3 with OAuth2 authentication and persistent token caching, so once set up, uploads and follow-up edits are fully scriptable — including across Cowork VM resets.
pip install google-api-python-client google-auth-oauthlib google-auth --break-system-packagesIf the user hasn't set up YouTube API credentials yet, walk them through this. It takes about 5 minutes:
Create/select a Google Cloud Project
Enable the YouTube Data API v3
Configure the OAuth consent screen
Add the user as a test user (critical — the app stays in Testing mode)
Create OAuth 2.0 credentials
client_secret.json fileStore the credentials
On macOS/Linux (standard):
mkdir -p ~/.config/youtube-api
mv ~/Downloads/client_secret_*.json ~/.config/youtube-api/client_secret.jsonFor Cowork persistence (survives VM resets):
mkdir -p ~/Downloads/.youtube-api
mv ~/Downloads/client_secret_*.json ~/Downloads/.youtube-api/client_secret.jsonRun the first-time OAuth flow (must happen on the user's local machine — a browser opens)
python <skill-path>/scripts/setup_auth.pyThis opens a browser for Google OAuth consent. The user signs in, authorizes the app, and a token.pickle is cached alongside the client_secret.json. After this, all subsequent runs (including in Cowork) are fully automatic.
When the consent screen appears, it will warn the app is "unverified" — this is normal for testing mode. Click "Advanced" → "Go to [app name] (unsafe)" → allow access.
The scripts auto-detect the best credential location:
| Environment | Config directory | Persists across sessions? |
|---|---|---|
| Cowork | /sessions/*/mnt/Downloads/.youtube-api/ | Yes (on user's real machine) |
| Standard | ~/.config/youtube-api/ | Yes |
Both client_secret.json and token.pickle must be in the same directory. The scripts check the Cowork path first, then fall back to the standard path.
Upload custom thumbnail images to one or more YouTube videos.
Single video:
python <skill-path>/scripts/set_thumbnail.py --video-id VIDEO_ID --thumbnail /path/to/image.jpgBatch mode:
python <skill-path>/scripts/set_thumbnail.py \
--batch VIDEO_ID_1:/path/to/thumb1.jpg VIDEO_ID_2:/path/to/thumb2.jpgThumbnail requirements:
convert input.jpg -resize 1280x720 -quality 85 output.jpg)Upload a finished local video file directly to YouTube.
python <skill-path>/scripts/upload_video.py --file /path/to/video.mp4 --privacy unlistedOptional metadata at upload time:
python <skill-path>/scripts/upload_video.py \
--file /path/to/video.mp4 \
--privacy unlisted \
--title "Video Title" \
--description "Optional description" \
--tags "tag1,tag2"Update titles, descriptions, and/or tags for one or more videos.
Single video:
python <skill-path>/scripts/update_metadata.py --video-id VIDEO_ID \
--title "New Title" \
--description "New description" \
--tags "tag1,tag2,tag3"Batch mode (from JSON):
python <skill-path>/scripts/update_metadata.py --batch updates.jsonWhere updates.json looks like:
[
{"video_id": "abc123", "title": "New Title", "description": "New desc"},
{"video_id": "def456", "tags": ["tag1", "tag2"]}
]Only the fields you specify are updated — everything else is preserved.
Query the authenticated user's channel for their uploaded videos.
python <skill-path>/scripts/list_videos.py [--max-results 50]Returns video IDs, titles, publish dates, and thumbnail URLs. Useful for building batch operations.
thumbnails.set: 50 units per callvideos.update: 50 units per callvideos.list: 1 unit per callsearch.list: 100 units per call| Error | Cause | Fix |
|---|---|---|
| "token has been expired or revoked" | OAuth token expired beyond refresh | Delete token.pickle from the config directory (shown at startup) and re-run setup_auth.py |
| "quotaExceeded" | Hit daily API quota | Wait until tomorrow or request a quota increase |
| "forbidden" or "thumbnailsNotAccessible" | Account lacks custom thumbnail permission | Verify the YouTube account is in good standing with custom thumbnails enabled |
| "The caller does not have permission" | Not a test user on the OAuth consent screen | Add the Google email as a test user in Google Auth Platform → Audience |
| "fileNotFound" on image | Bad file path | Check the file path; the script validates before uploading |
| Image too large | Over 2 MB | Compress: convert input.jpg -resize 1280x720 -quality 85 output.jpg |
| Browser doesn't open for OAuth | Running in headless/Cowork environment | Run setup_auth.py on your local machine first, then copy token.pickle to the Cowork config directory |
This skill works well as the final step in content pipelines. For example, after generating thumbnails with an image generation tool:
# Generate thumbnails, then upload them
python <skill-path>/scripts/set_thumbnail.py \
--batch \
xUy0vno25k0:~/Downloads/thumb_feb4.jpg \
LJFL6bYyGHg:~/Downloads/thumb_feb13.jpg \
s5bTZfYUcac:~/Downloads/thumb_feb18.jpg© swyxio, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 7 other files (scripts) in youtube-api of swyxio/skills.
Open the folder on GitHubat commit 038ef34
Youtube API next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Youtube API this skillswyxio/skills | 175 | — | ~2.2k | Automated safety check: Pass | MIT | |
| Add OAuth Providersuperdesigndev/treg | 4.9k | — | ~2.5k | Automated safety check: Pass | Custom licence | |
| TikHub API Helperliangdabiao/tikhub_api_skill | 129 | — | ~1.5k | Automated safety check: Pass | None | |
| YouTube Data via TranscriptAPIZeroPointRepo/youtube-skills | 1k | 1 repos | ~2.6k | Automated safety check: Pass | MIT | |
| Setupdaiki-beppu/youtube-automation | 169 | — | ~1.3k | Automated safety check: Pass | Custom licence | |
| YoutubeCraftOS-dev/CraftBot | 392 | 1 repos | ~3.7k | Automated safety check: Pass | MIT |
superdesigndev/treg
Add a provider to treg's OAuth registry (the ones treg holds its own approved app for).
liangdabiao/tikhub_api_skill
Searches TikHub's social media API endpoints and calls them from the command line for TikTok, Douyin, Xiaohongshu, Instagram, YouTube, Reddit and more.
ZeroPointRepo/youtube-skills
Fetches YouTube transcripts, video metadata, channel uploads, search results and playlist contents through TranscriptAPI.com, without Google API quotas or OAuth.
daiki-beppu/youtube-automation
A skill your agent uses when ツール導入と GCP / OAuth の設定、新規 YouTube チャンネル開設、既存チャンネル取り込み、config 再生成、または YouTube 側設定同期を行うとき。「セットアップして」「環境構築」「新チャンネル」「既存チャンネル」「チャンネル取り込み」「config…
CraftOS-dev/CraftBot
YouTube Data API integration with managed OAuth. An agent skill from CraftOS-dev/CraftBot.
evolution-foundation/evo-nexus
Query YouTube Data API v3 — channel stats, recent videos, top videos, comments.
swyxio/skills
Run a selected coding-agent CLI programmatically, with latency, error, usage, cost, and trace logging.
swyxio/skills
Design, implement, audit, or refresh protected username and handle namespaces for public products.
swyxio/skills
Fully automated new Mac setup for fullstack web developers and AI engineers.
swyxio/skills
Batch YouTube Studio upload workflow for videos sourced from Airtable, Google Drive, Loom, YouTube, or local files.
swyxio/skills
Reconstruct and visually analyze paired agent, game, or policy trajectories to determine whether changed actions produced their intended effects.
swyxio/skills
Operate or diagnose SmolForge repositories and Forge Deploy/Sites when the task requires Forge-specific CLI, authentication, manifest, or release behavior on forge.smol.ai or .sites.smol.ai.
Works with
Categories
Manage YouTube videos programmatically via the YouTube Data API v3 — upload video files, upload custom thumbnails, update video metadata (titles, descriptions, tags), and query video/channel info…. Youtube API is an agent skill from swyxio/skills. Manage YouTube videos programmatically via the YouTube Data API v3 — upload video files, upload custom thumbnails, update video metadata (titles, descriptions, tags), and query video/channel info without touching YouTube Studio's browser UI.
Youtube API fits situations like: the user wants to: upload a local video file to YouTube; change a YouTube videos thumbnail from a local image file; batch-set thumbnails across multiple videos; update video titles.
Run `npx skills add swyxio/skills --skill youtube-api -a claude-code`. Or copy the skill folder (youtube-api in swyxio/skills) into .claude/skills/youtube-api in your project. Claude Code loads it when a task matches its description.
Run `npx skills add swyxio/skills --skill youtube-api -a codex`. Or copy the skill folder (youtube-api in swyxio/skills) into .agents/skills/youtube-api in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add swyxio/skills --skill youtube-api -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/youtube-api, .gemini/skills/youtube-api, .github/skills/youtube-api and .opencode/skills/youtube-api in your project.
Going by SKILL.md and its folder, Youtube API needs Python for the scripts in its folder and the command-line tools its instructions call (python and pip). Our summary lists: Python 3. Compatibility (from SKILL.md): Requires Python 3.8+ with google-api-python-client, google-auth-oauthlib, and google-auth. Works on macOS, Linux, and Windows. Requires a Google Cloud project with YouTube Data API v3 enabled and OAuth 2.0 Desktop credentials. One-time browser-based OAuth consent required on the user's local machine before headless/Cowork use. .
SKILL.md names 1 domain. As links in the text: console.cloud.google.com. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Youtube API is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.2k tokens (SKILL.md is roughly 8.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Youtube API: Add OAuth Provider (superdesigndev/treg, 4.9k stars), TikHub API Helper (liangdabiao/tikhub_api_skill, 129 stars), YouTube Data via TranscriptAPI (ZeroPointRepo/youtube-skills, 1k stars) and Setup (daiki-beppu/youtube-automation, 169 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
swyxio (a GitHub user) maintains it in swyxio/skills, which has 175 GitHub stars. The repository holds 89 skills in this directory. The repository was last updated on October 5, 2026.
Source: swyxio/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.