Xiaohongshu Post Automation for Openclaw

An automated publishing tool that handles image uploads, content formatting, and post submission for the Xiaohongshu Creator Platform.

nandyqiqi
v1.1.0
Mar 6, 2026
0
2.8k
14

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install xiaohongshu-post

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-post 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 Post Automation?

The Xiaohongshu Post Automation skill is designed to bridge the gap between local content creation and social media distribution. By leveraging Openclaw Skills, developers can automate the repetitive process of navigating the Xiaohongshu Creator Platform, uploading high-resolution images from the desktop, and populating post metadata like titles and descriptions. This skill specifically addresses the technical challenge of cross-permission file access, ensuring that local assets are securely and efficiently transferred to the browser environment for publication.

Xiaohongshu Post Automation Use Cases

  • Automating daily content updates for social media marketing teams.
  • Synchronizing product showcases from local databases to Xiaohongshu.
  • Batch uploading photography or design portfolios directly from desktop directories.
  • Streamlining the workflow for creators managing multiple social accounts via automation.

How Xiaohongshu Post Automation Works

  1. Directs the automated browser to the Xiaohongshu publishing interface.
  2. Executes a local script to identify and move target images from the user's desktop to a accessible temporary directory.
  3. Triggers the web upload button and immediately injects the file path to maintain the browser's file-input context.
  4. Fills the title and body text fields based on provided content strings.
  5. Submits the post and verifies the publishing success message.

Xiaohongshu Post Automation Setup

First, ensure you are logged into your account at https://creator.xiaohongshu.com. The skill requires the Openclaw browser extension to be connected via the chrome profile. Prepare your environment by creating the necessary upload directory:

# Ensure the temporary upload path exists
mkdir -p /tmp/openclaw/uploads

When using Openclaw Skills for this workflow, make sure your images are placed in an accessible local folder that the script can reference.

Xiaohongshu Post Automation Data Schema & Taxonomy

The skill manages data through a combination of local file system paths and web form fields:

Feature Data Type Description
paths Array of Strings Absolute local paths to images for the post.
title String The headline of the post (max 20 characters recommended).
content String The main body of the post, including hashtags.
profile String Defaults to 'chrome' to utilize existing user sessions.

Xiaohongshu Post Automation Advanced Features

  • Immediate File Injection: Eliminates latency between clicking the upload button and selecting files to prevent browser timeout errors.
  • Sequential Image Support: Logic for handling multiple image uploads (up to 18) by iteratively interacting with the platform's 'add' button.
  • Session Persistence: Works directly with your existing Chrome profile to bypass complex login and multi-factor authentication steps.
  • Cross-Platform File Bridging: Uses PowerShell or shell commands to bypass browser sandboxing for local file access.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*