Agent-callable YouTube tools — search and read videos, update and delete videos, manage playlists and playlist items, read and post comments, rate videos, manage subscriptions, and read channel and caption metadata. Use when the user mentions YouTube or wants to find, comment on, or organize YouTube videos and playlists, even if they don't name YouTube explicitly.
npx skills add https://github.com/zapier/connectors --skill youtube
_Independent, unofficial connector for YouTube. Not affiliated with, endorsed by, or sponsored by YouTube. "YouTube" is a trademark of its owner, used only to identify the service this connector works with._
Scripts for working with YouTube against the YouTube Data API v3 (https://www.googleapis.com/youtube/v3/): search and read videos, update or delete videos, like or dislike videos, create and manage playlists and their items, read and post comments, manage subscriptions, and read channel, category, and caption metadata. 22 scripts across video discovery, video and playlist management, community engagement, and the read surfaces an agent needs to resolve ids.
This is an agentskills.io skill.
If the connector has not been installed as a skill yet, install it first with npx skills add zapier/connectors --skill youtube (or your harness's own skill-install mechanism), then continue here. Installing the skill copies these files, not dependencies. Before running the CLI, a local MCP server, or zapier-sdk auth commands, run npm install --omit=dev here once. Importing the published package as a dependency in your own project instead? That npm install already resolves everything — see references/use-as-sdk.md.
The connector runs on Node.js 22.18+. Pick the reference that matches how you're running it, and load it before doing anything else:
| You have... | Load |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------ |
| An MCP-aware client — tools may already be loaded (e.g. mcp__youtube__<tool>), or you can register a local server yourself (or guide the user to) | references/use-as-mcp.md |
| Terminal / subprocess access (you can run node) | references/use-as-cli.md |
| Only your own code, importing this package as a dependency | references/use-as-sdk.md |
| No tool access, no terminal, no ability to import this package — you write your own code that calls the YouTube Data API directly (e.g. a code-execution sandbox) | references/use-as-recipe.md |
All scripts use the single connection youtube.
| Script | Script name | Connections | Description |
| -------------------------------------------------------------------------- | ------------------------- | ------------------ | ------------------------------------------------------------------------------------------------ |
| scripts/searchVideos.ts | searchVideos | Single (youtube) | Search videos by keyword, channel, date, or duration (id + snippet only; separate quota bucket). |
| scripts/getVideo.ts | getVideo | Single (youtube) | Get full details of one or more videos by id — snippet, statistics, contentDetails, status. |
| scripts/updateVideo.ts | updateVideo | Single (youtube) | Update a video's metadata (read-modify-write — only the fields you pass change). |
| scripts/deleteVideo.ts | deleteVideo | Single (youtube) | Permanently delete a video you own. |
| scripts/rateVideo.ts | rateVideo | Single (youtube) | Like, dislike, or clear your rating on a video. |
| scripts/listPlaylists.ts | listPlaylists | Single (youtube) | List playlists owned by the user or a channel, or fetch playlists by id. |
| scripts/createPlaylist.ts | createPlaylist | Single (youtube) | Create a new playlist on the user's channel. |
| scripts/updatePlaylist.ts | updatePlaylist | Single (youtube) | Update a playlist's title, description, or privacy (replaces, doesn't merge). |
| scripts/deletePlaylist.ts | deletePlaylist | Single (youtube) | Permanently delete a playlist you own. |
| scripts/listPlaylistItems.ts | listPlaylistItems | Single (youtube) | List the videos in a playlist, in order (each item carries its playlistItem id). |
| scripts/addVideoToPlaylist.ts | addVideoToPlaylist | Single (youtube) | Add a video to a playlist you own. |
| scripts/removeVideoFromPlaylist.ts | removeVideoFromPlaylist | Single (youtube) | Remove an item from a playlist (by playlistItem id, not video id). |
| scripts/listComments.ts | listComments | Single (youtube) | List top-level comment threads on a video, each with its first replies. |
| scripts/postComment.ts | postComment | Single (youtube) | Post a new top-level comment on a video (needs the comment scope). |
| scripts/replyToComment.ts | replyToComment | Single (youtube) | Reply to an existing top-level comment thread (needs the comment scope). |
| scripts/getChannel.ts | getChannel | Single (youtube) | Get a channel's profile, statistics, and uploads-playlist id (by mine / id / @handle). |
| scripts/listVideoCategories.ts | listVideoCategories | Single (youtube) | List the assignable video categories for a region. |
| scripts/listSubscriptions.ts | listSubscriptions | Single (youtube) | List the user's subscriptions, or check a subscription to one channel. |
| scripts/subscribeToChannel.ts | subscribeToChannel | Single (youtube) | Subscribe the user to a channel. |
| scripts/unsubscribeFromChannel.ts | unsubscribeFromChannel | Single (youtube) | Unsubscribe the user from a channel (by subscription id, not channel id). |
| scripts/listCaptions.ts | listCaptions | Single (youtube) | List the caption tracks available for a video (needs the comment/caption scope). |
| scripts/downloadCaption.ts | downloadCaption | Single (youtube) | Download a caption track's text in a chosen format (srt/vtt/sbv/scc/ttml). |
Every shape passes auth as one connection selector, not the secret — a [<resolver>:]<value> string. Every connector accepts zapier:<connection-id> (Zapier-managed auth — routes through Zapier's auth, retries, and governance layer); some also accept one or more direct-token resolvers (naming and count vary per connector) — check this connector's own resolvers rather than assuming. The <resolver>: prefix is optional; a bare value goes to the first resolver that claims it — a UUID-shaped bare value always claims zapier:. Each script declares the connections it needs and the resolvers each accepts. The exact syntax for passing a connection (and how to see this connector's resolver list) differs by shape — see the reference you loaded above.
Checking what's already configured first? Don't dump environment values to do it — env or env | grep <name> prints the value along with the name, leaking a live credential into the transcript if one is set. Check names only (env | cut -d= -f1 | grep -i <name>) or test a known name directly ([ -n "$VAR_NAME" ]).
No connection yet? Pick one — and follow the reference's own flow to obtain it; never just ask the user for a connection id or token as if they already have one memorized:
| | Load |
| ------------------------------------ | ---------------------------------------------------------------------- |
| Pass the credential directly | references/use-without-zapier.md |
| Route it through a Zapier connection | references/use-with-zapier.md |
Every script returns a { data, meta } envelope:
data — the script's result (the shape its outputSchema declares; see the reference you loaded above for how to inspect a script's exact schema in your shape).meta.outputDataValidation — what validating data did:{ skipped: false, droppedPaths: null } — validated, nothing removed.{ skipped: false, droppedPaths: [...], instruction } — validated, but those paths were stripped from data: fields the script returned from the API that the outputSchema doesn't declare. If you need them, re-run with output validation skipped.{ skipped: true } — validation was bypassed; data is the raw, unchecked script output.Reading dropped fields / skipOutputDataValidation. To receive the raw, unvalidated result, opt out of output validation (the exact syntax differs by shape — see the reference you loaded above). Input validation is never skipped.
Trimming the result / filterOutputData. To shrink a large result down to the fields you need, pass a jq expression that post-processes data (again, exact syntax per shape). The jq runs against data only, NOT the { data, meta } envelope, so write it rooted at data (run the script's --help — or your shape's equivalent — to see its output schema). The transformed value replaces data, meta is preserved, and the result is NOT re-validated against the output schema.
Disambiguation before a write. Before writing against a video, playlist, or channel you looked up by name (e.g. a video from searchVideos, a playlist from listPlaylists, a channel from getChannel/searchVideos), count the exact case-insensitive title matches:
Mind the id traps. removeVideoFromPlaylist takes the playlistItem id from listPlaylistItems, not the video id. unsubscribeFromChannel takes the subscription id from listSubscriptions, not the channel id. Passing the wrong id is the most common failure; resolve via the listed script first.
Unsupported operations — say so and stop; don't fake it with another script. This catalog deliberately does not:
statistics counts and present them as an analytics report.uploadVideo or setVideoThumbnail script. These require binary media uploads, which the connection transport does not support.If asked for any of these, tell the user it's unsupported and stop — don't reach for an unrelated script to approximate it.
Load the matching reference file before working in that area:
| Reference | Covers | Load it when |
| ------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------- |
| references/youtube-api-gotchas.md | The part model, per-bucket quota system, error envelope and reason→recovery mapping, OAuth scope requirements (youtube, youtube.force-ssl), counts-as-strings, and per-resource quirks for videos, search, playlists, comments, captions, channels, and subscriptions. | Before relying on counts, quotas, scopes, pagination, IDs, or any non-obvious response field. |
agent-im 会话技能 - 通过 liblib.tv 的 AI 能力生成和编辑图片/视频。覆盖场景包括:生成(文生图、文生视频、图生视频、做动画、画一个xxx、来段xxx)、编辑修改(把xxx换成yyy、去掉xxx、加上xxx、改成xxx、调整xxx、局部修改、改镜头)、风格转换(风格迁移、转绘、换风格)、视频续写延长、复刻视频/TVC/宣传片、短剧/短漫剧生成、音乐MV生成、产品广告/展示片制作、分镜/故事板设计、教育视频/短视频制作。当用户提到 liblib、libtv、上传参考图/视频、查看生成进度时也应触发。关键判断:只要用户的请求涉及 AI 图片或视频的创作、生成、编辑、修改,无论措辞如何(如"画只猫"、"做个海报"、"把纸船换成爱心"、"这个视频帮我改一下"、"帮我复刻这段视频"、"用这首歌做个MV"、"一句话生成短剧"),都必须触发此技能。
This skill should be used when the user asks to "generate video prompts", "create Seedance prompts", "write video descriptions", mentions "Seedance", "seedance", "即梦", "即梦平台", "视频提示词", "视频生成", "AI视频", "短剧", "广告视频", "视频延长", or discusses video prompt engineering, AI video generation, or Seedance 2.0 workflows.
Best practices and techniques for writing effective AI video generation prompts. Covers: Veo, Seedance, Wan, Grok, Kling, Runway, Pika, Sora prompting strategies. Learn: shot types, camera movements, lighting, pacing, style keywords, negative prompts. Use for: improving video quality, getting consistent results, professional video prompts. Triggers: video prompt, how to prompt video, veo prompts, video generation tips, better ai video, video prompt engineering, video prompt guide, video prompt template, ai video tips, video prompt best practices, video prompt examples, cinematography prompts
This skill is a practical, 'use-it-while-debugging' reference for getting a LiveKit + Letta voice agent working reliably.
Download screenshot baselines from the latest CI run and commit them. Use when asked to update, accept, or refresh component screenshot baselines from CI, or after the screenshot-test GitHub Action reports differences. This skill should be run as a subagent.
| Turn vague taste, screenshots, URLs, product notes, or "make it feel like this" references into a grounded DESIGN.md plus an implementation handoff. Use it before prototypes, decks, redesigns, or image remix work when the user needs a reusable visual direction rather than a one-off prompt.
>- Upload local assets (images, mockups, extracted HTML, design markdown) to a Stitch project. ALWAYS use this skill when you need to upload visual assets, HTML pages, or design docs to Stitch, particularly when direct MCP tool calls fail or truncate due to base64 token limits.
This skill helps users automatically extract channel-level and video detail data from a specific YouTube channel via BrowserAct API. Agent should proactively apply this skill when users express needs like extracting channel video data, getting latest or popular videos from a YouTube channel, tracking competitor channel content, extracting video metrics such as views likes comments, retrieving subscriber count and channel info, monitoring posting cadence of a YouTube channel, gathering video data for content strategy analysis, getting earliest videos of a YouTube creator, analyzing engagement signals across a full channel, and downloading structured YouTube video details without manual scraping.
Take zapier/youtube from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.
The instructions reference npm, npx.
Without those the skill loads but fails at the first command.