Communitygithub.com

YouTube营销技能

此技能帮助AI代理创建高性能的YouTube内容并与YouTube Data API集成。涵盖长视频策略、Shorts、SEO优化、缩略图设计、上传自动化、分析、变现路径以及针对YouTube搜索和推荐算法的增长策略。

YouTube营销技能 是什么?

该技能专为需要管理YouTube频道、优化内容以获得最大覆盖率和增长的技术人员和AI代理设计。它提供了有关YouTube算法、SEO最佳实践以及有效上传和管理视频的YouTube Data API v3集成的全面指导。技能强调长视频(8-20分钟)和Shorts(60秒以下),并包含社区帖子和增长策略。细节包括标题优化、描述(包含时间戳)、标签使用和缩略图设计原则。提供了TypeScript代码示例,展示如何使用googleapis库进行视频上传、Shorts上传、播放列表创建和分析查询,涵盖`videos.insert`、`playlists.insert`、`youtubeAnalytics.reports.query`等端点。该技能还涵盖了变现要求(YPP资格)、收入来源(广告、会员、赞助)以及基于上传频率和内容组合的增长策略。AI代理可以使用此技能自动执行SEO优化上传、分析频道表现以及推荐增长机会。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/ComeOnOliver/skillshub/tree/HEAD/skills/TerminalSkills/skills/youtube-marketing

在你喜欢的 AI 中提问

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

文档

YouTube营销

概述

此技能帮助AI代理创建高性能的YouTube内容并与YouTube Data API集成。涵盖长视频策略、Shorts、SEO优化、缩略图设计、上传自动化、分析、变现路径以及针对YouTube搜索和推荐算法的增长策略。

说明

算法与发现

搜索(YouTube是第二大搜索引擎): 标题/描述/标签的关键词匹配,视频转录索引,互动率(CTR + 观看时长),新鲜内容提升。

推荐(占70%以上观看量): 点击率(缩略图+标题),平均观看时长,会话持续时间,观众满意度(点赞、分享、评论),上传稳定性。

导致曝光下降的因素:有噱头但无实际内容、长开头、上传不稳定、误导性缩略图。

内容格式

长视频(8-20分钟): 钩子(0-30秒)-> 背景(30秒-1分钟)-> 主要内容 -> 呼吁行动。规格:最低1080p(推荐4K),MP4 H.264,清晰音频在-14到-12 LUFS。留存技巧:每30-60秒模式打断,开放循环,章节/时间戳,视觉多样性。

Shorts(60秒以内,9:16竖屏): 第一秒内出现钩子,单一集中的想法,循环友好的结尾,用作长视频的引流。每周发布3-5条Shorts。

社区帖子(500以上订阅者): 投票、图片、视频预告。上传间隙每周发布2-3次。

YouTube SEO

标题: 60-70字符,主要关键词靠近开头,数字+好处有效。公式:[主要关键词] — [好处/钩子]([修饰符])。示例:“Next.js身份验证 — 完整指南(2026)”。

描述: 前150个字符出现在搜索结果中(关键词前置)。包含时间戳/章节(至少3个)。总共150-300字。链接放在折叠线以下。

标签: 每个视频5-15个,主要关键词在前,混合完全匹配+更广泛术语。

缩略图: 1280x720px,高对比度,表情丰富,最大3-5个粗体字,品牌一致,三分法则。

字幕: 上传准确的SRT(自动字幕可能有误)。YouTube索引字幕文本用于搜索。多语言字幕扩大全球覆盖。

YouTube Data API v3

import { google } from 'googleapis';

const oauth2Client = new google.auth.OAuth2(
  process.env.GOOGLE_CLIENT_ID, process.env.GOOGLE_CLIENT_SECRET, process.env.GOOGLE_REDIRECT_URI
);
oauth2Client.setCredentials(tokens);
const youtube = google.youtube({ version: 'v3', auth: oauth2Client });

// 上传视频
const res = await youtube.videos.insert({
  part: ['snippet', 'status'],
  requestBody: {
    snippet: {
      title: 'Next.js Authentication — Complete Guide (2026)',
      description: '学习如何在Next.js中实现身份验证...\n\n0:00 引言\n1:23 设置',
      tags: ['nextjs', 'authentication', 'tutorial'],
      categoryId: '28',
    },
    status: { privacyStatus: 'private', publishAt: '2026-03-01T15:00:00.000Z', selfDeclaredMadeForKids: false },
  },
  media: { body: fs.createReadStream('/path/to/video.mp4') },
});
await youtube.thumbnails.set({ videoId: res.data.id, media: { body: fs.createReadStream('/path/to/thumb.jpg') } });

