← Back to Skills Marketplace
xuhongfeii2

抖音自动发布

by XuHongFeii2 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
121
Downloads
1
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install douyin-upload-mul-cookie
Description
自动化发布抖音视频。上传到抖音平台。全自动操作。
README (SKILL.md)

auto-douyin skill

This skill publishes videos to Douyin on the user's machine with Playwright.

Default workflow

Use this order:

  1. Make sure the target Douyin cookie profile exists and is valid.
  2. Use the guarded publish entry so the platform can deduct points first.
  3. Let the local script finish on the user's machine.

Commands

Capture the default cookie:

python skills/auto-douyin/scripts/get_cookie.py

Capture a named cookie profile:

python skills/auto-douyin/scripts/get_cookie.py --cookie-name account_a

Validate a cookie profile:

python skills/auto-douyin/scripts/check_cookie.py --cookie-name account_a

Publish through the controlled path with a specific cookie profile:

python skills/auto-douyin/scripts/publish_guarded.py \
  --video "D:\\videos\\demo.mp4" \
  --title "Douyin title" \
  --tags "tag1,tag2" \
  --cover "D:\\videos\\cover.png" \
  --cookie-name account_a

Optional scheduled publish:

python skills/auto-douyin/scripts/publish_guarded.py \
  --video "D:\\videos\\demo.mp4" \
  --title "Douyin title" \
  --schedule "2026-03-20 18:30" \
  --cookie-name account_a

Cookie storage

  • Default cookie file: cookies/douyin.json
  • Named cookie file: cookies/douyin-\x3Ccookie-name>.json
  • --cookie-name is optional. If omitted, the scripts stay backward compatible and use the default file.

Required environment variables

  • CHANJING_PLATFORM_BASE_URL (optional, defaults to http://easyclaw.bar/shuzirenapi)
  • CHANJING_PLATFORM_API_TOKEN

or:

  • CHANJING_PLATFORM_API_KEY
  • CHANJING_PLATFORM_API_SECRET

If the key is missing or invalid, direct the user to http://easyclaw.bar/shuziren/user to generate a valid platform key.

Notes

  • publish_guarded.py is the normal entry point.
  • publish.py also performs platform authorization when called directly, so points are still deducted.
  • The guarded path controls normal usage and deducts points before publish starts.
Usage Guidance
This skill runs browser automation locally to publish to Douyin, which is coherent with its name. However: (1) it calls an external platform API (default: http://easyclaw.bar/shuzirenapi) to authorize publishes and report results — you will need to provide CHANJING_PLATFORM_* credentials to use the guarded publish path; verify the domain and trustworthiness before doing so; (2) the registry metadata did not declare these env variables even though SKILL.md and the code require them — treat that mismatch as a red flag; (3) the platform sees metadata about publishes (title, file names, tags, schedule) but the code does not appear to upload video bytes to the platform itself — the video upload happens via Playwright to Douyin; (4) to reduce risk you can: run the scripts offline or in a sandbox, review/modify platform_client.py to point to a safe URL (or stub it out) if you don't want external calls, inspect the code yourself, and avoid supplying real platform credentials unless you trust easyclaw.bar; (5) ensure Playwright and its browsers are installed from official sources before running. If you need higher assurance about the external platform, contact the skill author for provenance or prefer a version that does not call the external API.
Capability Analysis
Type: OpenClaw Skill Name: douyin-upload-mul-cookie Version: 1.0.0 The skill automates Douyin video uploads but enforces a mandatory 'points deduction' and 'authorization' flow via a remote API (easyclaw.bar). While it stores sensitive Douyin session cookies locally in the 'cookies/' directory and does not appear to exfiltrate them, it sends metadata (titles, filenames) and platform API keys/secrets to an external server over unencrypted HTTP (platform_client.py). This mandatory phone-home behavior and DRM-like restriction on local execution, combined with the use of an insecure communication channel for API credentials, poses a privacy and security risk.
Capability Assessment
Purpose & Capability
The code and SKILL.md implement local Playwright automation for Douyin (cookie capture, validation, and automated upload), which matches the skill name and description. However, the code also integrates with a separate 'CHANJING' platform (authorization, point deduction, and reporting). That external monetization/authorization dependency is plausible for a paid/pointed workflow but is not declared in the registry metadata (the registry 'Requirements' listed no required env vars while SKILL.md and platform_client expect CHANJING_* credentials). The presence of that undeclared external dependency is an inconsistency.
Instruction Scope
Runtime instructions direct local browser automation (Playwright) and local cookie storage — expected. But the guarded publish flow first calls an external API (default base URL http://easyclaw.bar/shuzirenapi) to authorize publishes, deduct points, and then the script reports results back to that platform. The SKILL.md explicitly directs users to visit that external site to obtain keys. Contacting an unrelated third-party server and sending publish metadata (title, video/cover file names, tags, schedule) is out-of-band relative to pure Douyin automation and should be considered potentially sensitive behavior.
Install Mechanism
There is no install spec — this is an instruction-plus-scripts bundle. That keeps risk lower than remote-install artifacts. The code expects Playwright and browsers to be installed locally (explicit checks exist). No downloads or external install scripts are embedded in the skill.
Credentials
The scripts require CHANJING_PLATFORM_API_TOKEN or CHANJING_PLATFORM_API_KEY + CHANJING_PLATFORM_API_SECRET (and optionally CHANJING_PLATFORM_BASE_URL). Those are proportional to the included platform authorization/point-deduction feature. However, the registry metadata did not list these required env vars (inconsistency). Also the default base URL (easyclaw.bar) is a third-party domain; you should verify and trust that endpoint before supplying credentials.
Persistence & Privilege
The skill is not always-enabled and is user-invocable; it does not request elevated agent privileges or modify other skills. It writes cookie and log files to local directories (cookies/ and logs/), which is expected for this functionality.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install douyin-upload-mul-cookie
  3. After installation, invoke the skill by name or use /douyin-upload-mul-cookie
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
抖音自动发布 1.0.0 - Initial release: Automates publishing videos to Douyin using Playwright and cookie profiles. - Supports management, validation, and selection of multiple Douyin cookie profiles. - Adds guarded and direct publishing scripts for point deduction and authorization. - Allows scheduled publishing and custom video metadata (title, tags, cover). - Provides clear setup steps and environment variable requirements for platform integration.
Metadata
Slug douyin-upload-mul-cookie
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is 抖音自动发布?

自动化发布抖音视频。上传到抖音平台。全自动操作。 It is an AI Agent Skill for Claude Code / OpenClaw, with 121 downloads so far.

How do I install 抖音自动发布?

Run "/install douyin-upload-mul-cookie" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is 抖音自动发布 free?

Yes, 抖音自动发布 is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does 抖音自动发布 support?

抖音自动发布 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created 抖音自动发布?

It is built and maintained by XuHongFeii2 (@xuhongfeii2); the current version is v1.0.0.

💬 Comments