Xiaohongshu Operations (XHS Ops) for Openclaw

A comprehensive automation skill for managing end-to-end Xiaohongshu operations including profile configuration, AI content generation, and independent browser publishing.

spencer17x
v0.1.0
Apr 9, 2026
0
730
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install rednote-ops

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-ops 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 Operations (XHS Ops)?

The Xiaohongshu Ops skill is a powerful addition to the Openclaw Skills ecosystem, designed to act as a single entry point for professional RedNote account management. It enables developers and creators to define a persistent operating profile that dictates brand positioning, audience targeting, and house style. By integrating content generation with sophisticated image sourcing strategies, the skill ensures that every post remains high-quality and on-brand while adhering to strict platform constraints.

Beyond simple generation, this skill prioritizes security and automation through a dedicated independent browser flow. It handles the complexities of publishing by using a specific user data directory, separating your professional operations from standard browsing. With built-in safety rules for watermark management and an auto-learning mode for trend analysis, it represents a complete solution for scaling presence on one of the world's most influential social commerce platforms.

Xiaohongshu Operations (XHS Ops) Use Cases

  • Automating the creation of daily Xiaohongshu posts in a consistent house style.
  • Securely publishing content via an independent browser profile to isolate account data.
  • Implementing a daily trend-learning workflow that updates local reference files without manual intervention.
  • Generating visual assets using multiple strategies including stock images and cards-lite layouts.
  • Testing the full end-to-end publishing pipeline for new RedNote accounts.

How Xiaohongshu Operations (XHS Ops) Works

  1. The skill reads the profile configuration from data/xiaohongshu/profile.json to establish the operating context.
  2. If no profile exists, it initiates a concise setup interview to define positioning, style, and publishing preferences.
  3. It fetches current operating rules from local markdown files to ensure compliance with platform constraints.
  4. AI-driven content generation creates titles, body text, and page structures tailored to the configured audience.
  5. The system selects an image strategy (stock, cards, or mixed) and prepares assets while checking for watermarks.
  6. Finally, the skill executes a publishing workflow through a dedicated browser instance at ~/.openclaw/browser/xhs-independent-user-data.

Xiaohongshu Operations (XHS Ops) Setup

To get started with this skill in your Openclaw Skills environment, follow these steps:

  1. Initialize your operating profile:
node scripts/init_profile.js
  1. Configure your RedNote account within the dedicated browser profile located at ~/.openclaw/browser/xhs-independent-user-data to enable automated publishing.
  2. Review and customize your local rules in data/xiaohongshu/rules.md to match your specific content goals.

Xiaohongshu Operations (XHS Ops) Data Schema & Taxonomy

The skill manages its state and assets using a structured file hierarchy:

File/Path Purpose
data/xiaohongshu/profile.json Persistent configuration including brand voice, audience, and image modes.
data/xiaohongshu/rules.md Local source of truth for title lengths and content constraints.
references/ Directory containing JSON schemas, content templates, and workflow guides.
/tmp/openclaw/uploads/xhs_* Temporary storage for generated images and post drafts during the runtime lifecycle.

Xiaohongshu Operations (XHS Ops) Advanced Features

  • Auto-learning capability that treats trend and style learning as a daily background reference task.
  • Support for multiple image sourcing pipelines, including stock provider integration and automated card generation.
  • Built-in watermark safety logic that automatically rejects and replaces infringing image sources.
  • Independent browser profile support to ensure secure, isolated publishing sessions.
  • Structured reference system that allows for deterministic execution of scripts like build_xhs_post.js and xhs_publish.js.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*