Douyin Search & Comment Skill for Openclaw

An automated workflow for searching viral Douyin videos and posting human-like comments using high-performance browser automation.

mars82311111
v1.0.0
Mar 31, 2026
1
977
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install douyin-comment

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install douyin-comment using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Douyin Search & Comment Skill?

The Douyin Search & Comment Skill is a specialized tool designed for the Openclaw Skills ecosystem that enables AI agents to engage with the Douyin platform programmatically. It leverages the openclaw browser profile to navigate search results, identify high-performing content, and post contextually relevant comments without the need for manual intervention or vision-based processing.

By focusing on speed and reliability, this skill merges multiple browser operations into single evaluate calls, minimizing latency. It is specifically engineered to handle complex UI frameworks like Draft.js, ensuring that comments are correctly synchronized and published. This is a vital tool for those looking to scale their social media presence using Openclaw Skills.

Douyin Search & Comment Skill Use Cases

  • Automating community engagement by searching for niche-specific keywords and interacting with top videos.
  • Running social media outreach campaigns through automated, context-aware commenting.
  • Maintaining account activity and visibility on the Douyin platform using Openclaw Skills.
  • Researching popular trends by programmatically extracting metadata from search result cards.

How Douyin Search & Comment Skill Works

  1. Search & Extraction: The agent navigates to the Douyin search URL with the target keyword and uses a JavaScript evaluate function to extract IDs and play counts for the top 5 videos.
  2. Intelligent Selection: The skill identifies the video with the highest engagement metrics to ensure maximum impact for the comment.
  3. Direct Navigation: Instead of relying on unreliable UI clicks, the agent navigates directly to the video detail page using the extracted video ID.
  4. Precision Input: The skill uses a snapshot to locate the comment box and employs a slowly type method to ensure compatibility with Douyin's internal state management.
  5. Submission: The process concludes by simulating an Enter key press to publish the comment.

Douyin Search & Comment Skill Setup

To use this skill, ensure the browser profile named openclaw is logged into a valid Douyin account. If the gateway encounters a timeout, use the following command to reset it as part of your Openclaw Skills workflow:

pkill -f "node.*openclaw.*gateway" || true
sleep 3
openclaw gateway status

Douyin Search & Comment Skill Data Schema & Taxonomy

The skill organizes interaction data as follows:

Field Type Description
video_id String The unique modal_id extracted from the Douyin search results.
preview String A text snippet of the video description for context analysis.
plays String Extracted play count used to rank video popularity.
comment String The generated text (15-40 characters) to be posted.

Douyin Search & Comment Skill Advanced Features

  • Automatic Gateway Recovery: Detects and restarts the gateway service without user prompts if a timeout occurs.
  • Human-Mimicry Typing: Uses slowly type functionality to bypass anti-bot triggers and Draft.js synchronization issues.
  • Direct Navigation Logic: Bypasses complex modal UI elements by constructing direct video URLs for higher success rates.
  • Metric-Based Filtering: Automatically targets high-traffic content to maximize the value of Openclaw Skills in marketing contexts.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*