← Back to Skills Marketplace
franklu0819-lang

Douyin Video Analyzer

by xiaofei · GitHub ↗ · v3.7.4 · MIT-0
cross-platform ⚠ suspicious
1391
Downloads
1
Stars
10
Active Installs
6
Versions
Install in OpenClaw
/install douyin-video-analyzer
Description
深度拆解抖音视频,自动生成包含数据、结构、视觉、文案的完整分析报告。
README (SKILL.md)

抖音视频深度拆解分析器 (Pro版)

⚠️ 重要提示:数据流向与隐私说明 本技能执行本地媒体处理(FFmpeg/yt-dlp),并会将视频的关键帧与音频片段(分段)上传至 智谱 AI (open.bigmodel.cn) 的 API 接口进行识别与分析。

核心特性

  • 旗舰级视觉分析: 使用 GLM-4.6V 对 20 帧/段进行分段视觉采样。
  • 全量语音转录: 集成 GLM-ASR-2512 对 20 秒/段进行语音分段转录。
  • 高性能后端: 基于 Playwrightyt-dlp 进行内容抓取。

环境要求

  1. 二进制工具: ffmpeg, yt-dlp, node 必须在系统 PATH 中。
  2. 凭据: 需要有效的 ZHIPU_API_KEY 环境变量。

使用

# 输入抖音链接执行拆解
node scripts/analyze.js "https://v.douyin.com/xxxxxx/"

数据安全说明

  • 本地处理: 视频下载与初步抽帧在您的本地环境完成。
  • 外部传输: 仅选定的关键帧(Base64 格式)与音频片段会被发送至智谱 AI 服务器。
  • 临时清理: 每次分析结束后,系统会自动删除 temp/ 目录下的所有临时媒体文件。

作者

Leo & Neo (Startup Partners)

Usage Guidance
This skill appears to do what it says, but note these important considerations before installing or using it: - Privacy/data exfiltration: The skill explicitly uploads selected keyframes (Base64) and audio segments to Zhipu (open.bigmodel.cn). Only give a ZHIPU_API_KEY you trust and avoid sending media you cannot share with that service (sensitive/personal content, copyrighted material, or data covered by legal/contractual restrictions). - Costs and rate limits: Remote API calls (vision + ASR) can incur cost or rate limits. Confirm your ZHIPU account, quotas, and billing implications. - Installation downloads: Running the provided install (npx playwright install --with-deps chromium) and installing npm deps will download large browser binaries and packages — run in an environment with sufficient disk space and bandwidth. - Run in a sandbox: Because this package executes downloads and shell commands (ffmpeg, yt-dlp, child_process usage), test it first in an isolated VM or container if you have any doubt about running code from an unknown source. - Inspect scripts before use: If you want more assurance, open scripts/analyze.js and verify it only orchestrates the listed modules and that no additional remote endpoints are contacted beyond open.bigmodel.cn and the normal scraping/downloading endpoints. - Alternatives: If you need purely local analysis, do not set ZHIPU_API_KEY and modify the code to skip remote analysis (or inspect/implement a local-only path) to avoid uploading media. If you want, I can help locate the exact lines where uploads happen, suggest a minimal local-only change, or produce a checklist of commands to run this in a container safely.
Capability Analysis
Type: OpenClaw Skill Name: douyin-video-analyzer Version: 3.7.4 The skill bundle implements a Douyin video analysis tool that downloads media using yt-dlp/Playwright and sends frames/audio to Zhipu AI (open.bigmodel.cn). It is classified as suspicious due to multiple instances of shell command construction using 'child_process.exec' with external inputs (e.g., video URLs and file paths in lib/video-downloader.js, lib/audio-processor.js, and lib/frame-extractor.js), which creates a high risk of Remote Code Execution (RCE) via shell injection. While these vulnerabilities are critical, the code's behavior appears consistent with its stated purpose, and no evidence of intentional malice or unauthorized data exfiltration was identified.
Capability Assessment
Purpose & Capability
Name/description match implementation: modules for URL resolving, scraping (Playwright), downloading (yt-dlp/HTTP), ffmpeg-based frame/audio extraction, and calls to Zhipu AI. Required binaries (ffmpeg, yt-dlp, node) and the single required env var (ZHIPU_API_KEY) are reasonable and expected for the stated functionality.
Instruction Scope
SKILL.md and the code explicitly state that selected keyframes and audio segments are uploaded to Zhipu (open.bigmodel.cn) for analysis; that behavior is implemented in ai-analyzer.js and audio-processor.js. This is within the declared scope but is a clear privacy/data-flow concern: user media (frames/audio) are transmitted off‑host. There are no instructions or code paths that access unrelated credentials or unexpected system areas.
Install Mechanism
Registry metadata indicated no install spec, but SKILL.md includes an 'install' exec step (npx playwright install --with-deps chromium). Repository contains package.json / package-lock.json (Playwright and other npm deps). The install approach is standard (npx/npm) but will download Playwright browsers (large binaries) and npm packages; there is no opaque remote archive or short URL. Users should expect network downloads during install.
Credentials
Only ZHIPU_API_KEY is required and is directly used to authenticate calls to open.bigmodel.cn for both vision and audio transcription APIs. No other credentials or unrelated env vars are requested. The single secret requested is proportional to the declared third‑party API usage. Reminder: any key you provide grants that service access to submitted media.
Persistence & Privilege
Skill does not request always:true and contains no code that alters other skills or global agent configs. It's a normal user-invocable skill that runs when executed; it cleans up temporary files in temp/ according to the code and SKILL.md.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install douyin-video-analyzer
  3. After installation, invoke the skill by name or use /douyin-video-analyzer
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v3.7.4
Metadata: Fixed registry manifest by including explicit openclaw.requires and install blocks in SKILL.md frontmatter and _meta.json.
v3.7.3
Metadata Sync: Unified version 3.7.3 across all files. Security: Switched to playwright-chromium and reinforced declared dependencies. Governance: Updated author to Leo & Neo.
v3.7.2
v3.7.2: 强制性安全合规更新。明确公示数据流向(上传至 open.bigmodel.cn)以及本地环境依赖(ffmpeg/yt-dlp/Playwright)。
v3.7.1
v3.7.1: 修正清单元数据,明确声明 ffmpeg/yt-dlp 依赖、环境变量 ZHIPU_API_KEY 以及 Playwright 安装步骤。
v3.7.0
v3.7.0: 增加分段 ASR (GLM-ASR-2512) 与分段旗舰视觉分析 (GLM-4.6V),支持长视频深度拆解。
v3.2.1
生产级 v3.2.1 发布:硬编码 50 帧上限,移除 --max-frames 参数,支持 --fps 自定义抽帧,Playwright 绕过抖音反爬,2fps 高频抽帧 + GLM-4.6V 视觉分析
Metadata
Slug douyin-video-analyzer
Version 3.7.4
License MIT-0
All-time Installs 11
Active Installs 10
Total Versions 6
Frequently Asked Questions

What is Douyin Video Analyzer?

深度拆解抖音视频,自动生成包含数据、结构、视觉、文案的完整分析报告。 It is an AI Agent Skill for Claude Code / OpenClaw, with 1391 downloads so far.

How do I install Douyin Video Analyzer?

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

Is Douyin Video Analyzer free?

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

Which platforms does Douyin Video Analyzer support?

Douyin Video Analyzer is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Douyin Video Analyzer?

It is built and maintained by xiaofei (@franklu0819-lang); the current version is v3.7.4.

💬 Comments