Communitygithub.com

TikTok营销

此技能帮助AI代理创建高效的TikTok内容并集成TikTok API,涵盖短视频策略、钩子技巧、热门音效、内容发布API、数据分析及For You Page算法增长策略。

TikTok营销 是什么?

该技能为AI代理提供一套完整的TikTok营销方案,旨在帮助其创建可病毒式传播的内容并有效利用TikTok平台API。技能详细解析了For You Page推荐算法,重点强调完播率、分享和评论等核心指标,并提供了基于算法的内容优化策略。此外,它还包含一套完整的视频制作指南,从视频规格、钩子框架(前1-3秒的视觉与口头钩子)到高互动内容类型(如教程、故事、系列内容)均有覆盖。技能还深入介绍了TikTok Content Posting API的集成方法,提供OAuth 2.0身份验证、视频上传和发布状态查询的TypeScript代码示例,以及获取用户信息和视频分析数据的方法。最后,它提供了具体的增长策略,包括最佳发布时间、内容组合(40%热门音频+垂直内容、30%教育内容等)、SEO优化技巧,并通过两个实际示例(为咖啡烘焙商创建一周内容计划、编写Node.js脚本自动发布视频)展示了完整的应用流程。此技能适用于所有主流AI代理平台,如Claude Code、Cursor和Codex。

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

在你喜欢的 AI 中提问

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

文档

TikTok营销 是做什么的?

概述

此技能帮助AI代理创建高效的TikTok内容并集成TikTok API。它涵盖短视频策略、钩子技巧、热门音效、内容发布API、数据分析及TikTok For You Page算法的增长策略。

指南

平台规则与算法

TikTok的For You Page(FYP)算法:

  • 完播率 — 最重要的指标。完整看完(或重播)的视频会获得大量推荐
  • 观看时长 — 对较长视频而言,总观看秒数很重要
  • 分享 — 最强的参与信号(通过私信或外部渠道分享)
  • 评论 — 尤其是长评论或表情符号多的评论
  • 从视频关注 — 表明创作者质量高
  • 基于内容的推荐 — TikTok向任何感兴趣的用户展示内容,无论粉丝数量多少
  • 批量测试 — 新视频首先展示给约200-500人,表现决定下一批推荐范围

什么会扼杀推荐:

  • 转载内容上带有TikTok水印
  • 违反社区准则(即使是擦边球)
  • 删除并重新上传(算法会追踪此行为)
  • 没有留存钩子的超长视频(完播率下降 = 死亡)
  • 没有动作或文字动画的静态图片
  • 提及其他平台名称(如“我的Instagram简介里有链接”)。

视频内容指南

视频规格

  • 宽高比: 9:16(1080x1920px) — 始终垂直
  • 时长: 15-60秒为最佳。30秒以下完播率最高
  • 格式: MP4或MOV,H.264编码
  • 最大文件大小: 287.6 MB(移动端),500 MB(网页端)
  • 最大时长: 10分钟(但短 = 更有益于增长)
  • 帧率: 最低30fps,60fps可获流畅运动效果

钩子框架(前1-3秒)

第一秒决定一切。观众决定划走还是留下。

视觉钩子:

  • 以运动或动作开场(而非静态标题卡)
  • 面部特写配表情(好奇、震惊、兴奋)
  • 第一秒内展示前后对比预览
  • 伴随动画出现的文字覆盖层

口头钩子:

  • “如果你[观众标识],别划走”
  • “我真不敢相信这居然有效”
  • “关于[话题],没人告诉你的真相是”
  • “[期望结果]的秘诀是...”
  • “POV:你刚发现了[有趣的东西]”
  • “看到最后——最后一个太疯狂了”

留存钩子(贯穿视频):

  • “但接下来才是重点...”
  • “等着看...”
  • 文字:“第3部分会震撼你”(鼓励关注系列内容)
  • 每3-5秒进行模式中断(缩放、切换、新角度)

有效的内容类型

教育类 / 教程(收藏率最高)

  • 通过视觉展示3-5步教程
  • “关于[话题]我希望早点知道的事”
  • 带文字叠加的快速技巧
  • 带有屏幕录制的软件操作演示

热门音频 + 垂直内容

  • 将热门音效应用于你的行业
  • 查看TikTok的“Creative Center”中的“Trending”
  • 原创音频也可能流行——清晰地说出、使用易记短语

