Douyin Comment Manager for Openclaw

An automated Douyin Creator Center assistant that leverages Playwright to fetch comments, batch-reply using smart templates, and generate visual analytics reports.

bettermen
v1.0.0
Jun 21, 2026
0
507
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install douyin-comment-manager

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-manager 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 Comment Manager?

Douyin Comment Manager is an advanced, Playwright-based browser automation tool tailored for creators, MCNs, and e-commerce operators using the Douyin Creator Center. As part of the Openclaw Skills ecosystem, this tool simplifies community management by automating the retrieval of unanswered video comments, executing batch-replies based on smart keyword matching or AI strategies, and rendering comprehensive interaction reports.

By avoiding the limitations of unofficial API workarounds, the tool interacts with the Douyin interface through a secure, persistent browser session. It respects strict platform rate limits, integrates visual QA checks, and prioritizes user-guided authentication, making it a highly reliable utility for professional operations.

Douyin Comment Manager Use Cases

  • Daily Fan Engagement: Creators can quickly address hundreds of daily comments without repetitive manual typing.
  • MCN Multi-Account Management: Agencies can spin up isolated sessions to manage community interaction across multiple influencer accounts.
  • E-commerce Customer Support: Live streamers and product showcase channels can auto-respond to high-intent inquiries about prices, links, and sizing.
  • Sentiment & Data Analysis: Operations teams can monitor public sentiment, extract top keywords, and generate interactive performance reports.

How Douyin Comment Manager Works

  1. Session Authentication: Run the secure initialization script to log in via QR code scanning; session data is persisted locally in a dedicated profile directory.
  2. Fetch Content Catalog: Retrieve the active list of published videos and works from the Douyin Creator Center.
  3. Extract Unreplied Comments: Extract outstanding comments on designated videos or across all uploads, utilizing advanced keyword and sorting filters.
  4. Execute Reply Strategies: Match comments against custom template tables or draft AI-powered responses with built-in human-like delays.
  5. Interactive Report Generation: Output a complete HTML dashboard with sentiment analysis, keyword word clouds, and engagement metrics.

Douyin Comment Manager Setup

Ensure your environment has Python 3.11+ and Node.js installed. To integrate this tool within the Openclaw Skills runtime, execute the following commands:

# Install Playwright and browser dependencies
pip install playwright
python -m playwright install chromium

After installation, run the secure initialization script to log in via QR code scanning. Your session cookies will be saved locally:

python scripts/auth.py

With your session established, run the standard workflows:

# Fetch unreplied comments for all videos
python scripts/fetch_comments.py --all

# Perform a dry-run to preview template-matched replies
python scripts/batch_reply.py --input output/unreplied_comments.json --dry-run

# Execute batch replies
python scripts/batch_reply.py --input output/unreplied_comments.json

# Generate the interactive HTML report
python scripts/report.py

Douyin Comment Manager Data Schema & Taxonomy

The Douyin Comment Manager structures files cleanly between system logic, user profiles, and data outputs.

Project Layout

Directory / File Description
scripts/auth.py Handles browser launch, QR-code scanner, and session preservation.
scripts/fetch_comments.py Query and extract comment matrices.
scripts/batch_reply.py Automation engine applying templates or AI heuristics.
scripts/report.py Generates self-contained interactive dashboards.
.playwright/douyin-profile/ Secure directory containing persistent browser session cookies (git-ignored).
output/ Directory storing JSON database exports and final HTML reports.

Export Data Schema (unreplied_comments.json)

[
  {
    "comment_id": "string",
    "video_id": "string",
    "video_title": "string",
    "author_name": "string",
    "author_id": "string",
    "content": "string",
    "like_count": 0,
    "reply_count": 0,
    "create_time": "YYYY-MM-DDTHH:MM:SS",
    "is_replied": false,
    "pinned": false,
    "images": []
  }
]

Reply Template Structure (reply_templates.json)

{
  "templates": [
    {
      "keywords": ["price", "how much"],
      "reply": "Please check the link in our bio for complete pricing!"
    }
  ],
  "default_reply": "Thank you for your comment! ❤️"
}

Douyin Comment Manager Advanced Features

  • Dry-Run Mode: Test and preview your matched auto-responses safely without posting any actual comments.
  • Human-Mimicking Delays: Built-in randomized delays (typically 3-5 seconds) between replies to minimize risk profile detection.
  • Fail-Safe Exception Handling: Automatically stops execution upon encountering CAPTCHAs, risk control checks, or breaking UI/DOM changes.
  • Custom Sorting & Sentiment Routing: Prioritize reply queues using sorting parameters like high-impact likes, negative keywords, or chronological order.
  • Modular Playwright Profiles: Manage multi-accounts effectively by partitioning directories, a feature native to customized Openclaw Skills deployments.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*