Communitygithub.com

NeverSight/learn-skills.dev

透過 Rube MCP (Composio) 自動化 TikTok 任務:上傳/發布影片、發布照片、管理內容以及查看使用者個人檔案/統計資料。始終先搜尋工具以取得最新的 Schema。

learn-skills.dev 是什麼?

這是一款專為開發者設計的 AI 代理技能,旨在透過 Composio 的 TikTok 工具組與 Rube MCP 服務,完全自動化 TikTok 的內容創作與帳號管理。使用者可以透過一系列結構化的工具呼叫,完成影片上傳與發布、照片發布、已發布內容列表查閱,以及查看自身帳號的個人檔案與統計資料等常見操作。該技能特別強調安全性與正確性:要求代理在執行任何動作前,必須先呼叫 `RUBE_SEARCH_TOOLS` 來獲取最新的工具 Schema,確保 API 介面與參數的準確性;同時也需透過 `RUBE_MANAGE_CONNECTIONS` 建立並確認 TikTok 的 OAuth 連線狀態。支援的代理平台包括 Claude Code、Cursor、Codex 等任何可設定 Rube MCP 伺服器的 AI 編碼工具。其運作邏輯完全基於 SKILL.md 文件中所定義的工作流程與陷阱提示,能有效引導代理避免常見錯誤,如影片上傳與發布必須分開進行、處理時需要輪詢發布狀態、以及注意內容格式與 API 速率限制等。

相容平台~Claude Code~Codex CLI✓Cursor
npx skills add https://github.com/NeverSight/learn-skills.dev/tree/HEAD/data/skills-md/aaaaqwq/agi-super-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 以取得目前的工具 Schema

設定

取得 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:禁用合拍功能
  • disable_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 為字串;請完全按照回傳值使用

快速參考

任務工具 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.

NeverSight/learn-skills.dev

Use when generating or modifying Remotion video code, creating demo videos, or working with the demo-video/ directory

NeverSight/learn-skills.dev

Create AI avatar and talking head videos via inference.sh CLI. Recommended: P-Video-Avatar (fastest, cheapest, built-in TTS). Also: OmniHuman, Fabric, PixVerse. Audio: Inworld TTS-2 (100+ languages, emotion steering for characters), ElevenLabs, Kokoro. Capabilities: audio-driven avatars, text-to-avatar, lipsync videos, talking head generation, virtual presenters, UGC content. Use for: AI presenters, explainer videos, virtual influencers, dubbing, marketing videos, UGC ads, gaming avatars, NPC dialogue. Triggers: ai avatar, talking head, lipsync, avatar video, virtual presenter, ai spokesperson, audio driven video, heygen alternative, synthesia alternative, talking avatar, lip sync, video avatar, ai presenter, digital human, ugc, ugc video, ugc ad, avatar ugc

NeverSight/learn-skills.dev

Create AI marketing videos for ads, promos, product launches, and brand content. Models: Veo, Seedance, Wan, FLUX for visuals, Kokoro for voiceover. Types: product demos, testimonials, explainers, social ads, brand videos. Use for: Facebook ads, YouTube ads, product launches, brand awareness. Triggers: marketing video, ad video, promo video, commercial, brand video, product video, explainer video, ad creative, video ad, facebook ad video, youtube ad, instagram ad, tiktok ad, promotional video, launch video

NeverSight/learn-skills.dev

Generate AI videos with Google Veo, Seedance 2.0, HappyHorse, Wan, Grok and 40+ models via inference.sh CLI. Models: Veo 3.1, Veo 3, Seedance 2.0, HappyHorse 1.0, Wan 2.5, Grok Imagine Video, OmniHuman, Fabric, HunyuanVideo. Capabilities: text-to-video, image-to-video, reference-to-video, video editing, lipsync, avatar animation, video upscaling, foley sound. Use for: social media videos, marketing content, explainer videos, product demos, AI avatars. Triggers: video generation, ai video, text to video, image to video, veo, animate image, video from image, ai animation, video generator, generate video, t2v, i2v, ai video maker, create video with ai, runway alternative, pika alternative, sora alternative, kling alternative, seedance, happyhorse