// 上传Shorts(竖屏视频 + 标题中带#Shorts)
await youtube.videos.insert({
  part: ['snippet', 'status'],
  requestBody: {
    snippet: { title: '你不知道的3个Git命令 #Shorts', tags: ['shorts', 'git'], categoryId: '28' },
    status: { privacyStatus: 'public', selfDeclaredMadeForKids: false },
  },
  media: { body: fs.createReadStream('/path/to/short-vertical.mp4') },
});

// 创建播放列表并添加视频
const playlist = await youtube.playlists.insert({
  part: ['snippet', 'status'],
  requestBody: { snippet: { title: 'Next.js Complete Course' }, status: { privacyStatus: 'public' } },
});
await youtube.playlistItems.insert({
  part: ['snippet'],
  requestBody: { snippet: { playlistId: playlist.data.id, resourceId: { kind: 'youtube#video', videoId: 'abc123' } } },
});

分析

const youtubeAnalytics = google.youtubeAnalytics({ version: 'v2', auth: oauth2Client });

// 频道统计
const stats = await youtubeAnalytics.reports.query({
  ids: 'channel==MINE', startDate: '2026-01-01', endDate: '2026-02-18',
  metrics: 'views,estimatedMinutesWatched,averageViewDuration,subscribersGained',
  dimensions: 'day', sort: '-day',
});

// 热门视频
const top = await youtubeAnalytics.reports.query({
  ids: 'channel==MINE', startDate: '2026-01-01', endDate: '2026-02-18',
  metrics: 'views,estimatedMinutesWatched,averageViewDuration,likes',
  dimensions: 'video', sort: '-views', maxResults: 20,
});

变现

YPP要求: 1,000订阅 + 4,000观看时长(12个月内)或1,000万Shorts观看(90天内)。

收入来源: 广告收入(技术类CPM $3-8),频道会员,超级留言/感谢,YouTube购物,Shorts收入分成。

超越YPP: 赞助(技术类每千观看$50-200),联盟链接,自有产品/课程,咨询。

增长策略

每周上传1-2个长视频 + 3-5个Shorts。内容组合:50%教程,25% Shorts,15%热点跟进,10%社区互动。前48小时:到处分享,回复每条评论,钉问一个评论,发布到相关社区。

示例

示例1:优化并计划教程视频上传

用户提示: “将我的Next.js身份验证教程视频上传到YouTube,并设置好SEO、自定义缩略图,计划在周六下午3点UTC发布。”

代理将:

  1. 调用 youtube.videos.insert,设置 privacyStatus: 'private' 和 publishAt: '2026-03-07T15:00:00.000Z'
  2. 设置标题为“Next.js Authentication — Complete Guide (2026)”,主要关键词前置
  3. 写一个200字的描述,包含时间戳、关键词,以及折叠线以下的资源链接
  4. 添加10个相关标签,混合完全匹配和更广泛的术语
  5. 通过 youtube.thumbnails.set 上传自定义缩略图

示例2:分析频道表现并识别增长机会

用户提示: “拉取我过去30天的YouTube分析数据,告诉我哪些视频带来的订阅者最多,以及我的流量来源是什么。”

代理将:

  1. 查询 youtubeAnalytics.reports,设置 dimensions: 'video' 和 metrics: 'subscribersGained,views,averageViewDuration',按订阅者增长排序
  2. 查询流量来源,设置 dimensions: 'insightTrafficSourceType',识别搜索、浏览和推荐的分割情况
  3. 展示前5个带来最多订阅者的视频,包括它们的观看时长和点击率指标
  4. 根据哪些流量来源最强,推荐内容策略调整

指南

  • 缩略图 + 标题占点击决策的80% — 花时间在这上面
  • 前30秒决定人们是否留下 — 立即提供钩子,不要有长引言
  • 先以不公开形式上传,设置缩略图,添加结尾画面,然后发布(避免默认缩略图导致的低点击率)
  • 描述中的章节提高留存率(观众跳转到相关部分而不是离开)
  • 卡片和结尾画面 — 始终链接到你表现最好的视频或相关播放列表
  • 上传SRT字幕 — 自动字幕可能有误,YouTube索引字幕文本用于搜索
  • 稳定性胜过流行性 — 每周1个视频坚持2年胜过随机发布
  • Shorts和长视频用途不同:Shorts用于触达,长视频用于观看时长和变现
  • 通过分析观众标签页研究最佳发布时间
  • 每个视频都应回答:“为什么点击这个视频而不是关于此话题的其他10个?”

Individual skills in this repo

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

ComeOnOliver/skillshub

