微算力 · API 导航与自营网关
API 接入 EN
未登录登录
📱

零代码 TikTok 自动化发布专家

TikTok Publisher · v1.1.18
这个包缺安装入口,装上也不会生效 缺 SKILL.md 或 frontmatter 不完整(BAD_NAME)。我们仍保留下载,方便你自行查看内容。
效率 安全 B 级 作者 clawbus 公开目录收录
1.1k 下载 1 安装 2.3k 收藏 17 浏览

简介

通过 MyBrandMetrics API 实现 TikTok 视频发布、调度和状态查询,无需自建开发者应用,简化 OAuth 流程。

原始描述

Post to TikTok, upload TikTok videos, and publish TikTok video content through the MyBrandMetrics API. Use for TikTok posting, uploading TikTok videos, publi...

通过你的 Agent 添加

安装目录:tiktok-publisher/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/tiktok-publisher/
Codex CLI~/.codex/skills/tiktok-publisher/
DeepSeek Harness~/.agents/skills/tiktok-publisher/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

中文使用说明 来自收录源

核心用法

TikTok Publisher 是一款面向内容创作者和营销团队的自动化发布工具,通过 MyBrandMetrics 中间层 API 封装 TikTok 官方接口,实现视频上传、发布、状态监控和定时任务管理。

主要功能模块:

  1. 即时发布:支持本地视频文件(multipart 上传)和远程 HTTPS 视频 URL 两种来源,可设置标题、隐私级别(SELF_ONLY/PUBLIC)
  2. 状态轮询:通过 publish_id 实时查询发布进度,支持自定义轮询间隔和超时时间
  3. 定时任务:基于 Google Sheets 数据创建一次性定时发布任务,适合批量内容排期
  4. 对话式交互:安装后支持自然语言指令直接触发发布流程

使用流程:用户需在 MyBrandMetrics 平台用 Google 账号登录 → 连接 TikTok 数据源完成授权 → 获取 API Key 配置到本地 config.json → 即可通过 CLI 或对话方式调用。

显著优点

  • 零开发者账户成本:无需申请 TikTok Developer App,规避 client ID/secret 管理和 token 刷新逻辑
  • 简化认证链:单点 Google OAuth 替代复杂的 TikTok OAuth 2.0 流程,降低接入门槛
  • 灵活部署:支持纯远程 URL 场景(无需本地存储),也支持本地大文件直传
  • 自动化就绪:内置轮询机制和错误重试,适合 CI/CD 内容管道集成
  • 批量调度能力:Google Sheets 驱动的一次性任务,满足营销日历批量排期需求

潜在局限

  • 中间层依赖:核心功能绑定 MyBrandMetrics 服务可用性,存在供应商锁定风险
  • 功能边界:当前仅支持视频发布,TikTok 原生草稿箱、合拍、直播等功能未覆盖
  • 图片轮播限制:需手动处理 1080x1920 尺寸规范,大尺寸生成图可能触发审核失败
  • 定时任务一次性:不支持周期性循环任务,需人工维护 Sheets 数据
  • 地域合规:MyBrandMetrics 服务的数据驻留和 TikTok 区域策略可能影响跨国内容发布

适合人群

  • 中小品牌社媒运营团队:需快速上线 TikTok 内容管道,无专职 API 开发资源
  • 内容自动化从业者:希望将 TikTok 发布集成到现有工作流(如 RSS→视频→发布)
  • 多账号管理者:通过单一 MyBrandMetrics 面板切换不同 TikTok 数据源
  • 测试/预演场景:利用 SELF_ONLY 隐私级别进行内容预审核

常规风险

风险类别 具体表现 缓释建议
认证安全 API Key 以明文存储于本地 config.json 限制文件权限 600,避免提交至版本控制
中间人攻击 远程 URL 下载环节缺乏完整性校验 优先使用 HTTPS + 可信 CDN,验证文件哈希
内容合规 自动化发布可能绕过人工审核,触发平台处罚 强制 SELF_ONLY 预发布流程,建立人工抽检机制
数据隐私 Google Sheets 共享范围过宽导致内容泄露 严格限定 Sheets 访问权限至服务账号,定期审计共享列表
服务中断 MyBrandMetrics API 变更或下线导致功能失效 关注官方变更日志,保留原生 TikTok API 降级方案

