Communitygithub.com

YouTube SEO 技能

运行五个智能体,让你的 YouTube 频道标题和描述紧跟当前用户搜索趋势。包括频道读取、同类频道监控、标题生成、旧视频重构和变更追踪。

YouTube SEO 技能 是什么?

该技能专为内容创作者设计,可自动化 YouTube SEO 优化工作流,提升视频在搜索结果中的可见度。它由五个 AI 智能体协作完成:频道读取器通过 YouTube Data API、Analytics OAuth 或 Studio 导出获取频道数据;同类频道监控器分析规模相似的频道,发现有效策略;标题编写器为新视频生成 5 个标题、描述和章节;旧视频重构器挑选值得更新的旧视频并重写方案;变更追踪器记录用户实施的所有修改并对比效果。支持 Claude Code 和 Claude.ai 平台,严格遵循安全规则:绝不实际修改视频内容,绝不虚构数据,所有提议均为草稿,用户需手动粘贴到 YouTube Studio。技能依赖用户提供 API 密钥或导出文件,并通过环境变量管理凭证,确保安全。

兼容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/jsath/claude-skills/tree/HEAD/skills/youtube-seo

在你喜欢的 AI 中提问

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

文档

YouTube SEO

你的频道数据加上与你体量相当的频道当下有效的策略,转化为新旧视频的标题和描述草稿。你只需将审核通过的草稿粘贴到 YouTube Studio。灵感来自视频:“Claude just killed your SEO strategy”。

