Rednote (Xiaohongshu) Automation Skill for Openclaw

A robust automation tool for searching, extracting, and interacting with the Xiaohongshu (Little Red Book) platform via browser automation.

mrmao007
v1.0.0
Feb 26, 2026
0
1.6k
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install rednote-skills

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 rednote-skills 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 Rednote (Xiaohongshu) Automation Skill?

The Rednote Skill is a specialized integration designed for the Openclaw Skills ecosystem, providing a programmatic bridge to the Xiaohongshu (Rednote) social platform. By leveraging Python and Playwright, this skill allows users to perform complex interactions that usually require manual browsing, such as searching for specific keywords, scraping note data into structured Markdown, and managing account engagement.

This tool is essential for creators and developers using Openclaw Skills who need to maintain a presence or gather intelligence on Xiaohongshu. It handles the intricacies of browser state management and authentication, ensuring that automated actions like publishing notes or following users are executed reliably within a controlled environment.

Rednote (Xiaohongshu) Automation Skill Use Cases

  • Conducting automated market research by searching for trending keywords and extracting top-performing post data.
  • Streamlining content distribution by programmatically publishing notes with multiple images, titles, and tags.
  • Boosting community engagement through automated likes, comments, and follower growth strategies.
  • Archiving high-quality social content into a local knowledge base using structured Markdown extraction.

How Rednote (Xiaohongshu) Automation Skill Works

  1. The skill initiates by validating the current login status through a dedicated cookie check script.
  2. If no valid session is found, it triggers a manual login interface to capture and secure authentication tokens.
  3. Search scripts are executed to identify specific note URLs or user profiles based on input parameters.
  4. For content extraction, the skill navigates to the target URL and parses the DOM to generate a formatted Markdown file.
  5. Interaction scripts (like, comment, follow) use browser automation to simulate human-like engagement on the platform.

Rednote (Xiaohongshu) Automation Skill Setup

Prerequisites

  • Python 3.7 or higher
  • Playwright library

Installation

# Install required dependencies
pip install playwright

# Install browser drivers
playwright install

# Perform initial manual login to save cookies
python scripts/manual_login.py

# Validate your connection
python scripts/validate_cookies.py

Rednote (Xiaohongshu) Automation Skill Data Schema & Taxonomy

The Rednote skill within the Openclaw Skills framework organizes data into two primary categories: session management and content extraction.

Data Organization

Data Type Storage Format Description
Authentication rednote_cookies.json Securely stores session tokens and browser state
Extracted Notes Markdown (.md) Structured text including author, title, media URLs, and tags
Search Results Console/List A collection of validated note URLs matching search criteria
Interaction Logs Standard Output Success/failure status for engagement actions

Rednote (Xiaohongshu) Automation Skill Advanced Features

  • Support for bulk image uploads and multi-tagging during the note publishing process.
  • Seamless transition between headless and headful browser modes for debugging and visibility.
  • Intelligent session recovery that prompts for manual login only when authentication tokens expire.
  • Comprehensive content scraping that converts complex social media layouts into clean, portable Markdown.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*