Communitygithub.com

ComeOnOliver/skillshub

透過 Rube MCP (Composio) 自動化 TikTok 操作:上傳/發布影片、發布照片、管理內容以及查看個人資料與統計數據。始終先搜尋工具以取得當前架構。

skillshub 是什麼?

這個技能讓開發者能夠透過 Composio 的 TikTok 工具套件與 Rube MCP 整合,從而自動化 TikTok 內容管理與個人檔案操作。它支援影片上傳與發布、照片發布、已發布影片列表、查看個人資料與統計數據,以及監控發布狀態等核心工作流程。技能要求建立活躍的 TikTok 連線,並強調在執行任何工具前,必須先呼叫 `RUBE_SEARCH_TOOLS` 以獲取最新的工具架構。它詳細說明了每個操作所需的參數、常見陷阱(如影片上傳與發布需分兩步驟、速率限制、OAuth 權杖過期等),並提供了影片發布流程和分頁模式的實用指引。此技能專為使用 Rube MCP 作為 MCP 伺服器的 AI 代理(如 Claude Code、Cursor、Codex)所設計,適合需要批量內容排程或自動化帳戶管理的開發者。

相容平台~Claude Code~Codex CLI✓Cursor
npx skills add https://github.com/ComeOnOliver/skillshub/tree/HEAD/skills/aiskillstore/marketplace/sickn33/tiktok-automation

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

透過 Rube MCP 自動化 TikTok

透過 Composio 的 TikTok 工具套件與 Rube MCP,自動化 TikTok 內容創作與個人檔案操作。

先決條件

  • 必須已連線 Rube MCP(可使用 RUBE_SEARCH_TOOLS)
  • 需透過 RUBE_MANAGE_CONNECTIONS 啟用 TikTok 連線,並使用工具套件 tiktok
  • 請務必先呼叫 RUBE_SEARCH_TOOLS 以取得當前工具架構

設定

取得 Rube MCP:在客戶端設定中,將 https://rube.app/mcp 新增為 MCP 伺服器。無需 API 金鑰 — 只需新增端點即可運作。

  1. 確認 RUBE_SEARCH_TOOLS 有回應,以驗證 Rube MCP 已啟用
  2. 使用工具套件 tiktok 呼叫 RUBE_MANAGE_CONNECTIONS
  3. 若連線狀態非 ACTIVE,請依照回傳的驗證連結完成 TikTok OAuth
  4. 在執行任何工作流程前,確認連線狀態顯示為 ACTIVE

核心工作流程

1. 上傳並發布影片

使用時機:使用者想要上傳影片並發布至 TikTok

工具順序:

  1. TIKTOK_UPLOAD_VIDEO 或 TIKTOK_UPLOAD_VIDEOS - 上傳影片檔案 [必要]
  2. TIKTOK_FETCH_PUBLISH_STATUS - 檢查上傳/處理狀態 [必要]
  3. TIKTOK_PUBLISH_VIDEO - 發布已上傳的影片 [必要]

上傳的關鍵參數:

  • video:包含 s3key、mimetype、name 的影片檔案物件
  • title:影片標題/說明文字

發布的關鍵參數:

  • publish_id:從上傳步驟回傳的 ID
  • title:影片說明文字
  • privacy_level:'PUBLIC_TO_EVERYONE'、'MUTUAL_FOLLOW_FRIENDS'、'FOLLOWER_OF_CREATOR'、'SELF_ONLY'
  • disable_duet:停用 Duet 功能
  • disable_stitch:停用 Stitch 功能
  • disable_comment:停用留言功能

常見陷阱:

  • 影片上傳與發布是兩個獨立步驟;請先上傳,再發布
  • 上傳後,請輪詢 FETCH_PUBLISH_STATUS 直到處理完成,再進行發布
  • 影片必須符合 TikTok 要求:MP4/WebM 格式、最長 10 分鐘、最大 4GB
  • 標題/說明文字有字元限制;請參閱現行 TikTok 規範
  • 隱私層級字串區分大小寫,必須完全吻合
  • 處理時間可能因影片大小而需 30-120 秒

2. 發布照片

使用時機:使用者想要發布照片至 TikTok

工具順序:

  1. TIKTOK_POST_PHOTO - 上傳並發布照片 [必要]
  2. TIKTOK_FETCH_PUBLISH_STATUS - 檢查處理狀態 [選用]

關鍵參數:

  • photo:包含 s3key、mimetype、name 的照片檔案物件
  • title:照片說明文字
  • privacy_level:貼文的隱私設定