Create stunning, animation-rich HTML presentations from scratch or by converting PowerPoint files. Use when the user wants to build a presentation, convert a PPT/PPTX to web, or create slides for a talk/pitch. Helps non-designers discover their aesthetic through visual exploration rather than abstract choices.

ComeOnOliver/skillshub

Next.js 16+ 和 Turbopack — 增量打包、文件系统缓存、开发速度,以及何时使用 Turbopack 与 webpack。

ComeOnOliver/skillshub

SwiftUI architecture patterns, state management with @Observable, view composition, navigation, performance optimization, and modern iOS/macOS UI best practices.

ComeOnOliver/skillshub

See, Understand, Act on video and audio. See- ingest from local files, URLs, RTSP/live feeds, or live record desktop; return realtime context and playable stream links. Understand- extract frames, build visual/semantic/temporal indexes, and search moments with timestamps and auto-clips. Act- transcode and normalize (codec, fps, resolution, aspect ratio), perform timeline edits (subtitles, text/image overlays, branding, audio overlays, dubbing, translation), generate media assets (image, audio, video), and create real time alerts for events from live streams or desktop capture.

ComeOnOliver/skillshub

AI-assisted video editing workflows for cutting, structuring, and augmenting real footage. Covers the full pipeline from raw capture through FFmpeg, Remotion, ElevenLabs, fal.ai, and final polish in Descript or CapCut. Use when the user wants to edit video, cut footage, create vlogs, or build video content.

ComeOnOliver/skillshub

Next.js 15 애플리케이션을 위한 프론트엔드 개발 가이드라인. React 19, TypeScript, Shadcn/ui, Tailwind CSS를 사용한 모던 패턴. Server Components, Client Components, App Router, 파일 구조, Shadcn/ui 컴포넌트, 성능 최적화, TypeScript 모범 사례 포함. 컴포넌트, 페이지, 기능 생성, 데이터 페칭, 스타일링, 라우팅, 프론트엔드 코드 작업 시 사용.

ComeOnOliver/skillshub

Provides Tamagui patterns for config v4, compiler optimization, styled context, and cross-platform styling. Must use when working with Tamagui projects (tamagui.config.ts, @tamagui imports).

ComeOnOliver/skillshub

Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.

ComeOnOliver/skillshub

Create high-converting, visually distinctive landing pages. Use when building marketing pages, product launches, SaaS homepages, or any single-page conversion-focused website. Guides section-by-section composition with anti-AI-slop principles.

ComeOnOliver/skillshub

Auto-loaded context for Portfolio Buddy 2 development. Use for ANY task involving: React 19 development, TypeScript, portfolio analysis features, metrics calculations, trading strategy comparison, or working with the Portfolio Buddy 2 codebase. Contains tech stack, known issues, and architectural constraints.

ComeOnOliver/skillshub

Next.js development tooling via MCP. Inspect routes, components, build info, and debug Next.js apps. Use when working on Next.js applications, debugging routing, or inspecting app structure. NOT for general React or non-Next.js projects.

ComeOnOliver/skillshub

Implement UI using Shadcn MCP (atoms/theme) and 21st.dev MCP (complex sections). Use when adding buttons, layouts, or generating landing pages.

ComeOnOliver/skillshub

A conceptual skill for building an API client in Next.js that handles JWT tokens

ComeOnOliver/skillshub

Best practices and patterns for Next.js App Router, Server Actions, and Routing in this project.

ComeOnOliver/skillshub

The Design System, Theme, and UX rules for the Physical AI Hub.

ComeOnOliver/skillshub

Comprehensive frontend development skill for building modern, performant web applications using ReactJS, NextJS, TypeScript, Tailwind CSS. Includes component scaffolding, performance optimization, bundle analysis, and UI best practices. Use when developing frontend features, optimizing performance, implementing UI/UX designs, managing state, or reviewing frontend code.

ComeOnOliver/skillshub

This document captures learnings from fixing keyboard navigation issues when floating components (Select, DropdownMenu, Popover) have CSS open/close animations.

ComeOnOliver/skillshub

Build Next.js 16 applications with correct patterns and distinctive design. Use when creating pages, layouts, dynamic routes, upgrading from Next.js 15, or implementing proxy.ts. Covers breaking changes (async params/searchParams, Turbopack, cacheComponents) and frontend aesthetics. NOT when building non-React or backend-only applications.

ComeOnOliver/skillshub

Comprehensive Framer Motion animation library for React. Covers motion components, variants, gestures, page transitions, and scroll animations. Use when adding animations to React/Next.js applications.

ComeOnOliver/skillshub

Build interfaces that resonate, not just render. This skill enforces bold, intentional

相关技能