XHS Note Generator for Openclaw

An AI-powered automation skill designed to generate professional XiaoHongShu notes, including copy, tags, and images via the Xiaonian API.

yc556600
v1.0.2
Mar 18, 2026
8
1.3k
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install xhs-note-gen

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-note-gen 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 XHS Note Generator?

XHS Note Generator is a specialized utility within the Openclaw Skills ecosystem that streamlines the process of creating high-engagement content for XiaoHongShu (Red). It leverages external AI APIs to transform simple user prompts into formatted social media posts complete with optimized titles, body text, hashtags, and visual assets. This skill is particularly valuable for creators and marketers who need to maintain a high frequency of posting without sacrificing content quality or brand voice consistency.

XHS Note Generator Use Cases

  • Rapidly generating multiple versions of product reviews for social media testing.
  • Automating the creation of lifestyle content from brief task descriptions.
  • Scaling brand presence on XiaoHongShu by producing ready-to-publish drafts in seconds.
  • Creating localized content with specific tones such as professional, friendly, or natural.

How XHS Note Generator Works

  1. The AI agent captures the user's content requirements and converts them into a structured task description.
  2. Optional parameters like target audience, character persona, and tone are applied to ensure brand alignment.
  3. The skill executes a Python script that calls the Xiaonian API's one-shot generation endpoint.
  4. The API returns a JSON payload containing the title, content, relevant hashtags, and generated image URLs.
  5. The agent formats this data into a clean, readable layout for the user to review and publish.

XHS Note Generator Setup

To use this skill within the Openclaw Skills framework, ensure you have Python 3 installed. The skill communicates with a public API endpoint and currently requires no manual authentication keys.

Run the following command to generate a note:

python3 skills/local/xhs-note-gen/scripts/xhs_note_gen.py \
  --task-description "Your content topic" \
  --generate-num 1

XHS Note Generator Data Schema & Taxonomy

The skill processes and returns data based on the following schema to ensure high-quality output for Openclaw Skills users:

Property Type Description
title String Catchy, SEO-optimized headline for the post
content String The main body of the XiaoHongShu note
tags Array List of relevant hashtags for reach
image_urls Array Direct links to AI-generated visual assets
note_type String The category of the note (e.g., Tool Evaluation)

XHS Note Generator Advanced Features

  • Multi-Version Generation: Create up to 3 different variations of a single prompt for better creative options.
  • Granular Image Control: Explicitly set the number of images or disable image generation entirely using the --no-generate-image flag.
  • Custom Personas: Define specific roles such as Professional Expert or Friendly Sharer to tailor the output voice.
  • Error Diagnostics: Provides detailed feedback and messages directly from the content API for troubleshooting failed requests.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*