Xiaohongshu Data Analytics for Openclaw

A comprehensive data collection and analysis toolkit for the Xiaohongshu platform designed to track notes, bloggers, and market trends.

legou20221023
v1.0.0
Mar 5, 2026
0
981
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install xhs-analytics

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 xhs-analytics 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 Data Analytics?

The Xiaohongshu Data Analytics skill provides developers and marketers with a robust framework for extracting and interpreting data from the XHS platform. By leveraging Openclaw Skills, users can automate the process of searching for high-performing notes, analyzing blogger profiles, and tracking engagement trends. This tool is essential for anyone looking to gain a competitive edge in social commerce by turning raw platform data into structured, actionable insights.

Whether you are monitoring specific hashtags or conducting deep-dives into competitor performance, this skill streamlines the interaction with XHS data sources. It supports multiple input methods, including official APIs and third-party services, ensuring flexibility for different technical requirements and access levels.

Xiaohongshu Data Analytics Use Cases

  • Perform keyword research to find trending topics in niches like skincare, beauty, or fashion.
  • Monitor competitor performance by comparing the engagement metrics of multiple top-tier bloggers.
  • Track the 7-day popularity trend of specific notes or topics to identify viral content patterns.
  • Generate automated marketing reports in Markdown format for client presentations or internal audits.

How Xiaohongshu Data Analytics Works

  1. Configure the environment by providing necessary API keys or session cookies in the configuration file.
  2. Use the search tool to find notes based on specific keywords, sorting by hotness or time.
  3. Extract detailed metrics for individual authors or notes, including followers, likes, and shares.
  4. Run comparison scripts to benchmark different data points against each other.
  5. Compile all gathered data into a structured report using the built-in generation utility.

Xiaohongshu Data Analytics Setup

To get started with this skill within the Openclaw Skills ecosystem, you must first configure your credentials:

# Edit scripts/config.sh and add your credentials
export XHS_API_KEY="your-api-key"
export XHS_COOKIE="your-cookie"

You can then run specific scripts via the CLI:

# Example: Search for skincare notes
python3 scripts/search_notes.py --keyword "skincare" --limit 50 --sort "hot"

Xiaohongshu Data Analytics Data Schema & Taxonomy

The skill processes and outputs data in structured formats to ensure compatibility with other tools in the Openclaw Skills suite.

Component Output Format Primary Metadata
Note Metadata JSON note_id, user_id, title, engagement_stats
Blogger Info JSON follower_count, total_notes, total_collected_likes
Trend Data JSON time_stamps, engagement_velocity, share_count
Final Analysis Markdown Summary tables, trend descriptions, comparison results

Xiaohongshu Data Analytics Advanced Features

  • Support for multiple data sources including official enterprise APIs and third-party data providers.
  • Batch processing capabilities for comparing multiple users or notes simultaneously.
  • Customizable report generation with support for various output formats like JSON and Markdown.
  • Automated rate-limit management and interval controls to ensure compliance with platform rules.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*