← Back to Skills Marketplace
link-1069

douyin-analyse-batch

by link-1069 · GitHub ↗ · v1.0.2 · MIT-0
cross-platform ⚠ suspicious
82
Downloads
0
Stars
0
Active Installs
3
Versions
Install in OpenClaw
/install douyin-analyse-batch
Description
抖音每日自动热榜日报生成与邮件推送。当用户说"抖音日报"、"发送邮件报告"、"自动分析抖音"、"定时推送抖音"或需要"生成抖音视频分析报告"时使用此技能。自动获取热榜 TOP15 → OpenClaw LLM 分析 → Word 文档输出 → 邮件定时发送至指定收件人。本技能包含完整依赖(douyin-video...
README (SKILL.md)

抖音每日热榜日报

全自动抖音视频分析邮件推送系统。每天定时(08:00、16:00)获取抖音热榜 TOP15,对每个视频调用 OpenClaw 内置模型(MiniMax-M2.7)生成结构化分析笔记,输出 Word 文档并邮件推送。

安装即用

本 skill 已包含所有依赖,无需单独安装其他 skills。安装后运行一键部署:

bash /root/.openclaw/workspace/skills/douyin-daily-report/scripts/setup_douyin_daily_report.sh

该脚本自动完成:

  1. 创建 Python 虚拟环境(faster-whisper / yt-dlp / python-docx / requests)
  2. 生成 .env 环境变量文件
  3. 检查 TikHub API Token
  4. 设置 Cron 定时任务(每天 08:00 和 16:00)

环境变量配置

编辑 .env 文件:

[email protected]
SMTP_PASS=QQ邮箱SMTP授权码
SMTP_HOST=smtp.qq.com
SMTP_PORT=587
DOUYIN_EMAIL_RECIPIENTS=
DOUYIN_DIGEST_LIMIT=15

TikHub Token 写入 ~/.openclaw/config.json

{"tikhub_api_token": "tk_live_xxxxxxxx"}

手动运行

# 发送邮件
bash /root/.openclaw/workspace/skills/douyin-daily-report/scripts/cron_daily_digest_wrapper.sh

# 指定条数,不发邮件(测试用)
SMTP_USER=xxx SMTP_PASS=xxx DOUYIN_EMAIL_RECIPIENTS=xxx \
/usr/bin/python3 /root/.openclaw/workspace/skills/douyin-daily-report/scripts/run_daily_digest.py \
    --limit 15 --skip-transcribe --no-email

完整链路

TikHub 热榜 API
    ↓ fetch_hot_total_video_list
OpenClaw LLM(MiniMax-M2.7)
    ↓ title + tags → 分析笔记
MD 文件写入
    ↓
md_to_docx.py(python-docx)
    ↓
EmailMessage(RFC 5987 编码)
    ↓ SMTP → QQ 邮箱
只发 .docx 附件

输出内容

每条视频:播放量、点赞量、作者、链接、LLM 分析笔记(钩子、核心主张、论据支撑、批判性分析)

故障排查

  • 邮件显示 .bin:已修复,使用 EmailMessage RFC 5987 编码
  • LLM 分析失败:确认 OpenClaw Gateway 运行中
  • TikHub 失败:确认 ~/.openclaw/config.jsontikhub_api_token 正确
  • 日报少于15条:TikHub 免费热榜每日返回数据量不固定

文件结构

douyin-daily-report/
├── SKILL.md
├── .env                              ← 环境变量(setup 脚本生成)
├── scripts/
│   ├── setup_douyin_daily_report.sh  ← 一键安装(含 venv + Cron)
│   ├── cron_daily_digest_wrapper.sh  ← Cron 入口
│   ├── run_daily_digest.py           ← 核心流水线
│   └── helpers/
│       ├── send_email.py              ← 邮件发送
│       └── md_to_docx.py             ← MD→Word
└── dependencies/                      ← 完整依赖 skills
    ├── douyin-video-analysis/
    ├── douyin-hot-trend/
    └── douyin-mcp-server/

卸载

# 删除 Cron
crontab -l | grep -v "douyin_daily_digest" | crontab -

# 删除虚拟环境和输出
rm -rf /tmp/douyin_transcribe
rm -rf ~/Documents/douyin_analysis

# 删除 skill 目录
rm -rf /root/.openclaw/workspace/skills/douyin-daily-report
Usage Guidance
Key things to consider before installing: (1) This skill will ask you to provide and store multiple sensitive credentials (email SMTP credentials, TikHub token, and transcription API keys) but the registry metadata does not declare them — treat that as a red flag. (2) The provided setup script will create a Python venv, pip-install packages, write a .env, add cron jobs and may write to ~/.openclaw/config.json; review the setup script line-by-line before running, and do not run it as root on a production machine. (3) The bundle includes a web/MCP server and video downloader/transcriber code that will make outbound network requests (TikHub, siliconflow/dashscope and Douyin), so run it in an isolated environment or sandbox (container or VM) and restrict network access if possible. (4) Use a throwaway/dedicated email account and API keys with minimal permissions and revoke them after testing. (5) If you plan to proceed, verify the exact locations where credentials are stored, find-and-review any hardcoded IDs/hosts (e.g., chat_id in cron-job.js), and remove or disable any cron/web-server steps you don't want. (6) If the author cannot or will not update the registry metadata to declare required env vars/config paths and provide an explicit install spec, treat the package as untrusted.
Capability Analysis
Type: OpenClaw Skill Name: douyin-analyse-batch Version: 1.0.2 The skill bundle contains multiple hardcoded recipient identifiers, including QQ email addresses ([email protected], [email protected]) and a Telegram Chat ID (8428610733), which serve as default endpoints for sending analysis reports in 'cron_daily_digest_wrapper.sh', 'setup_douyin_daily_report.sh', and 'cron-job.js'. While the tool performs its stated function of Douyin video analysis, these defaults would cause generated reports to be sent to the author's accounts if the user does not manually override the environment variables. Furthermore, the 'setup_douyin_daily_report.sh' script performs high-risk actions such as modifying the system crontab and installing external dependencies, which, combined with the hardcoded data redirection, poses a significant privacy risk.
Capability Tags
crypto
Capability Assessment
Purpose & Capability
The code and dependencies (hot-trend fetcher, video downloader, transcription/MCP server, analysis pipeline, email sender) are consistent with producing an automated Douyin daily report. However the registry metadata claims no required env vars/configs, yet the skill clearly needs SMTP credentials, a TikHub token, and third-party transcription API keys — a mismatch between declared requirements and actual capabilities.
Instruction Scope
SKILL.md instructs the agent to create .env, write/read ~/.openclaw/config.json (TikHub token), run a root-path setup script (/root/.openclaw/...), and install cron jobs. The runtime instructions reference local file paths and config files that were not declared in the skill metadata and grant the skill broad discretion to create scheduled tasks and write to platform config — more scope than the registry claims.
Install Mechanism
There is no formal install spec in the registry (the skill is treated as instruction-only) but the package contains many scripts (setup_douyin_daily_report.sh, run_daily_digest.py, MCP server code) that will create virtualenvs, pip-install dependencies, and configure cron. The bundled code itself is local (no suspicious arbitrary download URLs), but running the included setup script will perform system changes; lack of an explicit registry install step is misleading.
Credentials
Registry shows 'no required env vars' yet SKILL.md and code require/expect: SMTP_USER/SMTP_PASS/SMTP_HOST/SMTP_PORT (email sending), DOUYIN_EMAIL_RECIPIENTS, TikHub token stored in ~/.openclaw/config.json, and various transcription API keys (API_KEY / DOUYIN_API_KEY / dashscope/siliconflow keys). Those are sensitive credentials unrelated to the registry declaration and are proportionally significant for a 'report' skill.
Persistence & Privilege
The setup script configures cron jobs (scheduled execution at 08:00 and 16:00) and SKILL.md instructs writing tokens into ~/.openclaw/config.json — both are persistent changes outside the skill directory. The codebase also includes an MCP server and WebUI components which could run as a local service. While always:false, the skill requests persistent scheduling and config writes without declaring that level of privilege.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install douyin-analyse-batch
  3. After installation, invoke the skill by name or use /douyin-analyse-batch
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.2
- Updated the default value of the DOUYIN_EMAIL_RECIPIENTS environment variable to be empty in documentation. - No other user-facing or functional changes detected in this version.
v1.0.1
- No file changes detected in this version. - No visible updates or modifications from the previous release.
v1.0.0
- Initial release of douyin-daily-report skill. - Automatically generates and emails a daily Douyin trending video report (Word document) twice daily (08:00, 16:00). - Full pipeline: fetches Douyin Top15 from TikHub → OpenClaw LLM analysis → Word export → email with .docx attachment. - Includes all dependencies; setup script simplifies installation and cron scheduling. - Supports custom email recipients and analysis count via environment variables. - Provides troubleshooting steps and clear file structure for easy management.
Metadata
Slug douyin-analyse-batch
Version 1.0.2
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 3
Frequently Asked Questions

What is douyin-analyse-batch?

抖音每日自动热榜日报生成与邮件推送。当用户说"抖音日报"、"发送邮件报告"、"自动分析抖音"、"定时推送抖音"或需要"生成抖音视频分析报告"时使用此技能。自动获取热榜 TOP15 → OpenClaw LLM 分析 → Word 文档输出 → 邮件定时发送至指定收件人。本技能包含完整依赖(douyin-video... It is an AI Agent Skill for Claude Code / OpenClaw, with 82 downloads so far.

How do I install douyin-analyse-batch?

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

Is douyin-analyse-batch free?

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

Which platforms does douyin-analyse-batch support?

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

Who created douyin-analyse-batch?

It is built and maintained by link-1069 (@link-1069); the current version is v1.0.2.

💬 Comments