ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified browser automation Safety 3/5

xhs-skill

小红书(创作者中心)登录拿 cookies、发布笔记、导出数据的单一入口技能(浏览器交互委托 agent-browser-stealth)

Why use this skill?

Automate Xiaohongshu login, data exports, and publishing with xhs-skill. A secure, stealth-browser integrated tool for efficient content and data management.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/leeguooooo/xhs-skill
Or

What This Skill Does

xhs-skill is a specialized automation entry point for the Xiaohongshu (Little Red Book) Creator Center. By integrating directly with agent-browser-stealth, this skill streamlines the process of browser-based authentication, cookie management, and data handling. It is designed to act as a unified hub for all Xiaohongshu-related agent activities, allowing users to log in securely, publish notes, and export performance data without needing to manage multiple disparate scripts or configurations. It prioritizes stability and compliance with browser automation best practices, ensuring that all interactions occur within a stealth-capable session to minimize the risk of detection or error.

Installation

To begin, ensure you have the OpenClaw environment initialized in your desired working directory. Run the following commands:

clawhub install xhs-skill
cd skills/xhs-skill
npm i

Ensure that your workspace contains a data/ directory for secure storage of local assets, cookies, and export files. This directory is essential for the skill to function as it isolates sensitive data from the conversation history.

Use Cases

  • Seamless Authentication: Automate the login process to the Xiaohongshu Creator Center by generating QR codes and performing post-login validation.
  • Cookie Persistence: Export, normalize, and verify cookies locally to maintain long-lived sessions, reducing the need for constant re-authentication.
  • Data Export: Extract creator statistics, performance metrics, and post history directly into your local data/exports/ directory for offline analysis.
  • Content Management: Upload assets and publish content by leveraging the agent's stealth browser capabilities to mimic human interaction.

Example Prompts

  1. "Please initiate the login process for my Xiaohongshu Creator account and show me the QR code for scanning."
  2. "I have finished scanning the login QR code. Please verify my session, save my cookies to the local directory, and check if I can access the dashboard."
  3. "Export my latest post performance data from the Xiaohongshu Creator Center and save the results as a CSV in my data directory."

Tips & Limitations

  • Stability: Always run tasks serially. Concurrent browser operations can lead to os error 35.
  • Validation: Never assume a successful login just because a QR code was scanned; always perform the provided post-login verification to ensure the session is active.
  • Sensitive Data: Sensitive files such as cookies and session data are stored locally in the data/ folder. For your security, avoid pasting these contents into the chat interface.
  • Snapshotting: The skill relies on UI element locations; ensure that you refresh the snapshot state (snapshot -i) before executing critical clicks or input actions to avoid element drift.

Metadata

Stars1656
Views1
Updated2026-02-28
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-leeguooooo-xhs-skill": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#xiaohongshu#automation#cookies#creator-center#browser
Safety Score: 3/5

Flags: network-access, file-write, file-read, code-execution