Communitygithub.com

TikTok 行銷技能

此技能幫助 AI 代理創建高效能 TikTok 內容並整合 TikTok API,涵蓋短影音策略、鉤子技巧、熱門音效、內容發佈 API、分析與成長策略。

TikTok 行銷技能 是什麼?

這個「TikTok 行銷技能」專為 AI 代理(如 Claude Code、Cursor 等)設計,旨在賦能代理全面掌握 TikTok 平台生態。它不僅提供深入的 TikTok 演算法規則解讀(例如完成率與分享是最關鍵的指標),還包含一套完整的內容創作框架,從「前 1-3 秒鉤子公式」到「教育型、故事型、系列型」等不同成功內容類型,皆有詳細指引。技能同時整合了 TikTok Content Posting API 的實作細節,提供完整的 OAuth 2.0 認證與影片發佈流程(含初始化上傳、分塊上傳至狀態檢查)。此外,還提供「7 天內容規劃」與「Node.js 自動上傳腳本」兩個實例,以及從貼文排程、主題標籤策略到 TikTok SEO 的全方位成長戰術,幫助代理與開發者系統性地提升 TikTok 帳號表現。

相容平台~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 APIs。涵蓋短影音策略、鉤子技巧、熱門音效、內容發佈 API、分析,以及針對 TikTok「為你推薦」(For You Page, FYP) 演算法的成長策略。

使用說明

平台規則與演算法

TikTok 的「為你推薦」(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 創作者中心的「熱門」主題
  • 原創音效也能成為趨勢——說話清晰、使用易記的短語

說故事

  • 包含情感起伏的個人故事
  • 「故事時間:我是如何 [意想不到的結果]」
  • 使用綠幕效果並放上照片/截圖作為佐證

日常 / 幕後花絮

  • 真實 > 精緻
  • 展示真實的過程、掙扎與勝利
  • 工作縮時攝影搭配旁白

系列內容

  • 第 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 次(演算法獎勵穩定性)
  • 使用影片回覆留言(創造新內容 + 互動)
  • 與同領域的熱門創作者進行 Stitch/Duet(藉助他們的曝光)
  • 將你表現最好的 3 支影片置頂於個人檔案
  • 建立格式一致的系列(觀眾會為了下集而追蹤)
  • 跨平台發佈到 Instagram Reels 和 YouTube Shorts(先使用 SnapTik 或手動重新匯出移除 TikTok 浮水印)

TikTok SEO(2025-2026):

  • TikTok 現在是一個搜尋引擎——人們像使用 Google 一樣在上面搜尋
  • 在以下位置使用關鍵字:標題、文字覆蓋層、旁白/口語
  • 回答你領域中常見的搜尋問題
  • 參考 TikTok 搜尋欄的建議來發想內容點子

範例

範例 1:為咖啡烘焙坊建立 TikTok 內容計畫

使用者提示:「我在波特蘭經營一家名為 Northside Beans 的精品咖啡烘焙坊。建立一個為期一週的 TikTok 內容計畫,將我的追蹤者從 400 人增加到 2,000 人。」

代理將建立一個為期 7 天的內容日曆,包含針對咖啡烘焙坊的具體影片概念。第 1 天:「POV:你剛剛發現了衣索比亞耶加雪菲單品咖啡」(熱門音效 + 咖啡沖煮特寫,15 秒)。第 2 天:「你早上沖咖啡常犯的 3 個錯誤」(教育型,文字覆蓋層,30 秒)。第 3 天:「觀看我們將一批咖啡生豆烘焙成褐色」(幕後縮時攝影,20 秒)。第 4-7 天則混合系列內容(「咖啡基礎知識 第 1 部分」)、故事時間(「我如何辭去科技工作去烘咖啡」)以及 Duet/Stitch 點子。每個條目都包含鉤子句子、建議時長、內容類型、3-5 個主題標籤(例如 #SpecialtyCoffee #CoffeeTok #PortlandFood)以及最佳發文時間(太平洋標準時間早上 7 點和晚上 7 點)。

範例 2:撰寫 TikTok API 整合程式以自動發佈影片

使用者提示:「建立一個能使用 TikTok Content Posting API 上傳預先錄製好的 MP4 檔案的 Node.js 腳本。影片檔案位於 ./videos/latte-art-tutorial.mp4。」

代理將建立一個 Node.js 腳本,透過環境變數 TIKTOK_CLIENT_KEY 和 TIKTOK_CLIENT_SECRET 使用 TikTok OAuth 2.0 進行認證,讀取影片檔案大小,透過 POST /v2/post/publish/video/init/ 初始化上傳,標題為「拉花藝術教學 — 完美羅塞塔的 3 個步驟」,將 privacy_level 設定為 PUBLIC_TO_EVERYONE,使用正確的 Content-Range 標頭將二進位資料上傳到傳回的 upload_url,然後每 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

相關技能