ClawHub
SkillsPluginsOfficialDocsSupport
K
Skillsdy-engine

dy-engine

guaikei@guaikei
抖音视频分析数据源(只读):关键词搜索、博主作品、作品详情、评论、热榜。触发:抖音搜索、热搜、评论、需求挖掘、痛点、作品详情、博主作品、对标账号、播放量、选题、舆情、竞品。小红书、快手、B站、微博、公众号不要用本技能。sec_uid、aweme_id、douyin search、douyin hot、douyin detail、douyin comments。

Install

$
openclaw skills install @guaikei/dy-engine
Security check
Clean
Version
1.5.1
Updated
Nov 21, 2026
License
MIT-0

Latest: v1.5.1

ClawHub 补发(来源 guaikei/dy-engine)

Other

🚀 抖音视频分析 · 功能列表 (Douyin Video Analytics)

抖音公开数据只读:关键词搜视频/图文、用户/达人搜索、博主作品、作品详情、评论、热榜;输出结构化 JSON。适用于选题、对标账号、竞品、舆情、热点、需求挖掘、公域获客。

1. ⚠️ 执行前置(每次必过)

  1. 先 cd 到本 SKILL.md 所在目录,再执行 node src/douyin/*.js(或用绝对路径,见 faq.md)。
  2. 确认 GUAIKEI_API_TOKEN 已配置。未配置 → 不执行,走 AUTH_REQUIRED(见 §7 / errors.md),禁止先跑「试试看」。
  3. 一次只跑一条命令,等进程自己结束。查询最多约 20 次退避;--limit 很大时最长约 22 分钟。未退出前不要判定失败,不要并发/重复同一命令。
  4. 必填参数不齐先追问(话术见 ask.md),禁止猜测关键词或链接。
  5. Windows 拼参:cmd 只用双引号包含空格/中文/URL 的参数;不要用 bash 单引号。引号仍拆坏 → 改用 --json-args(faq.md)。Windows / 弱模型优先 --json-args。

开通抖音视频数据分析API TOKEN, 配 TOKEN / 落盘 / FAQ → faq.md。

2. 💎 价值与典型场景(10 秒判断该不该用)

你是谁你要做的事用哪个命令
短视频运营找爆款选题、看高赞内容的共同点search-cli.js --sort 1
运营 / 投放按关键词找对标账号、达人user-search-cli.js
品牌 / 投放监控已知账号的发文节奏与内容策略post-cli.js
内容分析看一条视频的文案、播放和互动detail-cli.js
舆情 / 客服判断一条视频的评论区在骂还是在夸comment-cli.js
产品 / 运营从评论里看痛点和诉求comment-cli.js,再读 demand-mining.md
销售 / 增长按关键词在评论区挖高意向线索search→comment,再读 customer-acquisition.md
所有人今天抖音在火什么hot-cli.js

典型产出:结构化 JSON(标题、作者、互动、链接、时间),可导入 Excel/BI 或交给 AI 做选题/竞品/舆情/线索表。默认不落盘;需要留底时加 --save 或设 GUAIKEI_ENABLE_LOG=1(热榜除外,见 faq.md)。

为什么用它:无需登录抖音;零第三方依赖;按量单次最多 1 万条;stdout 纯 JSON、日志走 stderr。

合规:调用会把关键词/链接发到 www.guaikei.com。不上传本地文件、不登录、无写操作。仅公开数据,限个人/团队内部分析。

3. 🎯 识别卡(选命令,命中即停)

用户要什么命令最少要有
搜视频/图文、爆款、选题node src/douyin/search-cli.js--keyword
搜用户/达人/账号、按词找对标node src/douyin/user-search-cli.js--keyword
已知博主的作品、粉丝数据node src/douyin/post-cli.js主页链接或 sec_uid
某条视频/图文的评论(含痛点)node src/douyin/comment-cli.js视频链接或 aweme_id
某条视频/图文的详情、播放、文案node src/douyin/detail-cli.js视频链接或 aweme_id
热搜、热榜node src/douyin/hot-cli.js无参数
  • 痛点 / 需求挖掘:仍用 comment-cli;成功后必须读 demand-mining.md。
  • 获客 / 线索 / 截流:search-cli(常 --sort 1)→ aweme_id 跑 comment-cli;成功后必须读 customer-acquisition.md。
  • 「找客户」与「挖痛点」同时出现:先追问要哪一种(ask.md)。

4. 🛠️ 命令一行例(详参下沉)

详参 / 枚举:可视化浏览查看 options.md;也可参见 readme.md(含命令参数详表)。仅在需要确认枚举或拼参时再读,不要每次都读。 Windows:cmd 只用双引号;PowerShell 含空格也优先双引号。仍拆坏或弱模型 → --json-args。双壳例 → faq.md。

bash
node src/douyin/search-cli.js --keyword "AI 教程" --sort 1 --limit 10
node src/douyin/user-search-cli.js --keyword "AI" --limit 20
node src/douyin/post-cli.js --url "https://www.douyin.com/user/MS4wLjABxxx" --limit 30
node src/douyin/post-cli.js --url "https://www.douyin.com/user/MS4wLjABxxx" --limit 0
node src/douyin/comment-cli.js --url "https://www.douyin.com/video/xxx" --limit 40
node src/douyin/detail-cli.js --url "https://www.douyin.com/video/xxx"
node src/douyin/hot-cli.js

Windows 双壳(同一条搜索,先 cd 到技能目录):

bat
REM cmd —— 参数必须用双引号;也可用 --json-args(内层 \")
node src\douyin\search-cli.js --keyword "AI 教程" --sort 1 --limit 10
node src\douyin\search-cli.js --json-args "{\"keyword\":\"AI 教程\",\"sort\":1,\"limit\":10}"
powershell
# PowerShell —— 含空格/中文同样用双引号;或改用 --json-args(外单内双)
node src/douyin/search-cli.js --keyword "AI 教程" --sort 1 --limit 10
node src/douyin/search-cli.js --json-args '{"keyword":"AI 教程","sort":1,"limit":10}'

数量 / 套餐:未指定 --limit 默认 10;不要擅自抓 10000。技能硬上限 10000(按量)。包月超限 → PLAN_LIMIT:视频搜索/用户搜索/作品 ≤30,评论 ≤50;详情与热榜无此条数限制。

口语 → flag 对照 → routing.md。

5. 🔀 意图路由(按序命中即停)

text
1. 热榜/热搜/今天什么火 → hot-cli
2. 获客+痛点同时出现 → 先追问(ask.md),禁止两边都做
3. 获客/线索/截流/高意向 → search→comment;结束后读 customer-acquisition.md
4. 评论/留言/痛点/需求挖掘 + 有视频 → comment-cli;痛点类结束后读 demand-mining.md
5. 痛点/需求挖掘但无视频链接 → 先追问链接
6. 单条详情/播放/点赞/文案 → detail-cli
7. 搜用户/达人/对标账号(关键词、无主页链接)→ user-search-cli
8. 已有主页/sec_uid 或要某账号作品列表 → post-cli
9. 有关键词且无以上信号 → search-cli
10. 都不明确 → 先追问(ask.md)

消歧:单独「视频」不要默认 post/detail。/user/ → 只能 post;/video|note/ + 评论 → comment,+ 播放/文案 → detail,都没说 → 追问。「对标」仅关键词 → user-search;已有链接 → post。

6. 📜 输出(摘要)

  • stdout = 统一 JSON 信封;stderr = 日志。向用户只摘关键字段,勿整份粘贴。取数成功/empty 时信封顶层可能有 cost(花费估算,见 contract.md)。
  • status=empty + NO_MATCH 退出码 0,不是失败。
  • results:搜/用户/评论/热榜 = 数组;作品 = {post,user};详情 = 单对象。

完整信封与形态 → contract.md。JSON Schema 文件在 assets/(入参/出参/信封),清单见 readme.md 参数章。

7. 🚨 错误应对(摘要)

error_code退出码Agent
AUTH_*3禁止重试;引导官网配 TOKEN
PLAN_LIMIT1禁止同参重试;降 limit 须用户同意
INSUFFICIENT_BALANCE / DAILY_LIMIT1禁止同参重试;充值或明日/调限额
RATE_LIMITED1禁止立即重试
INVALID_*1/2换词/换链/按 help 改一次;禁止擅自改默认再跑
NO_MATCH0如实无结果
TIMEOUT / NETWORK_ERROR1同参续等最多 1 次(搜/用户约 9 分钟、作品/详情/评论约 20 分钟复用);禁止改参「重做」

全表 → errors.md。

8. 🛑 硬性禁止

  • 不得编造数据;不得把空结果说成有结果。
  • 不得未征得同意就自动改搜索条件重试。
  • AUTH_* / PLAN_LIMIT / INSUFFICIENT_BALANCE / RATE_LIMITED / DAILY_LIMIT 后不得同参或立即重试。
  • 不得把 stderr 原文转述给用户。
  • 不得做登录态/私密获取或任何写操作;不得编造手机号/微信号或骚扰脚本。
  • 不得在未 cd 到技能目录时执行 node src/douyin/*.js。

9. 📚 何时读 references(入口总表)

时机打开
确认枚举/参数取值options.md
口语指令 → flagrouting.md
信封 / results 形态contract.md
完整错误表errors.md
缺参追问话术ask.md
环境 / FAQfaq.md
需求挖掘(取数成功后)demand-mining.md
公域获客(取数成功后)customer-acquisition.md
版本变更changelog.md
技术人员总览(含命令参数详表 / Schema 清单)readme.md
机器可校验 Schemaassets/*.schema.json
ClawHub

Skills and plugins for OpenClaw agents. Part of the wider OpenClaw ecosystem.

Explore docs

SkillsPluginsOfficialAudits

Publish SkillPublish PluginCreate org

OverviewOpenClawDocsBlog

SupportGitHubDiscord

Built alongside the OpenClaw ecosystem

LobsterCrabboxClickClackCrabfleetOctopoolClawSweeperagent-skillsdiscrawlgitcrawlslacrawlnotcrawltelecrawlgraincrawlcrawlkitcrawlbaracpxmcporterTachikomaclawpatchclawbenchPeekaboocookbookplugin-inspectorwacrawlcrabpotAll projectsLobsterCrabboxClickClackCrabfleetOctopoolClawSweeperagent-skillsdiscrawlgitcrawlslacrawlnotcrawltelecrawlgraincrawlcrawlkitcrawlbaracpxmcporterTachikomaclawpatchclawbenchPeekaboocookbookplugin-inspectorwacrawlcrabpotAll projects

© 2026 OpenClaw Foundation

Privacy policy·Status·Deployed on Vercel·Powered by Convex

....:: clawhub/openclaw ::....  skills plugins publishers trust signals   :::: signed manifests ::::: moderated releases ::::: version history ::::   openclaw ecosystem    crabbox clickclack crawler packs gateway plugins
>>> install scan publish verify    @@ gateway @@ registry @@ agents @@     hooks runners slash-commands skill.md templates scanners review-bots   ---- downloads installs stars lineage ownership docs package integrity
  30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship   openclaw ecosystem    crabbox clickclack crawler packs gateway plugins     safe browse paths   official gateways   publisher handles   org trust
:::: signed manifests ::::: moderated releases ::::: version history ::::   ---- downloads installs stars lineage ownership docs package integrity   ....:: clawhub/openclaw ::....  skills plugins publishers trust signals
  hooks runners slash-commands skill.md templates scanners review-bots     safe browse paths   official gateways   publisher handles   org trust   >>> install scan publish verify    @@ gateway @@ registry @@ agents @@
openclaw ecosystem    crabbox clickclack crawler packs gateway plugins   ....:: clawhub/openclaw ::....  skills plugins publishers trust signals     30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship
---- downloads installs stars lineage ownership docs package integrity   >>> install scan publish verify    @@ gateway @@ registry @@ agents @@   :::: signed manifests ::::: moderated releases ::::: version history ::::
  safe browse paths   official gateways   publisher handles   org trust     30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship     hooks runners slash-commands skill.md templates scanners review-bots
....:: clawhub/openclaw ::....  skills plugins publishers trust signals   :::: signed manifests ::::: moderated releases ::::: version history ::::   openclaw ecosystem    crabbox clickclack crawler packs gateway plugins
>>> install scan publish verify    @@ gateway @@ registry @@ agents @@     hooks runners slash-commands skill.md templates scanners review-bots   ---- downloads installs stars lineage ownership docs package integrity
  30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship   openclaw ecosystem    crabbox clickclack crawler packs gateway plugins     safe browse paths   official gateways   publisher handles   org trust
:::: signed manifests ::::: moderated releases ::::: version history ::::   ---- downloads installs stars lineage ownership docs package integrity   ....:: clawhub/openclaw ::....  skills plugins publishers trust signals
  hooks runners slash-commands skill.md templates scanners review-bots     safe browse paths   official gateways   publisher handles   org trust   >>> install scan publish verify    @@ gateway @@ registry @@ agents @@
openclaw ecosystem    crabbox clickclack crawler packs gateway plugins   ....:: clawhub/openclaw ::....  skills plugins publishers trust signals     30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship
---- downloads installs stars lineage ownership docs package integrity   >>> install scan publish verify    @@ gateway @@ registry @@ agents @@   :::: signed manifests ::::: moderated releases ::::: version history ::::
  safe browse paths   official gateways   publisher handles   org trust     30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship     hooks runners slash-commands skill.md templates scanners review-bots
....:: clawhub/openclaw ::....  skills plugins publishers trust signals   :::: signed manifests ::::: moderated releases ::::: version history ::::   openclaw ecosystem    crabbox clickclack crawler packs gateway plugins
>>> install scan publish verify    @@ gateway @@ registry @@ agents @@     hooks runners slash-commands skill.md templates scanners review-bots   ---- downloads installs stars lineage ownership docs package integrity
  30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship   openclaw ecosystem    crabbox clickclack crawler packs gateway plugins     safe browse paths   official gateways   publisher handles   org trust
:::: signed manifests ::::: moderated releases ::::: version history ::::   ---- downloads installs stars lineage ownership docs package integrity   ....:: clawhub/openclaw ::....  skills plugins publishers trust signals
  hooks runners slash-commands skill.md templates scanners review-bots     safe browse paths   official gateways   publisher handles   org trust   >>> install scan publish verify    @@ gateway @@ registry @@ agents @@
openclaw ecosystem    crabbox clickclack crawler packs gateway plugins   ....:: clawhub/openclaw ::....  skills plugins publishers trust signals     30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship
---- downloads installs stars lineage ownership docs package integrity   >>> install scan publish verify    @@ gateway @@ registry @@ agents @@   :::: signed manifests ::::: moderated releases ::::: version history ::::
  safe browse paths   official gateways   publisher handles   org trust     30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship     hooks runners slash-commands skill.md templates scanners review-bots
....:: clawhub/openclaw ::....  skills plugins publishers trust signals   :::: signed manifests ::::: moderated releases ::::: version history ::::   openclaw ecosystem    crabbox clickclack crawler packs gateway plugins
>>> install scan publish verify    @@ gateway @@ registry @@ agents @@     hooks runners slash-commands skill.md templates scanners review-bots   ---- downloads installs stars lineage ownership docs package integrity
  30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship   openclaw ecosystem    crabbox clickclack crawler packs gateway plugins     safe browse paths   official gateways   publisher handles   org trust
:::: signed manifests ::::: moderated releases ::::: version history ::::   ---- downloads installs stars lineage ownership docs package integrity   ....:: clawhub/openclaw ::....  skills plugins publishers trust signals
  hooks runners slash-commands skill.md templates scanners review-bots     safe browse paths   official gateways   publisher handles   org trust   >>> install scan publish verify    @@ gateway @@ registry @@ agents @@
openclaw ecosystem    crabbox clickclack crawler packs gateway plugins   ....:: clawhub/openclaw ::....  skills plugins publishers trust signals     30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship
---- downloads installs stars lineage ownership docs package integrity   >>> install scan publish verify    @@ gateway @@ registry @@ agents @@   :::: signed manifests ::::: moderated releases ::::: version history ::::
  safe browse paths   official gateways   publisher handles   org trust     30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship     hooks runners slash-commands skill.md templates scanners review-bots
....:: clawhub/openclaw ::....  skills plugins publishers trust signals   :::: signed manifests ::::: moderated releases ::::: version history ::::   openclaw ecosystem    crabbox clickclack crawler packs gateway plugins
>>> install scan publish verify    @@ gateway @@ registry @@ agents @@     hooks runners slash-commands skill.md templates scanners review-bots   ---- downloads installs stars lineage ownership docs package integrity
  30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship   openclaw ecosystem    crabbox clickclack crawler packs gateway plugins     safe browse paths   official gateways   publisher handles   org trust
:::: signed manifests ::::: moderated releases ::::: version history ::::   ---- downloads installs stars lineage ownership docs package integrity   ....:: clawhub/openclaw ::....  skills plugins publishers trust signals
  hooks runners slash-commands skill.md templates scanners review-bots     safe browse paths   official gateways   publisher handles   org trust   >>> install scan publish verify    @@ gateway @@ registry @@ agents @@
openclaw ecosystem    crabbox clickclack crawler packs gateway plugins   ....:: clawhub/openclaw ::....  skills plugins publishers trust signals     30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship
---- downloads installs stars lineage ownership docs package integrity   >>> install scan publish verify    @@ gateway @@ registry @@ agents @@   :::: signed manifests ::::: moderated releases ::::: version history ::::
  safe browse paths   official gateways   publisher handles   org trust     30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship     hooks runners slash-commands skill.md templates scanners review-bots
....:: clawhub/openclaw ::....  skills plugins publishers trust signals   :::: signed manifests ::::: moderated releases ::::: version history ::::   openclaw ecosystem    crabbox clickclack crawler packs gateway plugins
>>> install scan publish verify    @@ gateway @@ registry @@ agents @@     hooks runners slash-commands skill.md templates scanners review-bots   ---- downloads installs stars lineage ownership docs package integrity
  30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship   openclaw ecosystem    crabbox clickclack crawler packs gateway plugins     safe browse paths   official gateways   publisher handles   org trust
:::: signed manifests ::::: moderated releases ::::: version history ::::   ---- downloads installs stars lineage ownership docs package integrity   ....:: clawhub/openclaw ::....  skills plugins publishers trust signals