XiaoHongShu Automation Skill V2 for Openclaw

A powerful Chrome CDP-based automation solution for full-lifecycle XiaoHongShu account management and content distribution.

tinadu-ai
v2.0.0
Mar 7, 2026
0
1k
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install xiaohongshu-v2

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 xiaohongshu-v2 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 XiaoHongShu Automation Skill V2?

The XiaoHongShu Automation Skill V2 provides a comprehensive solution for managing XiaoHongShu accounts via the Chrome DevTools Protocol (CDP). This skill allows for granular control over browser actions, enabling high-fidelity automation that mimics real human behavior. By utilizing Openclaw Skills, developers can automate repetitive tasks such as posting content, responding to comments, and analyzing competitor trends without manual intervention.

Built with a modular architecture, the skill includes specialized modules for stealth operation, login management, and content publishing. It is designed to be resilient, featuring automatic cookie persistence and anti-detection mechanisms to ensure long-term stability and account safety while navigating the platform's interface.

XiaoHongShu Automation Skill V2 Use Cases

  • Automated distribution of multi-media content including images, videos, and long articles.
  • Scale social engagement by automating likes, favorites, and multi-level comment replies.
  • Perform market research by searching keywords and listing trending feeds automatically.
  • Streamline account operations with automated login and session management using Openclaw Skills.

How XiaoHongShu Automation Skill V2 Works

  1. Launch Chrome using the dedicated launcher with specific flags to support root users and bypass sandboxing.
  2. Authenticate the session through either a QR code scan or SMS verification code.
  3. Save session cookies locally to maintain persistent login states across different sessions.
  4. Execute commands via the CLI to interact with the platform's UI elements using precise CSS selectors.
  5. Use the stealth module to apply anti-detection parameters that mask automation footprints.

XiaoHongShu Automation Skill V2 Setup

Ensure you have Python 3.10+ and Google Chrome 120+ installed. The skill supports root users by utilizing --no-sandbox flags. Follow these steps to get started with the Openclaw Skills package:

# Check if you are already logged in
python scripts/cli.py check-login

# Perform a new login via QR code
python scripts/cli.py login

# Publish an image-text post
python scripts/cli.py publish --title-file title.txt --content-file content.txt --images "/path/to/image.jpg"

XiaoHongShu Automation Skill V2 Data Schema & Taxonomy

The skill is organized into a modular directory structure for clarity and maintainability:

Directory/File Purpose
scripts/cli.py The primary command-line interface entry point
xhs/cdp.py Core Chrome DevTools Protocol wrapper
xhs/stealth.py Logic for bypassing platform detection
xhs/selectors.py Storage for all CSS selectors used in automation
skill.json Metadata and configuration for the Openclaw Skills integration

XiaoHongShu Automation Skill V2 Advanced Features

  • Integrated stealth mode with anti-detection parameters to bypass platform security.
  • Full support for long-article publishing and complex video uploads.
  • Automatic cookie management for seamless multi-session operations.
  • Detailed user profile and feed data extraction capabilities for competitor analysis.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*