← Back to Skills Marketplace
viv888-ai

douyin-engager

by Viv888-AI · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
423
Downloads
1
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install douyin-engager
Description
自动在抖音搜索指定主题的热门视频,进行评论和关注操作。 支持设置间隔时间、操作次数、自定义评论内容。 触发词:抖音评论、抖音关注、抖音互动、抖音推广、douyin engager
README (SKILL.md)

Douyin Engager - 抖音自动互动助手

自动在抖音上搜索热门视频、评论、关注作者。

输入判断

  1. 用户要求"抖音互动/评论/关注":进入互动流程
  2. 需要用户提供:主题关键词 + 评论内容

互动流程

1. 确认参数

向用户确认:

  • 主题:搜索关键词(如"美食"、"旅行"、"科技")
  • 评论内容:要发布的评论(可多条随机选,用 | 分隔)
  • 操作次数:要互动多少个视频(默认20)
  • 间隔时间:每次操作间隔多少分钟(默认3分钟)

2. 执行互动

用户确认后,运行:

cd ~/.openclaw/workspace/skills/douyin-engager
py scripts/engage.py --keyword "\x3C主题>" --comments "\x3C评论>" [--count 20] [--interval 3]

参数说明:

  • --keyword:搜索关键词(必须)
  • --comments:评论内容,多条用 | 分隔(必须)
  • --count:操作次数(默认20)
  • --interval:间隔分钟数(默认3)
  • --test:仅启动浏览器测试,不执行操作

3. 返回结果

完成后返回:

  • ✅ 成功互动数量
  • 📊 已评论/已关注的视频列表
  • ⚠️ 失败原因(如有)

技术实现

使用 Playwright 浏览器自动化:

  • 访问抖音网页版:https://www.douyin.com
  • 搜索主题 → 筛选热门视频 → 评论 → 关注作者

依赖

pip install playwright
playwright install chromium

登录要求

首次使用需要扫码登录抖音账号。登录状态保存在浏览器配置中。

注意事项

⚠️ 风险提示

  1. 频繁操作可能触发抖音风控,建议间隔不要太短
  2. 评论内容避免敏感词,否则可能被删
  3. 新账号建议先养号,不要一上来就大量互动
  4. 建议每天操作不超过50次

示例

用户: 帮我在抖音找"美食"相关的热门视频,评论"太棒了!",关注作者,做20个,间隔3分钟

助手: 好的,确认以下参数:

  • 搜索主题:美食
  • 评论内容:太棒了!
  • 操作次数:20个视频
  • 间隔时间:3分钟

确认开始吗?

用户: 确认

助手: 正在启动浏览器,开始互动...(调用脚本执行)

Usage Guidance
This skill appears to do what it claims (automating Douyin comments and follows via Playwright), but consider the following before installing or running it: - Operational risk: Automated commenting/following can trigger Douyin's anti-abuse protections and may violate the platform's terms of service; use with accounts you can afford to lose. The SKILL.md itself warns about rate limits. - Dependencies: You must install Playwright and run 'playwright install chromium' — that will download a large Chromium binary. The package manager/install steps are not declared in the registry metadata, so the agent/platform may not auto-install them. - Local data: The skill stores browser session data and logs under ~/.openclaw/... (and one included script uses a Windows absolute path). Session cookies and logs are stored on disk (engage_log.json and browser_data). If you want to avoid persisting your account, use test mode or an isolated environment. - Cross-platform inconsistency: One file (auto_engage.py) contains Windows-specific hardcoded paths while others use Path.home(), which could cause confusion or accidental writes to unexpected locations. - Safety steps: Run in test mode first (scripts support a --test or interactive mode), review the scripts yourself (they are included), run in an isolated VM/container if possible, and do not use your primary account until you are comfortable with behavior. Given these issues (missing install spec, file-path inconsistencies, and the inherent abuse/ToS risk), proceed cautiously. If you want me to, I can highlight the specific lines that write session/log files, or produce a short checklist to safely test this skill in an isolated environment.
Capability Analysis
Type: OpenClaw Skill Name: douyin-engager Version: 1.0.0 The skill is a social media automation tool designed to search, comment, and follow users on Douyin (TikTok China) using the Playwright browser automation library. The scripts (engage.py, auto_engage.py, sync_engage.py) perform the stated functions transparently, including a manual QR code login step and configurable delays to avoid platform rate-limiting. There is no evidence of data exfiltration, credential theft, or unauthorized remote execution; the use of a persistent browser context is consistent with the need to maintain login sessions locally.
Capability Assessment
Purpose & Capability
Name/description align with the included Python scripts: they use Playwright to search Douyin, post comments, and follow accounts. The files implement exactly the stated functionality.
Instruction Scope
SKILL.md instructs the agent/user to run local Python scripts which will launch a browser, require QR login, and perform automated interactions. The instructions do not read unrelated system files or env vars, but they direct automated account actions that can violate platform policies or be abused. The SKILL.md asks the user to run pip install playwright and playwright install chromium, but the registry metadata did not declare these dependencies.
Install Mechanism
There is no formal install spec in the registry even though the scripts require Playwright (which will download a Chromium binary at install/runtime). The lack of an explicit install entry means dependency installation is manual and the environment may be unprepared. Playwright's Chromium download is expected for browser automation but is a large external binary download — this is noted but not malicious.
Credentials
The skill requests no environment variables or credentials from the registry. It expects the user to QR-login in the browser and stores browser session data and logs under a local .openclaw workspace directory. This local storage of session cookies and logs is proportional to the task but you should be aware that your account session is persisted on disk in the skill's browser_data and engage_log.json.
Persistence & Privilege
always is false and the skill does not request elevated platform privileges. It writes files under the skill's workspace (browser_data, logs) but does not modify other skills or global config.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install douyin-engager
  3. After installation, invoke the skill by name or use /douyin-engager
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release
Metadata
Slug douyin-engager
Version 1.0.0
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 1
Frequently Asked Questions

What is douyin-engager?

自动在抖音搜索指定主题的热门视频,进行评论和关注操作。 支持设置间隔时间、操作次数、自定义评论内容。 触发词:抖音评论、抖音关注、抖音互动、抖音推广、douyin engager. It is an AI Agent Skill for Claude Code / OpenClaw, with 423 downloads so far.

How do I install douyin-engager?

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

Is douyin-engager free?

Yes, douyin-engager is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does douyin-engager support?

douyin-engager is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created douyin-engager?

It is built and maintained by Viv888-AI (@viv888-ai); the current version is v1.0.0.

💬 Comments