ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified social Safety 4/5

xiaohongshu-publisher

Automatically publish notes to Xiaohongshu (小红书) creator center. Generates cover images (PIL poster, multiple styles), writes content from templates, and publishes via Playwright browser context. Cross-platform (Windows/macOS/Linux). Login once, publish many times. Use when user wants to post to 小红书, XHS, or Red Note.

Why use this skill?

Automate your Xiaohongshu workflow with this powerful skill. Generate content, design custom cover images, and publish directly to the Red Note Creator Center.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/harveyzzzz/xhsredbook
Or

What This Skill Does

The xiaohongshu-publisher skill is a powerful automation tool designed for content creators to streamline their workflow on Xiaohongshu (Red Note). It automates the end-to-end publishing process, from intelligent content generation and high-quality cover image design to the final upload via a controlled browser context. By utilizing Playwright, it mimics human interaction, ensuring that notes are published reliably to the Xiaohongshu Creator Center. The tool features a robust template system covering six major topics—food, travel, fashion, tech, lifestyle, and fitness—allowing users to generate engaging titles and captions instantly. Its design engine supports dynamic cover image creation with diverse layouts, textures, and color schemes, ensuring your content stands out in the feed.

Installation

To integrate this skill, first ensure your environment has Python and the necessary browser dependencies installed:

  1. Execute the installation command: clawhub install openclaw/skills/skills/harveyzzzz/xhsredbook
  2. Install the core requirements: pip install playwright pillow
  3. Initialize the browser environment: playwright install chromium
  4. For a smooth initial experience, run python scripts/save_login.py to establish a persistent session, allowing for future seamless automated publishing.

Use Cases

This skill is perfect for social media managers, influencers, and digital marketers. Use it to:

  • Automate daily posting schedules across multiple accounts.
  • Generate bulk content from a centralized template library to maintain consistent posting frequency.
  • Batch-produce visual cover images with specific branding styles.
  • Reduce time spent on manual input by leveraging the browser automation flow.

Example Prompts

  1. "Publish a new note about the latest AI trends in tech using the tech template and generate 3 custom cover images."
  2. "I have a food blog post ready, please use the food template to generate content and upload these three photos: food1.jpg, food2.jpg, food3.jpg to Xiaohongshu."
  3. "Help me create and publish a lifestyle note. Use my existing profile session and set the title to 'Weekend Getaway Ideas'."

Tips & Limitations

  • Login Persistence: Always use the --profile-dir parameter or environment variable to reuse your login session, preventing the need for repetitive 2FA verification.
  • Content Quality: While the skill generates content, always review the generated text before final publishing to ensure it aligns with your personal tone of voice.
  • Browser Headless: The tool operates via browser automation; monitor the screenshots/ directory if you encounter issues with element selection or form submission.
  • Safety: Ensure you have permissions to the images you are uploading, and be mindful of Xiaohongshu's community guidelines regarding frequent automated actions to avoid account flagging.

Metadata

Stars2387
Views1
Updated2026-03-09
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-harveyzzzz-xhsredbook": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#social-media#xiaohongshu#automation#content-creation#browser-automation
Safety Score: 4/5

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