Communitygithub.com

Anhvu1107/all-agent-skill

当请求涉及 TikTok 自动化时始终使用此技能:通过 Rube MCP (Composio) 自动完成 TikTok 任务:上传/发布视频、发布照片、管理内容以及查看用户资料/统计信息。

all-agent-skill 是什么?

此技能通过 Composio 的 TikTok 工具包和 Rube MCP 协议,使 AI 智能体能够完成完整的 TikTok 内容管理自动化工作流。它支持上传和发布视频(包括处理状态轮询)、发布照片、列出已发布内容、查看用户资料和统计信息,以及检查发布状态。技能详细说明了每个工作流的工具调用顺序、关键参数、注意事项,并通过快速参考表总结了所有任务对应的工具和参数。适用于 Rube MCP 集成的客户端环境(如 Claude Code、Cursor 等),要求先通过 RUBE_SEARCH_TOOLS 验证工具可用性,并通过 RUBE_MANAGE_CONNECTIONS 建立 TikTok OAuth 连接。

兼容平台~Claude Code~Codex CLI✓Cursor
npx skills add https://github.com/Anhvu1107/all-agent-skill/tree/HEAD/.agent/skills/tiktok-automation

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

通过 Rube MCP 实现 TikTok 自动化

选择性读取规则

起始于:

  • references/senior-master-standard.md
  • references/usage-routing.md
  • references/quality-checklist.md

然后仅加载与用户实际任务匹配的继承文档、脚本、资源或示例。

通过 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. 如果状态为 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.

Anhvu1107/all-agent-skill

ALWAYS use this when the request matches 007: Security audit, hardening, threat modeling (STRIDE/PASTA), Red/Blue Team, OWASP checks, code review, incident response, and infrastructure security for any project.

Anhvu1107/all-agent-skill

ALWAYS use this when the request matches Agentfolio: Skill for discovering and researching autonomous AI agents, tools, and ecosystems using the AgentFolio directory.

Anhvu1107/all-agent-skill

ALWAYS use this when the request matches Animejs Animation: Advanced JavaScript animation library skill for creating complex, high-performance web animations.

Anhvu1107/all-agent-skill

ALWAYS use this when the request matches Astropy: Astropy is the core Python package for astronomy, providing essential functionality for astronomical research and data analysis.

Anhvu1107/all-agent-skill

ALWAYS use this when the request matches Astro: Build content-focused websites with Astro — zero JS by default, islands architecture, multi-framework components, and Markdown/MDX support.

Anhvu1107/all-agent-skill

ALWAYS use this when the request matches Emotional ARC Designer: One sentence - what this skill does and when to invoke it

Anhvu1107/all-agent-skill

ALWAYS use this when the request matches Fixing Motion Performance: Audit and fix animation performance issues including layout thrashing, compositor properties, scroll-linked motion, and blur effects.

Anhvu1107/all-agent-skill

ALWAYS use this when the request matches I18n Localization: Internationalization and localization patterns.

Anhvu1107/all-agent-skill

ALWAYS use this when the request matches Interactive Portfolio: Expert in building portfolios that actually land jobs and clients - not just showing work, but creating memorable experiences.

Anhvu1107/all-agent-skill

ALWAYS use this when the request matches JQ: Expert jq usage for JSON querying, filtering, transformation, and pipeline integration.

Anhvu1107/all-agent-skill

ALWAYS use this when the request matches Landing Page Generator: Generates high-converting Next.js/React landing pages with Tailwind CSS.

Anhvu1107/all-agent-skill

ALWAYS use this when the request matches LEX: Centralized ''Truth Engine'' for cross-jurisdictional legal context (US, EU, CA) and contract scaffolding.

Anhvu1107/all-agent-skill

ALWAYS use this when the request matches Magic Animator: AI-powered animation tool for creating motion in logos, UI, icons, and social media assets.

Anhvu1107/all-agent-skill

ALWAYS use this when the request matches Makepad Animation: CRITICAL: Use for Makepad animation system.

Anhvu1107/all-agent-skill

ALWAYS use this when the request matches Nextjs APP Router Patterns: Comprehensive patterns for Next.js 14+ App Router architecture, Server Components, and modern full-stack React development.

Anhvu1107/all-agent-skill

ALWAYS use this when the user mentions Nextjs Best Practices, asks to build, debug, review, document, automate, test, configure, migrate, or make decisions in this domain, or the task clearly depends on Nextjs Best Practices; scope: Next.js App Router principles. Apply the bundled workflow, references, scripts, Senior Master standard, and Codex strict review gate before final output.

Anhvu1107/all-agent-skill

description: ALWAYS use this when the work is specifically about modern Next.js or React architecture, data flow, rendering strategy, routing, or performance-sensitive frontend behavior.

Anhvu1107/all-agent-skill

ALWAYS use this when the request matches Nextjs Supabase Auth: Expert integration of Supabase Auth with Next.js App Router

Anhvu1107/all-agent-skill

ALWAYS use this when the task involves reading, extracting, splitting, merging, rotating, creating, validating, OCR-ing, form-filling, or otherwise producing or modifying PDF files.

Anhvu1107/all-agent-skill

ALWAYS use this when the request matches React Nextjs Development: React and Next.js 14+ application development with App Router, Server Components, TypeScript, Tailwind CSS, and modern frontend patterns.

相关技能