讲故事

  • 带有情感起伏的个人故事
  • “故事时间:我如何[意外结果]”
  • 使用照片/截图的绿幕作为证据

一日生活 / 幕后花絮

  • 真实 > 精致
  • 展示真实过程、挣扎与成功
  • 配合旁白的工作延时摄影

系列内容

  • 第1部分、第2部分、第3部分格式
  • 驱动关注(“关注看第2部分”)
  • 将第1部分固定在个人主页

标题与标签策略

[标题:最多1-2句。简洁,补充背景或行动号召]

[标签:3-5个精准标签,混合垂直和广泛标签]

标题规则:

  • 简短——TikTok标题次于视频
  • 补充视频未提供的背景信息
  • 行动号召:“收藏以备后用 📌”或“发送给需要这个的朋友”
  • 最多2,200个字符,但最好控制在150以内

标签规则:

  • 3-5个标签(不是30个——这不是2019年的Instagram)
  • 1-2个垂直标签(特定话题)
  • 1-2个中等标签(更广泛的类别)
  • 1个广泛标签(#fyp现在没用了——使用热门的广泛标签)
  • TikTok SEO:在标题中自然地使用关键词(算法会读取文字)

TikTok内容发布API

身份验证

// TikTok使用OAuth 2.0
const TIKTOK_AUTH_URL = 'https://www.tiktok.com/v2/auth/authorize/';

// 步骤1:重定向至授权
const authUrl = new URL(TIKTOK_AUTH_URL);
authUrl.searchParams.set('client_key', process.env.TIKTOK_CLIENT_KEY);
authUrl.searchParams.set('response_type', 'code');
authUrl.searchParams.set('scope', 'user.info.basic,video.publish,video.upload,video.list');
authUrl.searchParams.set('redirect_uri', process.env.TIKTOK_REDIRECT_URI);
authUrl.searchParams.set('state', 'random-state');

// 步骤2:用授权码交换令牌
const tokenRes = await fetch('https://open.tiktokapis.com/v2/oauth/token/', {
  method: 'POST',
  headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
  body: new URLSearchParams({
    client_key: process.env.TIKTOK_CLIENT_KEY,
    client_secret: process.env.TIKTOK_CLIENT_SECRET,
    code: authorizationCode,
    grant_type: 'authorization_code',
    redirect_uri: process.env.TIKTOK_REDIRECT_URI,
  }),
});
const { access_token, refresh_token, expires_in } = await tokenRes.json();

发布视频

// 步骤1:初始化上传
const initRes = await fetch('https://open.tiktokapis.com/v2/post/publish/video/init/', {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${access_token}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    post_info: {
      title: '视频标题',
      privacy_level: 'PUBLIC_TO_EVERYONE', // 或 MUTUAL_FOLLOW_FRIENDS, SELF_ONLY
      disable_duet: false,
      disable_comment: false,
      disable_stitch: false,
      video_cover_timestamp_ms: 1000, // 封面帧在1秒处
    },
    source_info: {
      source: 'FILE_UPLOAD',
      video_size: videoFileSize, // 以字节为单位
      chunk_size: videoFileSize, // 文件小于64MB时为单块
      total_chunk_count: 1,
    },
  }),
});
const { data: { publish_id, upload_url } } = await initRes.json();

// 步骤2:上传视频
await fetch(upload_url, {
  method: 'PUT',
  headers: {
    'Content-Range': `bytes 0-${videoFileSize - 1}/${videoFileSize}`,
    'Content-Type': 'video/mp4',
  },
  body: videoBuffer,
});

// 步骤3:检查发布状态
const statusRes = await fetch('https://open.tiktokapis.com/v2/post/publish/status/fetch/', {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${access_token}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({ publish_id }),
});
// 状态:PROCESSING_UPLOAD, PROCESSING_DOWNLOAD, PUBLISH_COMPLETE, FAILED

查询视频与分析数据

// 列出用户视频
const videosRes = await fetch('https://open.tiktokapis.com/v2/video/list/?fields=id,title,create_time,share_url,duration,cover_image_url,like_count,comment_count,share_count,view_count', {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${access_token}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({ max_count: 20 }),
});

