douyin-engager
自动在抖音搜索指定主题的热门视频,进行评论和关注操作。 支持设置间隔时间、操作次数、自定义评论内容。 触发词:抖音评论、抖音关注、抖音互动、抖音推广、douyin engager
MIT-0 · Free to use, modify, and redistribute. No attribution required.
⭐ 0 · 33 · 0 current installs · 0 all-time installs
MIT-0
Security Scan
OpenClaw
Suspicious
medium confidencePurpose & 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.
What to consider before installing
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.Like a lobster shell, security has layers — review code before you run it.
Current versionv1.0.0
Download ziplatest
License
MIT-0
Free to use, modify, and redistribute. No attribution required.
SKILL.md
Douyin Engager - 抖音自动互动助手
自动在抖音上搜索热门视频、评论、关注作者。
输入判断
- 用户要求"抖音互动/评论/关注":进入互动流程
- 需要用户提供:主题关键词 + 评论内容
互动流程
1. 确认参数
向用户确认:
- 主题:搜索关键词(如"美食"、"旅行"、"科技")
- 评论内容:要发布的评论(可多条随机选,用
|分隔) - 操作次数:要互动多少个视频(默认20)
- 间隔时间:每次操作间隔多少分钟(默认3分钟)
2. 执行互动
用户确认后,运行:
cd ~/.openclaw/workspace/skills/douyin-engager
py scripts/engage.py --keyword "<主题>" --comments "<评论>" [--count 20] [--interval 3]
参数说明:
--keyword:搜索关键词(必须)--comments:评论内容,多条用|分隔(必须)--count:操作次数(默认20)--interval:间隔分钟数(默认3)--test:仅启动浏览器测试,不执行操作
3. 返回结果
完成后返回:
- ✅ 成功互动数量
- 📊 已评论/已关注的视频列表
- ⚠️ 失败原因(如有)
技术实现
使用 Playwright 浏览器自动化:
- 访问抖音网页版:https://www.douyin.com
- 搜索主题 → 筛选热门视频 → 评论 → 关注作者
依赖
pip install playwright
playwright install chromium
登录要求
首次使用需要扫码登录抖音账号。登录状态保存在浏览器配置中。
注意事项
⚠️ 风险提示:
- 频繁操作可能触发抖音风控,建议间隔不要太短
- 评论内容避免敏感词,否则可能被删
- 新账号建议先养号,不要一上来就大量互动
- 建议每天操作不超过50次
示例
用户: 帮我在抖音找"美食"相关的热门视频,评论"太棒了!",关注作者,做20个,间隔3分钟
助手: 好的,确认以下参数:
- 搜索主题:美食
- 评论内容:太棒了!
- 操作次数:20个视频
- 间隔时间:3分钟
确认开始吗?
用户: 确认
助手: 正在启动浏览器,开始互动...(调用脚本执行)
Files
8 totalSelect a file
Select a file to preview.
Comments
Loading comments…