常見陷阱:

  • 照片發布是較新的 TikTok 功能;可用性可能因帳戶類型而異
  • 支援格式:JPEG、PNG、WebP
  • 圖片大小與尺寸限制依 TikTok 規範而定;請查閱現行規範

3. 列表與管理影片

使用時機:使用者想要檢視已發布的影片

工具順序:

  1. TIKTOK_LIST_VIDEOS - 列出使用者已發布的影片 [必要]

關鍵參數:

  • max_count:每頁回傳的影片數量
  • cursor:用於下一頁的分頁游標

常見陷阱:

  • 僅回傳已驗證使用者自己的影片
  • 回應包含影片中繼資料:id、title、create_time、share_url、duration 等
  • 分頁採用游標機制;請檢查回應中的 has_more 與 cursor
  • 剛發布的影片可能不會立即出現在列表中

4. 檢視使用者個人資料與統計

使用時機:使用者想要查看自己的 TikTok 個人資料資訊或帳戶統計

工具順序:

  1. TIKTOK_GET_USER_PROFILE - 取得完整個人資料資訊 [必要]
  2. TIKTOK_GET_USER_STATS - 取得帳戶統計資料 [選用]
  3. TIKTOK_GET_USER_BASIC_INFO - 取得基本使用者資訊 [替代方案]

關鍵參數:(無必要參數;回傳已驗證使用者的資料)

常見陷阱:

  • 個人資料僅限已驗證使用者;無法查看其他使用者的檔案
  • 統計資料包含粉絲數、追蹤數、影片數、收到的讚數
  • GET_USER_PROFILE 回傳的詳細資料多於 GET_USER_BASIC_INFO
  • 統計資料可能有些許延遲;並非即時

5. 檢查發布狀態

使用時機:使用者想要檢查內容上傳或發布操作的狀態

工具順序:

  1. TIKTOK_FETCH_PUBLISH_STATUS - 輪詢狀態更新 [必要]

關鍵參數:

  • publish_id:來自先前上傳/發布操作的發布 ID

常見陷阱:

  • 狀態值包含處理中、成功與失敗
  • 請以合理間隔輪詢(5-10 秒)以避免速率限制
  • 失敗的發布會在回應中包含錯誤詳細資訊
  • 內容審核可能導致延遲或發布後被拒絕

常見模式

影片發布流程

1. 透過 TIKTOK_UPLOAD_VIDEO 上傳影片 -> 取得 publish_id
2. 使用 publish_id 輪詢 TIKTOK_FETCH_PUBLISH_STATUS 直到完成
3. 若狀態為就緒,以最終設定呼叫 TIKTOK_PUBLISH_VIDEO
4. 可選:再次輪詢狀態以確認發布成功

分頁

  • 使用前次回應的 cursor 取得下一頁
  • 檢查 has_more 布林值判斷是否還有更多結果
  • max_count 控制每頁大小

已知陷阱

內容要求:

  • 影片:MP4/WebM、最大 4GB、最長 10 分鐘
  • 照片:JPEG/PNG/WebP
  • 說明文字:字元限制因地區而異
  • 內容必須符合 TikTok 社群規範

驗證:

  • OAuth 權杖具有範圍;請確保已授權 video.upload 與 video.publish
  • 權杖會過期;若操作回傳 401,請重新驗證

速率限制:

  • TikTok API 對每個應用程式有嚴格的速率限制
  • 收到 429 回應時實施指數退避
  • 上傳操作有每日限制

回應解析:

  • 回應資料可能巢狀於 data 或 data.data 之下
  • 使用防禦性解析搭配備援模式
  • 發布 ID 為字串;請原樣使用

快速參考

任務工具代號關鍵參數
上傳影片TIKTOK_UPLOAD_VIDEOvideo, title
上傳多部影片TIKTOK_UPLOAD_VIDEOSvideos
發布影片TIKTOK_PUBLISH_VIDEOpublish_id, title, privacy_level
發布照片TIKTOK_POST_PHOTOphoto, title, privacy_level
列出影片TIKTOK_LIST_VIDEOSmax_count, cursor
取得個人資料TIKTOK_GET_USER_PROFILE(無)
取得使用者統計TIKTOK_GET_USER_STATS(無)
取得基本資訊TIKTOK_GET_USER_BASIC_INFO(無)
檢查發布狀態TIKTOK_FETCH_PUBLISH_STATUSpublish_id

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

相關技能