// 获取用户信息
const userRes = await fetch('https://open.tiktokapis.com/v2/user/info/?fields=display_name,avatar_url,follower_count,following_count,likes_count,video_count', {
  headers: { Authorization: `Bearer ${access_token}` },
});

增长策略

发布频率: 每天1-3个视频(增长阶段,一致性 > 质量)

内容组合:

  • 40% 热门音频 + 你的垂直内容(触达新观众)
  • 30% 教育/教程(收藏、分享、关注)
  • 20% 讲故事/幕后花絮(建立连接)
  • 10% 系列/分段内容(驱动关注以观看“下一部分”)

最佳发布时间: 早上7-9点,中午12-1点,晚上7-10点(目标时区)。通过分析工具测试并找到目标观众活跃的具体时间。

增长技巧:

  • 增长阶段每天发布1-3次(算法奖励一致性)
  • 用视频回复评论(既产生新内容又带来互动)
  • 与热门创作者合拍/拼接(借助他们的流量)
  • 将表现最好的3个视频固定在个人主页
  • 创建格式一致的系列内容(观众会关注以期待下一部分)
  • 交叉发布到Instagram Reels和YouTube Shorts(先使用SnapTik或手动重新导出去除TikTok水印)

TikTok SEO(2025-2026年):

  • TikTok现已是一个搜索引擎——人们像使用谷歌一样搜索它
  • 在标题、文字叠加、旁白/说话内容中使用关键词
  • 在你的垂直领域回答常见的搜索问题
  • 查看TikTok搜索框建议以获取内容创意

示例

示例1:为一家咖啡烘焙坊创建TikTok内容计划

用户提示:“我在波特兰经营一家名为Northside Beans的精品咖啡烘焙坊。请创建一个为期一周的TikTok内容计划,帮助我将粉丝数从400增长到2000。”

代理将创建一份7天内容日历,包含针对咖啡烘焙坊的具体视频概念。第1天:“POV:你刚刚发现了埃塞俄比亚耶加雪菲单一产地咖啡”(热门音频 + 特写冲泡镜头,15秒)。第2天:“早上喝咖啡时犯的3个错误”(教育类,文字叠加,30秒)。第3天:“看我们把一批咖啡豆从生豆烘焙成棕色”(幕后延时摄影,20秒)。第4-7天继续混合系列内容(“咖啡基础 第1部分”)、故事时间(“我如何辞掉科技工作去烘焙咖啡”)以及合拍/拼接创意。每项内容都包含钩子台词、建议时长、内容类型、3-5个标签(如#SpecialtyCoffee #CoffeeTok #PortlandFood),以及最佳发布时间(太平洋时间早上7点和晚上7点)。

示例2:编写TikTok API集成脚本以自动发布视频

用户提示:“构建一个Node.js脚本,使用TikTok的Content Posting API将预先录制的MP4上传到TikTok。视频文件位于./videos/latte-art-tutorial.mp4。”

代理将创建一个Node.js脚本,通过环境变量TIKTOK_CLIENT_KEY和TIKTOK_CLIENT_SECRET使用TikTok OAuth 2.0进行身份验证,读取视频文件大小,通过POST /v2/post/publish/video/init/初始化上传,标题为“Latte Art Tutorial — 3 Steps to a Perfect Rosetta”,设置privacy_level为PUBLIC_TO_EVERYONE,将二进制文件上传到返回的upload_url并设置正确的Content-Range头部,然后每5秒轮询/v2/post/publish/status/fetch/直到状态变为PUBLISH_COMPLETE或FAILED,并记录结果。

指南

  • 前1秒 = 成败关键。以钩子开场,而非介绍或标志
  • 30秒以下完播率最高——紧凑剪辑,无多余内容
  • 始终竖屏拍摄——横屏视频 = 立即划走
  • 即使视频主要是文字/旁白,也应使用热门音效(获得算法加成)
  • 在固定时间持续发布——你的观众会习惯你的更新节奏
  • 在发布后第一小时回复评论——推动视频进入下一批推荐
  • 视频回复评论算作新视频——免费的内容创意
  • 永远不要删除表现不佳的视频——它们可能在数周后重新出现
  • 在其他平台上传时带TikTok水印会被限流。始终重新导出无水印版本
  • 在良好光线下拍摄并确保音频清晰——内容质量比以往更重要

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

相关技能