Communitygithub.com

ComeOnOliver/skillshub

通过 Rube MCP(Composio)自动化 TikTok 任务:上传/发布视频、发布照片、管理内容以及查看用户个人资料和统计数据。始终先搜索工具以获取当前 schema。

skillshub 是什么?

该技能通过 Composio 的 TikTok 工具包,经由 Rube MCP 实现 TikTok 内容创建和账户操作的全面自动化。它支持视频上传与发布、照片发布、内容列表管理、用户个人资料与统计数据查看,以及发布状态轮询等核心工作流。用户需要先确保 Rube MCP 已连接,并通过 `RUBE_MANAGE_CONNECTIONS` 建立 TikTok 的活跃连接。所有操作前必须调用 `RUBE_SEARCH_TOOLS` 获取最新的工具 schema,以确保使用正确的参数和接口。技能文档详细列出了每个工作流的工具调用顺序、关键参数、常见陷阱(如视频上传和发布需分两步进行、隐私级别字符串大小写敏感、内容格式要求、认证和速率限制等),并提供了快速参考表和常见模式(如视频发布流程、分页处理)。该技能适用于 Claude Code、Cursor、Codex 等支持 MCP 的 AI 代理平台。

兼容平台~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 获取当前工具 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

常见陷阱:

  • 状态值包括 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 是字符串;请完全按原样使用

快速参考

任务工具名称关键参数
上传视频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

相关技能