Douyin Messager | 抖音私信助手
Douyin DMs and video/note comment assistant. 抖音私信与视频/图文评论助手;可读私信、分析评论区,评论/回复等写入前必须确认。 Skill: Douyin Messager | 抖音私信助手 Owner: moroiser Summary: Douyin DMs and video/note comment assistant. 抖音私信与视频/图文评论助手;可读私信、分析评论区,评论/回复等写入前必须确认。 Tags: latest:1.2.0 Version history: v1.2.0 | 2026-05-04T17:25:39.073Z | user 1. Added: credentialExpectations, filesystemWrites, and warning metadata for ClawScan. 新增:凭据声明、文件写入范围和警告元数据,适配 ClawScan。 v1.1.9 | 2026-05-04T17:05:59.131Z | user 1. Added: Browser-session credential d
Rank
62
Safety
84
Downloads
4.9k
Updated
Oct 9, 2026
Version
1.2.0
Source
CLAWHUB
About
What it does, and when to use it.
Capability contract not published. No trust telemetry is available yet. 4.9K downloads reported by the source. Last updated 10/9/2026.
Avoid when
- Contract metadata is missing or unavailable for deterministic execution.
Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing
Public facts
Every fact links back to the source it came from.
- Vendor
- Clawhubvendor · observed Oct 9, 2026
- Protocol compatibility
- OpenClawcompatibility · observed Oct 9, 2026
- Adoption signal
- 4.9K downloadsadoption · observed Oct 9, 2026
- Latest release
- 1.2.0release · observed May 4, 2026
- Handshake status
- UNKNOWNsecurity
Install and run
Setup complexity: low.
clawhub skill install s1708w2t7w31qf7b0gsy7kamnx83gqa6:douyin-messager- Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
- Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.
Contract: missing
curl -s "https://www.xpersona.co/api/v1/agents/clawhub-moroiser-douyin-messager/snapshot"
Documentation
CLAWHUB
105,932 characters of source documentation, loaded on request.
Extracted files
3 files captured from the source.
SKILL.md
---
name: Douyin Messager | 抖音私信助手
description: "Douyin DMs and video/note comment assistant. 抖音私信与视频/图文评论助手;可读私信、分析评论区,评论/回复等写入前必须确认。"
metadata:
"openclaw":
requires:
bins: ["browser"]
browser_profiles: ["openclaw"]
runtime:
credentialExpectations:
- "抖音已登录的浏览器会话(openclaw profile)"
filesystemWrites:
- "~/.openclaw/workspace/skills/douyin-messager/"
- "~/.openclaw/workspace/projects/douyin-messager/"
warning:
- "发送/评论/回复/点赞等写入操作需要用户确认"
- "读取聊天记录会将私信内容暴露到 agent 上下文"
- "使用独立 openclaw profile,不与其他账号混用"
---
# Douyin Messager | 抖音私信助手
通过浏览器自动化发送抖音私信、获取聊天记录;也支持打开抖音视频/图文链接、读取评论区并做简要分析,在用户明确确认后执行评论/回复等写入操作。
## 前置要求 | Prerequisites
| 条件 | 说明 |
|------|------|
| **Browser profile** | 必须使用 `openclaw` profile |
| **登录状态** | 抖音账号已在 `openclaw` profile 中保持登录态 |
---
## ⚠️ 执行前必须确认
1. **用户已登录抖音账号**(可目测判断)
2. **xdg-open 弹窗**:只在 Linux 下存在
- Linux:询问用户弹窗是否关闭
- Windows/macOS:跳过
---
## ⚠️ 安全声明 | Security Notice
本技能通过已登录的抖音浏览器会话读写私信和评论。
### 浏览器会话凭据声明
本技能依赖已登录的抖音浏览器会话作为账户凭据。使用前请确认:
1. **确认登录账户**:发送操作前,先确认当前登录的是正确的抖音账户
2. **使用专用 profile**:必须使用独立的 `openclaw` profile,不与日常浏览器混用
3. **用完后清理**:关闭 `openclaw` profile 的浏览器标签页即可;不再使用时,可清除该 profile 的抖音登录态
### 数据披露
- 读取聊天记录和评论区会将内容暴露到 agent 上下文,仅读取你愿意分享的内容
- 不要用于读取高度敏感或非自愿的私人对话
### 操作限制
- **发送私信**:必须先向用户确认目标账号和消息内容,获得明确同意后才执行
- **评论/回复/点赞/分享**:属于外部互动写入操作,必须先获得用户明确确认
---
## 当前能力边界(阶段性总结)
本技能当前已验证可完成四类操作:
1. **查看私信会话列表**:进入私信悬浮面板后,读取可见的私聊/群聊列表,区分会话名称、最新消息预览、时间、未读数和置顶状态。
2. **进入具体聊天窗口**:从会话列表点击指定私聊或群聊,进入聊天详情页,读取当前已加载的聊天记录。
3. **发送文本消息**:在聊天详情底部的 Draft.js 输入框中输入文本,并通过发送按钮完成发送。
4. **视频/图文评论区处理**:可搜索或打开指定视频/图文链接,读取评论区,输出情绪简报;评论、回复、点赞等外部互动写入必须先获得用户明确确认。
需要注意:网页版对视频、图集、点赞、撤回、暂不支持消息等卡片类内容的 DOM 暴露不完整,读取时应保守标注,不应强行推断完整内容或发送者。
---
## 核心思路
> 抖音私信是一个**悬浮在页面右侧的动态面板**,包含"会话列表"和"聊天详情"两个视图。
**会话列表布局**(类 QQ/微信):左侧头像,中间分上下两行(上行:用户名/群名;下行:最新消息预览,群聊格式为「发消息的人:消息内容」),右侧时间戳。
**聊天详情布局**:进入某个会话后,右侧显示聊天记录。普通文本消息通常可提取时间、消息内容,并可根据气泡方向、操作项(如是否有「撤回」)辅助判断是否为本人消息;群聊中他人文本消息有时可从消息文本或引用结构中识别发送者。卡片类消息需谨慎处理。
**方法论**:不依赖固定 class name,而是通过元素的**几何特征 + 内容特征**动态查找。具体 class name 仅作参考示例。
---
## 获取私信列表流程
获取私信的第一步不是进入某个聊天,而是**正确进入私信会话列表**。
### 步骤 1:打开私信会话列表
1. 打开抖音主页或个人主页。
2. 在顶部导航栏右侧定位「私信」入口(可能显示未读数,如「私信11」)。
3. 点击后等待右侧悬浮面板出现。
4. 确认当前处于会话列表视图,而不是某个聊天详情页。
### 步骤 2:识别每一行会话
会话列表中每一行对应一个私聊或群聊。布局通常为:左侧头像;中间上行为会话名称(用户名/群名,可能带「置顶」标记);中间下行为最新消息预览;右侧为时间戳或未读标记。
⚠️ 会话列表本身是可滚动容器,不要只按当前可见区域判断数量。实测中滚动容器宽约 328px、高约 593px,`scrollHeight > clientHeight`,可通过 `scrollTop` 滚到底部;出现「暂时没有更多了」才表示到底。
解析时应优先按**行容器**处理,而不是直接读取父元素的合并文本。读取每行时分别提取:
| 字段 | 识别方法 |
|------|----------|
| 会话名称 | 行内上方文本,通常是用户名或群名;若有「置顶」应作为标记处理,不并入名称 |
| 最新消息 | 行内下方文本;群聊常见格式为「发送者:消息内容」 |
| 最新发送者 | 若最新消息包含「:」,冒号前通常是群聊中最新消息发送者 |
| 时间 | 行右侧或下行末尾的时间文本,如「昨天」「04-25」「01:42」 |
| 未读数 | 行右侧 badge 数字;顶部「私信(N)」通常表示总未读数 |
| 置顶 | 名称行附近出现「置顶」标记时记录为 pinned=true |
### 步骤 3:区分私聊与群聊
- 私聊:上行通常是对方昵称;下行多为消息内容本身。
- 群聊:上行是群名;下行常为「发送者:消息内容」。
- 不要把上行群名和下行发送者合并为一个名称。
**示例参考**:
| 上行(会话名称) | 下行(最新消息) | 解析结果 |
|------------------|--------_meta.json
{
"ownerId": "kn75k53tcdhqwka2fra5x817p9821zpb",
"slug": "douyin-messager",
"version": "1.2.0",
"publishedAt": 1777915539073
}skill-card.md
## Description: A Douyin DM and video/note comment assistant for reading messages and comments, analyzing comment threads, and performing confirmed comments or replies. This skill is ready for commercial/non-commercial use. ## Publisher: [moroiser](https://clawhub.ai/user/moroiser) ### License/Terms of Use: MIT-0 ## Use Case: External users and agents use this skill to operate Douyin through a logged-in browser session: review DM conversations, read and summarize visible comments, and draft or perform explicitly confirmed messaging and comment interactions. ### Deployment Geography for Use: Global ## Known Risks and Mitigations: Risk: Broad page selectors may target the wrong recipient, composer, or content under the user's logged-in Douyin account. Mitigation: Before any send, comment, reply, like, or share action, verify the active account, intended recipient or target content, and exact text with the user. Risk: Reading DMs or comments exposes private or sensitive Douyin content to the agent context. Mitigation: Use the skill only with messages and comment threads the user is comfortable sharing, and avoid highly sensitive or non-consensual private conversations. Risk: Using a shared browser profile can mix account credentials or activity with unrelated browsing sessions. Mitigation: Use the dedicated openclaw browser profile and confirm the logged-in account before interactive operations. ## Reference(s): - [ClawHub skill page](https://clawhub.ai/moroiser/skills/douyin-messager) - [Publisher profile](https://clawhub.ai/user/moroiser) - [Douyin web app](https://www.douyin.com/) - [Douyin video search example](https://www.douyin.com/search/OpenClaw?type=video) ## Skill Output: **Output Type(s):** [text, markdown, code, shell commands, configuration, guidance] **Output Format:** [Markdown guidance with browser automation commands and JavaScript snippets] **Output Parameters:** [1D] **Other Properties Related to Output:** [Requires a logged-in Douyin browser session using the openclaw profile; write actions require explicit user confirmation.] ## Skill Version(s): 1.2.0 (source: server release evidence) ## Ethical Considerations: Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.
activepieces
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
cherry-studio
AI productivity studio with smart chat, autonomous agents, and 300+ assistants.
AionUi
Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!
CopilotKit
The Frontend for Agents & Generative UI. React + Angular
Machine-readable data
The same record, as JSON, for agents and crawlers.
{
"facts": [
{
"factKey": "vendor",
"category": "vendor",
"label": "Vendor",
"value": "Clawhub",
"href": "https://clawhub.ai/moroiser/skills/douyin-messager",
"sourceUrl": "https://clawhub.ai/moroiser/skills/douyin-messager",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-09T04:43:38.198Z",
"isPublic": true
},
{
"factKey": "protocols",
"category": "compatibility",
"label": "Protocol compatibility",
"value": "OpenClaw",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-moroiser-douyin-messager/contract",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-moroiser-douyin-messager/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-10-09T04:43:38.198Z",
"isPublic": true
},
{
"factKey": "traction",
"category": "adoption",
"label": "Adoption signal",
"value": "4.9K downloads",
"href": "https://clawhub.ai/moroiser/douyin-messager",
"sourceUrl": "https://clawhub.ai/moroiser/douyin-messager",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-09T04:43:38.198Z",
"isPublic": true
},
{
"factKey": "latest_release",
"category": "release",
"label": "Latest release",
"value": "1.2.0",
"href": "https://clawhub.ai/moroiser/douyin-messager",
"sourceUrl": "https://clawhub.ai/moroiser/douyin-messager",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-05-04T17:25:39.073Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-moroiser-douyin-messager/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-moroiser-douyin-messager/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
],
"events": [
{
"eventType": "release",
"title": "Release 1.2.0",
"description": "1. Added: credentialExpectations, filesystemWrites, and warning metadata for ClawScan. 新增:凭据声明、文件写入范围和警告元数据,适配 ClawScan。",
"href": "https://clawhub.ai/moroiser/douyin-messager",
"sourceUrl": "https://clawhub.ai/moroiser/douyin-messager",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-05-04T17:25:39.073Z",
"isPublic": true
}
]
}Record generated Oct 9, 2026.