NeverSight/learn-skills.dev

ElevenLabs automatic dubbing - translate and dub audio/video into 29 languages while preserving speaker voice via inference.sh CLI. Capabilities: auto speaker detection, voice-preserving translation, video dubbing, audio localization. Use for: content localization, video translation, multilingual content, international distribution. Triggers: dubbing, dub video, translate audio, video translation, audio translation, localize content, elevenlabs dubbing, eleven labs dub, multilingual dub, voice translation, auto dub, language dub, content localization

NeverSight/learn-skills.dev

Explainer video production guide: scripting, voiceover, visuals, and assembly. Covers script formulas, pacing rules, scene planning, and multi-tool pipelines. Use for: product demos, how-it-works videos, onboarding videos, social explainers. Triggers: explainer video, how to make explainer, product video, demo video, video production, video script, animated explainer, product demo video, tutorial video, onboarding video, walkthrough video, video pipeline

NeverSight/learn-skills.dev

Still-to-video conversion guide: model selection, motion prompting, and camera movement. Covers Wan 2.5 i2v, Seedance, Fabric, Grok Video with when to use each. Use for: animating images, creating video from stills, adding motion, product animations. Triggers: image to video, i2v, animate image, still to video, add motion to image, image animation, photo to video, animate still, wan i2v, image2video, bring image to life, animate photo, motion from image

NeverSight/learn-skills.dev

Generate talking head avatar videos with Pruna P-Video-Avatar via inference.sh CLI. Turn a portrait image into a realistic speaking video with built-in TTS. 18x faster and 6x cheaper than competitors. Models: P-Video-Avatar, P-Image (for portrait generation). Capabilities: text-to-avatar, audio-driven avatars, 30 voices, 10 languages, 720p/1080p, built-in TTS, dynamic backgrounds, full-body control. Use for: AI presenters, product demos, explainer videos, virtual influencers, marketing, education, multilingual content, UGC, gaming avatars. Triggers: avatar video, talking head, ai avatar, p-video-avatar, pruna avatar, video avatar, ai presenter, digital human, virtual presenter, lipsync, talking avatar, ai spokesperson, heygen alternative, synthesia alternative, veed alternative, fabric alternative, omnihuman alternative

NeverSight/learn-skills.dev

Generate videos with Pruna P-Video and WAN models via inference.sh CLI. Models: P-Video, WAN-T2V, WAN-I2V. Capabilities: text-to-video, image-to-video, audio support, 720p/1080p, fast inference. Pruna optimizes models for speed without quality loss. Triggers: pruna video, p-video, pruna ai video, fast video generation, optimized video, wan t2v, wan i2v, economic video generation, cheap video generation, pruna text to video, pruna image to video

NeverSight/learn-skills.dev

Render videos from React/Remotion component code via inference.sh. Pass TSX code, get MP4. Supports all Remotion APIs: useCurrentFrame, useVideoConfig, spring, interpolate, AbsoluteFill, Sequence. Configurable resolution, FPS, duration, codec. Use for: programmatic video generation, animated graphics, motion design, data-driven videos, React animations to video. Triggers: remotion, render video from code, tsx to video, react video, programmatic video, remotion render, code to video, animated video, motion graphics code, react animation video

NeverSight/learn-skills.dev

Video ad creation with exact platform-specific specs for TikTok, Instagram, YouTube, Facebook, LinkedIn. Covers dimensions, duration limits, AIDA framework, and caption requirements. Use for: video ads, social media ads, paid media creative, video marketing, ad production. Triggers: video ad, social media ad, tiktok ad, instagram ad, youtube ad, facebook ad, linkedin ad, video creative, ad specs, paid media, video marketing, ad production, reels ad, stories ad, pre roll, bumper ad

NeverSight/learn-skills.dev

Best practices and techniques for writing effective AI video generation prompts. Covers: Veo, Seedance, Wan, Grok, Kling, Runway, Pika, Sora prompting strategies. Learn: shot types, camera movements, lighting, pacing, style keywords, negative prompts. Use for: improving video quality, getting consistent results, professional video prompts. Triggers: video prompt, how to prompt video, veo prompts, video generation tips, better ai video, video prompt engineering, video prompt guide, video prompt template, ai video tips, video prompt best practices, video prompt examples, cinematography prompts

