Communitygithub.com

eat-pray-ai/yutu

当用户提到 YouTube、视频上传、频道管理、播放列表、视频 SEO 或任何 YouTube Data API 操作时使用。管理视频、播放列表、评论、字幕、订阅、缩略图、分析等。

yutu 是什么?

这是一个为 AI 代理设计的 YouTube 管理技能,通过 MCP 工具调用提供对 YouTube 资源的全面管理。它支持从活动、评论、字幕到直播、播放列表、搜索、订阅、超级聊天事件等几乎所有 YouTube Data API 功能的操作。该技能强调安全性与用户确认,尤其是对于删除等破坏性操作,要求先列出确切内容并获得用户明确确认。它支持读取(无副作用)、写入(创建或更新)和破坏性(不可逆删除)三类工具,并提供了详细的通用工作流程和 YouTube 增长 SEO 指南,帮助用户优化视频标题、描述、标签、缩略图及发布时间等。该技能适用于 Claude Code、Cursor、Codex 等支持 MCP(Model Context Protocol)的 AI 代理平台。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/eat-pray-ai/yutu/tree/HEAD/cmd/agent/skills/youtube

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

YouTube

通过 MCP 工具调用管理 YouTube 资源 — abuseReport、activity、caption、channel、channelBanner、channelSection、comment、commentThread、i18nLanguage、i18nRegion、liveBroadcast、liveChatBan、liveChatMessage、liveChatModerator、liveStream、member、membershipsLevel、playlist、playlistImage、playlistItem、search、subscription、superChatEvent、thirdPartyLink、thumbnail、video、videoAbuseReportReason、videoCategory、watermark。

关键原则

  • 删除前确认:始终列出将要删除的确切内容,并获取用户的明确确认,然后才能调用任何破坏性工具。
  • 验证目标:在修改或删除之前,使用读取工具确认资源是否存在且符合用户的意图。
  • 保留现有数据:更新资源时,仅修改用户明确要求更改的字段。
  • 报告资源 ID:始终在响应中包含资源 ID,以便用户引用。

工具

读取(安全,无副作用)

  • activity-list
  • caption-download
  • caption-list
  • channel-list
  • channelSection-list
  • comment-list
  • commentThread-list
  • i18nLanguage-list
  • i18nRegion-list
  • liveBroadcast-list
  • liveChatMessage-list
  • liveChatModerator-list
  • liveStream-list
  • member-list
  • membershipsLevel-list
  • playlist-list
  • playlistImage-list
  • playlistItem-list
  • search-list
  • subscription-list
  • superChatEvent-list
  • thirdPartyLink-list
  • video-getRating
  • video-list
  • videoAbuseReportReason-list
  • videoCategory-list

写入(创建或更新内容)

  • abuseReport-insert
  • caption-insert
  • caption-update
  • channel-update
  • channelBanner-insert
  • comment-insert
  • comment-markAsSpam
  • comment-setModerationStatus
  • comment-update
  • commentThread-insert
  • liveBroadcast-bind
  • liveBroadcast-insert
  • liveBroadcast-insertCuepoint
  • liveBroadcast-transition
  • liveBroadcast-update
  • liveChatBan-insert
  • liveChatMessage-insert
  • liveChatMessage-transition
  • liveChatModerator-insert
  • liveStream-insert
  • liveStream-update
  • playlist-insert
  • playlist-update
  • playlistImage-insert
  • playlistImage-update
  • playlistItem-insert
  • playlistItem-update
  • subscription-insert
  • thirdPartyLink-insert
  • thirdPartyLink-update
  • thumbnail-set
  • video-insert
  • video-rate
  • video-reportAbuse
  • video-update
  • watermark-set

破坏性(不可逆删除 — 先与用户确认)

  • caption-delete
  • channelSection-delete
  • comment-delete
  • liveBroadcast-delete
  • liveChatBan-delete
  • liveChatMessage-delete
  • liveChatModerator-delete
  • liveStream-delete
  • playlist-delete
  • playlistImage-delete
  • playlistItem-delete
  • subscription-delete
  • thirdPartyLink-delete
  • video-delete
  • watermark-unset

通用工作流程

参见 references/workflows.md 获取分步指南。

YouTube 增长技巧

参见 references/seo-guide.md 获取完整指南。创建或更新内容时,请应用以下原则:

  • 标题:好奇心缺口 + 强力词汇。关键词前置。不超过 60 个字符。
  • 描述:前两行出现在搜索结果中。包含关键词、时间戳、行动号召、3-5 个话题标签。
  • 标签:混合宽泛和长尾关键词。前 2-3 个标签权重最高。
  • 缩略图:高对比度、3-4 个词的文字、富有表现力的面孔、一致的品牌风格。
  • 发布:在观众活跃时发布。保持稳定更新节奏。
  • 互动:置顶一条带有问题的评论。在发布后一小时内回复。

相关技能