Communitygithub.com

AlperTuncOrtak/crypto-data-pipeline

透過 Rube MCP(Composio)自動化 TikTok 任務:上傳/發布影片、發布照片、管理內容以及查看個人檔案/統計數據。務必先搜尋工具以取得最新架構。

crypto-data-pipeline 是什麼?

此技能提供一個全面的自動化解決方案,用於透過 Rube MCP 管理 TikTok 內容創作與個人檔案操作。它能自動執行影片上傳與發布(需要兩個步驟)、照片發布、內容列表檢索以及個人檔案數據與統計資料的檢索。該技能仰賴事先建立的 TikTok 連線,並強烈建議在每次工作階段開始時先呼叫「RUBE_SEARCH_TOOLS」,以取得最新的工具架構、避免使用過時的 API。支援的使用案例包括:將多支影片批次上傳為系列、發布單張或系列照片、分頁瀏覽已發布的影片,以及取得經過驗證的使用者詳細資料。工作流程必須逐步執行:先上傳內容,取得發布 ID,輪詢處理狀態,然後發布。(若為發布影片)發布後可再次輪詢以確認最終狀態。常見的陷阱包括影片格式需符合 MP4/WebM、大小限制在 4GB 以下、長度限制在 10 分鐘內;上傳與發布為兩個獨立步驟;隱私設定字串區分大小寫;以及處理時間可能長達 30 到 120 秒。認證使用 OAuth,並支援視訊上傳及發布範圍。此技能清楚說明了錯誤處理(利用指數退避處理 429 錯誤)、解析回應(回應結構為 data 或 data.data),以及發佈 ID 應視為字串處理。

相容平台~Claude Code~Codex CLI✓Cursor
npx skills add https://github.com/AlperTuncOrtak/crypto-data-pipeline/tree/HEAD/skills/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

常見陷阱:

  • 狀態值包括 processing(處理中)、success(成功)和 failure(失敗)
  • 以合理的間隔(5-10 秒)進行輪詢,以避免觸發速率限制
  • 發布失敗的回應中會包含錯誤詳細資訊
  • 內容審核可能在處理後造成延遲或拒絕

常見模式

影片發布流程

1. 透過 TIKTOK_UPLOAD_VIDEO 上傳影片 -> 取得 publish_id
2. 使用 publish_id 輪詢 TIKTOK_FETCH_PUBLISH_STATUS,直到完成
3. 如果狀態為 ready,使用最終設定呼叫 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 為字串;請完全依照回傳的值使用

快速參考

任務工具 Slug主要參數
上傳影片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.

AlperTuncOrtak/crypto-data-pipeline

Skill for discovering and researching autonomous AI agents, tools, and ecosystems using the AgentFolio directory.

AlperTuncOrtak/crypto-data-pipeline

Advanced JavaScript animation library skill for creating complex, high-performance web animations.

AlperTuncOrtak/crypto-data-pipeline

One sentence - what this skill does and when to invoke it

AlperTuncOrtak/crypto-data-pipeline

Audit and fix animation performance issues including layout thrashing, compositor properties, scroll-linked motion, and blur effects. Use when animations stutter, transitions jank, or reviewing CSS/JS animation performance.

AlperTuncOrtak/crypto-data-pipeline

Internationalization and localization patterns. Detecting hardcoded strings, managing translations, locale files, RTL support.

AlperTuncOrtak/crypto-data-pipeline

Pull a YouTube video transcript into a queryable markdown vault with yt-dlp subtitle discovery, VTT cleanup, metadata frontmatter, and capture-seed stubs.

AlperTuncOrtak/crypto-data-pipeline

Expert in building portfolios that actually land jobs and clients - not just showing work, but creating memorable experiences. Covers developer portfolios, designer portfolios, creative portfolios, and portfolios that convert visitors into opportunities.

AlperTuncOrtak/crypto-data-pipeline

Generates high-converting Next.js/React landing pages with Tailwind CSS. Uses PAS, AIDA, and BAB frameworks for optimized copy/components (Heroes, Features, Pricing). Focuses on Core Web Vitals/SEO.

AlperTuncOrtak/crypto-data-pipeline

AI-powered animation tool for creating motion in logos, UI, icons, and social media assets.

AlperTuncOrtak/crypto-data-pipeline

CRITICAL: Use for Makepad animation system. Triggers on: makepad animation, makepad animator, makepad hover, makepad state, makepad transition, "from: { all: Forward", makepad pressed, makepad 动画, makepad 状态, makepad 过渡, makepad 悬停效果

AlperTuncOrtak/crypto-data-pipeline

Best practices for Remotion - Video creation in React

AlperTuncOrtak/crypto-data-pipeline

Generate walkthrough videos from Stitch projects using Remotion with smooth transitions, zooming, and text overlays

AlperTuncOrtak/crypto-data-pipeline

Seek and analyze video content using Memories.ai Large Visual Memory Model for persistent video intelligence

AlperTuncOrtak/crypto-data-pipeline

Writes complete, structured landing pages optimized for SEO ranking, AEO citation, and visitor conversion. Activate when the user wants to write or generate a landing page for a product, service, or offer.

AlperTuncOrtak/crypto-data-pipeline

Three.js animation - keyframe animation, skeletal animation, morph targets, animation mixing. Use when animating objects, playing GLTF animations, creating procedural motion, or blending animations.

AlperTuncOrtak/crypto-data-pipeline

Video and audio perception, indexing, and editing. Ingest files/URLs/live streams, build visual/spoken indexes, search with timestamps, edit timelines, add overlays/subtitles, generate media, and create real-time alerts.

AlperTuncOrtak/crypto-data-pipeline

Upload, stream, search, edit, transcribe, and generate AI video and audio using the VideoDB SDK.

AlperTuncOrtak/crypto-data-pipeline

One sentence - what this skill does and when to invoke it

AlperTuncOrtak/crypto-data-pipeline

Automate YouTube tasks via Rube MCP (Composio): upload videos, manage playlists, search content, get analytics, and handle comments. Always search tools first for current schemas.

AlperTuncOrtak/crypto-data-pipeline

Extract transcripts from YouTube videos and generate comprehensive, detailed summaries using intelligent analysis frameworks

相關技能