NeverSight/learn-skills.dev

YouTube thumbnail design with specific dimensions, contrast rules, and mobile preview optimization. Covers safe zones, text placement, face expression psychology, and A/B testing. Use for: YouTube thumbnails, video cover images, click-through optimization. Triggers: youtube thumbnail, thumbnail design, video thumbnail, click through rate, ctr optimization, youtube cover, video cover image, thumbnail maker, thumbnail tips, youtube design, video preview image

NeverSight/learn-skills.dev

Landing page conversion optimization with layout rules, hero section design, and CTA psychology. Covers above-the-fold formula, social proof placement, mobile design, and F-pattern reading. Use for: startup landing pages, product pages, SaaS marketing, conversion optimization. Triggers: landing page, hero section, above the fold, conversion optimization, landing page design, cta button, hero image, landing page layout, saas landing page, product page design, conversion rate, landing page best practices

NeverSight/learn-skills.dev

Configure and use the hosted YouTube Data MCP end-to-end with minimal user input. Use when users want the agent to verify Node.js and `npx`, configure MCP server config (Windows/macOS, Cursor/Codex/OpenClaw/OpenCode), request API key at setup time, run post-install capability discovery (`tools/list` and `get_patch_notes`), and then strongly recommend helper skill and Python setup for full local document and spreadsheet workflows.

NeverSight/learn-skills.dev

Creates 120fps GPU-accelerated animations with Motion.dev (Framer Motion successor) for React, Next.js, Svelte, and Astro projects. Use when user requests animation, motion, scroll effects, parallax, hero animations, gestures, drag interactions, spring physics, whileHover effects, whileInView animations, animated UI, micro-interactions, page transitions, or layout animations. Generates production TypeScript/JSX code with accessibility (prefers-reduced-motion) and performance validation (≥60fps). Supports entrance animations, gesture interactions (hover/tap/drag), scroll-based reveals, and layout transitions using spring physics and natural timing. Do NOT use for CSS-only transitions (use native CSS), static sites without JavaScript, Vue animations (use motion-v variant instead), or SVG/Canvas complex animations (GSAP better suited).

NeverSight/learn-skills.dev

Static artifact craft skill for self-contained HTML/CSS/JS documents: docs, sheets, dashboards, explainers, slides, tools, and landing pages. Use when the user asks for a durable, openable, shareable web deliverable they'll keep or hand off — a report, a dashboard, a slide deck, a data table, a page. Local folder first, temporary public link via tunnel (localhost.run), optional durable publish to Surge, GitHub Pages, or Cloudflare. Not for quick look renders, inline snippets, or throwaway scratch. Not for SPA frameworks, backend APIs, database apps, or production product UI.

NeverSight/learn-skills.dev

FFmpeg commands for video/audio conversion, trimming, compression, and processing. Use when user mentions "ffmpeg", "convert video", "compress video", "extract audio", "trim video", "gif from video", "video codec", "transcode", "screen recording", "merge videos", "video to mp4", "reduce file size", or any media processing task.

NeverSight/learn-skills.dev

Vim keybindings, motions, text objects, and operators for efficient text editing. Use when user asks about "vim commands", "vim motions", "text objects", "vim keybindings", "vim cheat sheet", "learn vim", "vim in VS Code", or any Vim editing tasks.

NeverSight/learn-skills.dev

Grok Build ONLY. Turn a 2D character still into smooth animation sprites via image_gen/image_edit base → image_to_video (6s/10s run-in-place) → ffmpeg frames → magenta chroma-key → dense sampled sprites (strip/grid/GIF). Use when the user wants video-to-sprite, motion capture from generated video, smoother run/walk cycles from dense frames, or runs /video2dsprite. Do NOT use on Codex/Claude — only Grok Build has image_to_video. Prefer generate2dsprite for crisp pixel sheets without video.

相關技能