技术备注

CLI 工具基于 Python 3 实现,核心入口为 scripts/publish_tiktok.py 和 scripts/check_status.py。错误码映射已覆盖常见 TikTok 审核失败场景(时长、尺寸、参数格式),便于快速定位问题。

技能正文


name: TikTok Publisher description: > Post to TikTok, upload TikTok videos, and publish TikTok video content through the MyBrandMetrics API. Use for TikTok posting, uploading TikTok videos, publishing TikTok videos, scheduling TikTok posts, or checking TikTok publishing status. Supports local video files, remote video URLs, post titles, privacy levels, publish status checks, chat-based posting, and one-time scheduled posting tasks from a Google Sheet.

TikTok Publisher

Post to TikTok, upload TikTok videos, and publish TikTok video content through the MyBrandMetrics API from a local file or a remote video URL.

Use this skill to post to TikTok, upload TikTok videos, publish TikTok videos, schedule TikTok posts, check TikTok publishing status, or create a one-time scheduled TikTok posting task.

Website: https://www.clawbus.com/
MyBrandMetrics API: https://mybrandmetrics.com/

Why This Is Better

This flow is simpler than a typical TikTok API or developer-app setup:

  • Sign in to MyBrandMetrics with Google instead of creating a TikTok developer app.
  • No TikTok client ID, client secret, redirect URI, or callback server to manage.
  • No manual token storage or refresh flow to build yourself.
  • No separate publish backend to run just to queue uploads and check status.
  • MyBrandMetrics handles the connection layer, while this skill focuses on publishing, polling, and status checks.

Core Capabilities

Capability Details
Remote URL publishing Submit a direct https:// video URL to TikTok through MyBrandMetrics.
Local file publishing Upload a local video file with multipart form data.
Post metadata Set the TikTok post title and privacy level.
Chat-based posting Use natural-language prompts in chat after the skill is installed.
One-time scheduled tasks Create a scheduled publishing task from a Google Sheet containing title, date, time, and video URL rows.

Setup Flow

  1. Open https://mybrandmetrics.com/ and sign in with Google.

  2. In MyBrandMetrics, open Data sources.

  3. Choose connect tiktok feed.

  4. Complete the TikTok authorization flow if prompted.

  5. Get the MyBrandMetrics API key.

  6. Add the API key to /root/.openclaw/workspace/config.json:

    {
      "tiktok": {
        "api_key": "YOUR_API_KEY"
      }
    }
    
  7. Install the tiktok-publish skill.

  8. Start publishing or checking TikTok publish status with this skill.

Positioning Notes

  • Use this skill when the user wants TikTok publishing without building their own TikTok developer integration.
  • Keep the message simple: one Google-based sign-in to MyBrandMetrics, one connected TikTok feed, and the publish workflow is ready.
  • This is a publishing workflow, not a generic MCP or developer console setup.

Workflow

Use this workflow to post to TikTok, upload a TikTok video, publish a TikTok video, schedule TikTok posts, or check a TikTok publishing job.

  1. Confirm the publishing goal. Choose whether to publish from a remote video URL, upload a local video file, check an existing publish job, or prepare a scheduled posting workflow.

  2. Confirm the TikTok setup. Sign in to MyBrandMetrics with Google, connect TikTok as a data source, and get a MyBrandMetrics API key.

  3. Prepare credentials. Add the MyBrandMetrics API key to the workspace config:

    {
      "tiktok": {
        "api_key": "YOUR_API_KEY"
      }
    }
    
  4. Collect post details. Prepare the TikTok video source, post title, privacy level, and publishing preference.

    Useful defaults:

    • choose SELF_ONLY for test posts;
    • choose PUBLIC when the post is ready to go live;
    • use a concise title or caption;
    • use a remote video URL or local video file that is ready to publish.
  5. Publish the TikTok video. Use the skill to publish from a remote URL or local file. The workflow can also wait for the publishing job to finish when needed.

  6. Check publish status. If a publish identifier is returned, use it to check the TikTok publish status later. After the job succeeds, confirm the result in the connected TikTok account.

