← 返回 Skills 市场
抖音自动发布
作者
XuHongFeii2
· GitHub ↗
· v1.0.0
· MIT-0
121
总下载
1
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install douyin-upload-mul-cookie
功能描述
自动化发布抖音视频。上传到抖音平台。全自动操作。
使用说明 (SKILL.md)
auto-douyin skill
This skill publishes videos to Douyin on the user's machine with Playwright.
Default workflow
Use this order:
- Make sure the target Douyin cookie profile exists and is valid.
- Use the guarded publish entry so the platform can deduct points first.
- 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-nameis optional. If omitted, the scripts stay backward compatible and use the default file.
Required environment variables
CHANJING_PLATFORM_BASE_URL(optional, defaults tohttp://easyclaw.bar/shuzirenapi)CHANJING_PLATFORM_API_TOKEN
or:
CHANJING_PLATFORM_API_KEYCHANJING_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.pyis the normal entry point.publish.pyalso performs platform authorization when called directly, so points are still deducted.- The guarded path controls normal usage and deducts points before publish starts.
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install douyin-upload-mul-cookie - 安装完成后,直接呼叫该 Skill 的名称或使用
/douyin-upload-mul-cookie触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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.
元数据
常见问题
抖音自动发布 是什么?
自动化发布抖音视频。上传到抖音平台。全自动操作。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 121 次。
如何安装 抖音自动发布?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install douyin-upload-mul-cookie」即可一键安装,无需额外配置。
抖音自动发布 是免费的吗?
是的,抖音自动发布 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
抖音自动发布 支持哪些平台?
抖音自动发布 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 抖音自动发布?
由 XuHongFeii2(@xuhongfeii2)开发并维护,当前版本 v1.0.0。
推荐 Skills