SkillsGrove
SkillsGrove/Kurzvideo & Creator/cjccd/multi-platform-auto-upload/tiktok-upload

tiktok-upload

Installation

$npx skills add https://github.com/cjccd/multi-platform-auto-upload --skill tiktok-upload
$git clone --depth 1 https://github.com/cjccd/multi-platform-auto-upload.git /tmp/multi-platform-auto-upload && mkdir -p ~/.claude/skills && cp -r /tmp/multi-platform-auto-upload/skills/tiktok-upload ~/.claude/skills/tiktok-upload
Bitte installiere diesen Agent Skill für mich: https://github.com/cjccd/multi-platform-auto-upload/tree/4c8b6465c2473aac3cfe064c8c6dfbadd87b2238/skills/tiktok-upload – lies zuerst seine SKILL.md und seine Skripte und installiere ihn erst dann in meinen Skills-Ordner, wenn du bestätigt hast, dass er sicher ist.

Zusammenfassung

Originalbeschreibung · MIT当需要通过 `mpau tiktok` CLI 登录 TikTok Studio、校验 Cookie 或上传视频时使用此 skill。
Die folgende SKILL.md ist aus cjccd/multi-platform-auto-upload (Commit 4c8b646) unter der Lizenz MIT wiedergegeben. Der Text ist unverändert; lediglich die Metadaten im Dateikopf sind weggelassen, Bilder werden als Links angezeigt und sehr lange Dateien werden gekürzt. Copyright 2026 cjccd. Lizenz: LICENSE. Es wird nur die Anleitungsdatei angezeigt; etwaige Skripte finden Sie im Original-Repository.

TikTok 上传 Skill

统一使用项目 CLI 作为唯一执行入口:

mpau tiktok <action> ...

项目路径

所有命令都在项目根目录执行:

cd <PROJECT_ROOT>

初始化

uv sync
python -m playwright install chromium
python -m patchright install chromium

TikTok 和百家号的 legacy uploader 使用 Playwright;其他主线浏览器 uploader 主要使用 Patchright。

命令

登录

TikTok 登录是人工登录模式:命令会打开浏览器,用户在浏览器中完成登录,然后继续被暂停的 Playwright 会话。

uv run mpau tiktok login --account <account_name>

校验 Cookie

uv run mpau tiktok check --account <account_name>

输出 valid 或 invalid。

上传视频

uv run mpau tiktok upload-video \
  --account <account_name> \
  --file <absolute path to video file> \
  --title "Video title" \
  --tags "tag1,tag2" \
  --thumbnail <optional cover image>

定时发布:

uv run mpau tiktok upload-video \
  --account <account_name> \
  --file <absolute path to video file> \
  --title "Video title" \
  --tags "tag1,tag2" \
  --schedule "2026-06-05 18:30"

注意事项

  • 当前 TikTok 仅支持视频上传。
  • uploader 会先把 TikTok Studio 切换到英文界面再上传。
  • --thumbnail 是可选封面参数。
  • Cookie 文件保存在 cookies/tiktok_<account_name>.json。
  • 不要打印、分享或提交 Cookie 文件。
Vollständigen Lizenztext ansehen (MIT)
MIT License

Copyright (c) 2026 cjccd

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.