Drafts, Carousels, And Scheduling

The current script supports video publishing from a remote URL or local file.

Known workflow notes:

  • Draft-style flows may appear as a TikTok notification that the video is ready to edit, rather than as a normal profile draft.
  • Image carousel publishing may require phone-friendly image dimensions such as 1080x1920. Oversized generated images can fail TikTok image checks.
  • Scheduled posting should be treated as an automation workflow: confirm the sheet columns, publish date, publish time, video URL, title, privacy level, and account before creating the task.

Common Errors

Error Likely cause Fix
401 invalid token format API key was sent in the wrong auth format or the key is invalid. Use the MyBrandMetrics API key configuration supported by this skill. Do not use a bearer-token format.
picture_size_check_failed Image dimensions do not meet TikTok requirements. Resize images to a phone-friendly format such as 1080x1920 and retry.
duration_check Video is too short. Use a video that is at least 3 seconds long.
invalid_params Title, caption, media, or request parameters are invalid. Simplify the title, reduce hashtags, and recheck the source URL or local path.

The chat request should include:

  • the video URL or file reference;
  • the caption or title;
  • whether the post should be a test or public post;
  • whether to wait for publish completion.

After the posting flow finishes, check the response and confirm the TikTok upload succeeded.

Use The Scripts Directly

Use scripts/publish_tiktok.py.

Remote URL:

python3 scripts/publish_tiktok.py \
  --source "https://example.com/video.mp4" \
  --title "My TikTok Title" \
  --privacy-level "SELF_ONLY"

Local file:

python3 scripts/publish_tiktok.py \
  --source "/path/to/video.mp4" \
  --title "Launch clip" \
  --privacy-level "PUBLIC" \
  --wait-for-published

With explicit polling controls:

python3 scripts/publish_tiktok.py \
  --source "https://example.com/video.mp4" \
  --title "Campaign preview" \
  --privacy-level "SELF_ONLY" \
  --wait-for-published \
  --poll-interval 5000 \
  --poll-timeout 300000

Check Publish Status

Use scripts/check_status.py when you already have a publish_id.

python3 scripts/check_status.py --publish-id "PUBLISH_ID"

One-Time Scheduled Posting

ClawBus can also create a one-time scheduled TikTok posting task.

Prepare:

  • videos or images uploaded to Google Drive or another reachable location;
  • a Google Sheet with post title, publish date, publish time, and video URL;
  • sharing access granted only to the trusted account or service that needs to read the table.

Example request:

Please help me create a one-time scheduled task. The task involves publishing videos or images to a TikTok account using the tiktok-publish skill, based on the title, date, time, and video URL data found in this table: GOOGLE_SHEET_URL

Before scheduling, review every row in the sheet and confirm the account, publish time, title, and video URL. When the publishing task reports success, open TikTok and confirm the post is live.

Parameters

Parameter Required Purpose
--source Yes Direct video URL or local video file path.
--title Yes TikTok post title.
--privacy-level No SELF_ONLY by default; use PUBLIC only when ready to post live.
--wait-for-published No Poll until the publish job completes.
--poll-interval No Polling interval in milliseconds.
--poll-timeout No Polling timeout in milliseconds.
--config No Path to workspace config.json.

Before publishing, confirm the TikTok account, video source, title or caption, and privacy setting. For test posts, use SELF_ONLY first.

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

tiktoksocial-media-automationvideo-publishingcontent-schedulingapi-integrationmybrandmetricsgoogle-sheetsbatch-processing

同类 Skill