你是协调者。每个角色的完整步骤位于 agents/ 目录中;在扮演该角色前请先阅读对应文件。在 Claude Code 中,你可以将 agents/*.md 复制到 .claude/agents/ 中以子代理方式运行。

#智能体文件功能
1频道读取器agents/01-channel-reader.md一张表格展示所有上传视频及其数据(API、OAuth 或 Studio 导出)
2同类频道监控器agents/02-niche-watcher.md发现与你频道体量 0.3 倍到 3 倍之间、近 30 天内有 3 倍于正常表现的异常频道
3标题编写器agents/03-title-writer.md为新视频生成 5 个标题、描述和章节
4旧视频重构器agents/04-back-catalogue.md挑选值得更新的旧视频,对比旧版与新版草稿
5变更追踪器agents/05-change-tracker.md记录你的修改,对比修改前后的频道趋势

数据来源(对每一项诚实说明)

  • Claude Code + YouTube Data API v3 密钥(YOUTUBE_API_KEY 存放在 .env 中):用于获取公开视频列表、标题、描述、公开统计数据以及同类频道监控器的搜索结果。设置步骤在智能体 1 中。
  • YouTube Analytics API,只读 OAuth(可选,Claude Code):获取观看时长、平均观看时长、流量来源以及 YouTube 搜索词(如果返回)。
  • YouTube Studio 导出(无需设置,可在 Claude.ai 中使用):分析 -> 高级模式 -> 导出(CSV 或 Google Sheets)。这里包含展示次数和点击率数据。
  • 你粘贴的数据:你看到的搜索结果、搜索框建议、Google Trends 导出、关键词工具导出。每项都需标注来源。
  • 无写入权限:修改标题需要写入权限,本技能从未设置。你需要将审核通过的草稿粘贴到 Studio。

在 Claude.ai 中,请附上 Studio 导出文件并粘贴你在搜索主题时看到的内容;其余操作相同。缺失数据:请求相应导出,运行其余部分,并说明哪些数据是部分的。

设置(运行 start 或当 PROFILE 为空时)

一次提问中询问,接受“跳过”,然后展示 PROFILE 并建议执行 seo run:

  1. 频道 ID 或句柄;你涉及的主题。
  2. 使用 Claude Code 配合 API 密钥、OAuth 还是 Studio 导出?没有密钥:引导用户完成智能体 1 的设置。
  3. 2 到 5 个观众可能输入的搜索短语;3 到 5 个同类频道。
  4. 你喜欢的 5 到 10 个标题,以及表现不佳的标题。
  5. 你从不使用的标题词、风格或承诺。
  6. 你的标准描述页脚。

命令

  • seo run:依次运行智能体 1、2,然后对排名前 10 的旧视频运行智能体 4,如果变更可读则运行智能体 5。
  • pull、niche、new video、back catalogue [N]、track、approve <ID>、applied <ID> <date>。
  • 命令在你执行时运行。在 Claude Code 中你可以安排 niche 每周运行;但它仍然只生成一份报告。

共享文件

Claude Code:seo/ 目录。Claude.ai:每次运行时打印表格,供创作者保存到项目知识库。

文件写入者内容
PROFILE设置上述问答的回答
STATE1, 2频道 ID、上次拉取日期、已用 API 配额
VIDEOS1每行一个视频,包含来源和读取日期
NICHE2最新报告,含日期
DRAFTS3, 4标题/描述/章节集合,标记为 T1、T2…
CHANGES5创作者应用了哪些修改、时间、前后对比

安全规则

  1. 绝不修改标题、描述、标签、缩略图或任何设置。仅提供草稿。
  2. 绝不虚构数字。YouTube 不公开搜索量;除非已命名的工具导出提供,否则本技能绝不声明任何搜索量。估算值(每日观看次数)需标注 估算 并注明方法。
  3. “有效”指超过频道自身正常表现,而非原始观看次数。
  4. 不承诺排名或观看次数;新标题只是一个测试。单个视频或短窗口不能证明因果关系。
  5. 标题只能承诺视频实际提供的内容:无点击诱饵、无关键词堆砌、不使用其他创作者的姓名或品牌。
  6. 密钥和令牌保存在 .env(已加入 gitignore),绝不出现在聊天或仓库中。OAuth 为只读。

每次运行结束

  1. 每个已运行智能体的一行总结,包括数据源、读取日期、API 调用次数。
  2. 同类频道监控 Niche 高亮及证据。
  3. 等待中的草稿(ID、视频、新标题)。
  4. 变更追踪结果及诚实评估。
  5. 数据缺口及填补方法。
  6. “你的频道没有任何改动。请将审核通过的草稿粘贴到 YouTube Studio,然后告诉我日期以便追踪。”

示例:

已运行:频道读取器 (API, 84 个视频, 读取于 6月3日, 4 次调用), 同类频道监控器 (3 个短语, 3 次搜索 = 300 单位), 旧视频重构器 (前 10 名)。
Niche:9 个异常频道中有 5 个在标题中放入数字。当前热门:“本地 AI 模型”(自 5月20日以来 4 个异常频道)。
T4 | “我的编辑设置”  -> “我每期视频都用的 3 个编辑应用” | 等待审核
T5 | “Vlog 12”        -> “我用手提电脑运行工作室 30 天”          | 等待审核
追踪器:T1(应用日期 5月2日)效果明显:每日观看次数 +62%(频道增长 +8%),主要来自搜索。
你的频道没有任何改动。

局限性:无法看到其他频道的算法或私有数据;搜索结果因查看者和地点而异,因此每次搜索读取都是一个带日期的样本。每日 API 配额默认为 10,000 单位,每次搜索消耗 100 单位。

Individual skills in this repo

This repo contains 11 individual skills — each has its own dedicated page.

jsath/claude-skills

Writes captions for a finished video from its transcript: pulls the line worth repeating, writes first-line options, writes per-platform versions (Instagram, TikTok, YouTube title and description, others on request), keeps the creator's voice using their best past captions, and checks the call to action matches what the video actually says. Use when a creator asks for captions, a caption hook, a YouTube title and description, or a CTA check. Drafts only; never posts or schedules.

jsath/claude-skills

Write CAPTIONS-PLATFORMS.md for one finished short video: a per-platform post caption for Instagram, TikTok, YouTube Shorts (title + description), Facebook, Threads, Bluesky and X, each within that platform's limits, with your comment-keyword CTA on the platforms where it belongs and never on X. Keyword, CTA, platforms, hashtags and limits come from a config file; a checker script fails the file on any miss. Use after an edit is finished, when asked to 'write the captions', 'caption this reel for every platform', or before scheduling.

jsath/claude-skills

Transcribe audio or video on your own machine with Whisper (mlx-whisper, faster-whisper or whisper.cpp) and get word-level timestamps as words.json, a plain .txt and an .srt. No API key, nothing uploaded. This is the transcription step the editing skills (edit-style, longform-edit, reel-captions) depend on. Use when asked to transcribe a take, get word timings, make an SRT, re-transcribe a final render for a caption sync check, or 'run whisper locally'.

jsath/claude-skills

Turns one published long-form video or podcast transcript into up to thirty pieces: 10 clips with new hooks and exact timestamps, 8 X posts, 4 LinkedIn posts, 3 carousels, 2 threads, a newsletter, a community post and a blog post, laid out on a two-week plan, all built only from what was said. In Claude Code it also cuts, reframes and captions the clips with ffmpeg. Use when someone wants to repurpose a long video, find clips, or write social posts from a transcript. Never posts or schedules.

jsath/claude-skills

Turn a raw talking-head take into a dynamically edited 1080x1920 reel: full-face, full-graphic and split layouts that switch every 2 to 5 seconds, real UI and official-logo panels, captions on every word timed by Whisper, voice plus synthesised SFX (no music bed) mastered to -14 LUFS, and hard QA gates (caption sync on the final render, A/V length, loudness, colour, framing, contact sheet, claims). Also covers writing the script so it does not read as AI. Use when asked to 'edit this reel', 'make it look edited', 'add captions / dynamic layout / graphics', or 'write a reel script'.

jsath/claude-skills

Edits a raw long-form YouTube recording (screen recording export, camera file, or either plus a separate mic) into a publish-ready video automatically, like Descript on autopilot: transcribes with word timestamps, removes retakes and keeps the last take, tightens dead space while keeping silent on-screen action (speeding up long waits), masters the voice to -14 LUFS / -1.5 dBTP with no music bed, re-transcribes the FINAL render for an every-word SRT (optional burned-in captions), drafts chapters, titles and a description, and fails loudly on QA gates (words, A/V sync, caption sync per chapter, caption coverage, loudness) plus contact sheets you look at. Use when someone says edit this long-form, clean up my recording, cut the retakes and dead space, process the long-form inbox, or descript this. Needs Claude Code with ffmpeg, whisper.cpp and Python 3.

jsath/claude-skills

Turns one podcast episode transcript into a week of written content: an Episode Prep agent that checks the transcript and speaker names, a Clip Spotter that picks the best short-clip moments with exact timestamps and hooks for an editor to cut, a Show Notes Writer that writes show notes and chapter markers, a Repurpose Writer that turns the big ideas into a newsletter, a LinkedIn post and Instagram captions, and an Episode Planner that spreads it all over the week. Works from a transcript the user supplies or exports from their transcription tool. It does not edit audio or video and does not cut clips. Use when a podcaster asks for show notes, chapters, clip timestamps, or posts from an episode, or says \"repurpose this episode\". Drafts only; never posts.

jsath/claude-skills

Turns one raw talking-head take into a finished 1080x1920 vertical reel in Claude Code with free local tools (ffmpeg, whisper.cpp, headless Playwright): transcribes, keeps the last take of repeated lines, cuts pauses, captions every word, adds real screenshots and official logos, and runs measured QA gates. Use when someone wants a raw phone take edited into a Reel, TikTok or Short, retakes and silences cut, word-by-word captions, or a finished video checked. In Claude.ai it only produces a cut list, shot plan and .srt from a pasted transcript.

jsath/claude-skills

Turns notes, voice-note transcripts and half ideas into Reel, TikTok and YouTube scripts in the creator's own voice: ranks an idea bank, writes ten hooks per idea, writes the script at the right length, rewrites anything that sounds like AI using transcripts of the creator's past videos, and fact-checks every claim with a source and date. Use when someone wants a video script, hooks, a ranked list of what to film, a voice pass, a claims check, or a record sheet to read from while filming.

jsath/claude-skills

Reviews and rewrites a video script (YouTube long-form, a short, or a talking-head reel) so it sounds like one person talking to one friend and holds attention: kills forced analogies and presenter phrases, fixes framing, checks hooks, open loops and re-engagement beats, and suggests titles. Use when someone says fix this script, polish my script, make it sound like me, tighten this before I film, or asks for a hook or title for a video. Returns the rewritten script plus a short change log.

jsath/claude-skills

Make a 1280x720 YouTube thumbnail (or a banner/cover) that reads at phone size: a text-free background plate (generated or from a real frame), a real cutout of the person, 1 to 3 words in tight colour blocks, an official logo, composed by a script that checks overlaps and frame edges and renders the 320px and 168px views you must look at. Use when asked for a thumbnail, cover, banner, 'make this clickable', or to fix a thumbnail that looks cluttered or small.

相关技能