Xiaohongshu Auto Publisher

v0.0.1

Posts content (images/videos) to Xiaohongshu (Little Red Book) automatically using Playwright. Use this skill when you need to publish content to Xiaohongshu.

0· 186·0 current·0 all-time
byYi Xu@widebluesky

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for widebluesky/xiaohongshu-auto-publisher.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "Xiaohongshu Auto Publisher" (widebluesky/xiaohongshu-auto-publisher) from ClawHub.
Skill page: https://clawhub.ai/widebluesky/xiaohongshu-auto-publisher
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install xiaohongshu-auto-publisher

ClawHub CLI

Package manager switcher

npx clawhub@latest install xiaohongshu-auto-publisher
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description match the included artifacts: both scripts use Playwright to log in and publish to Xiaohongshu. No unrelated binaries or credentials are requested.
Instruction Scope
Instructions are narrowly scoped to interactive login and posting. They instruct saving/loading a storage_state (state.json) in the skill directory — this contains authentication cookies/tokens and is sensitive. No evidence the scripts read other system files or exfiltrate data to third‑party endpoints.
Install Mechanism
No install spec in the registry; SKILL.md tells the user to pip install Playwright and run playwright install chromium (standard). The docs mention 'requests' though the shipped scripts do not use it — minor inconsistency but not malicious.
Credentials
The skill requires no environment variables or external credentials, which is proportionate. However, it stores the authenticated browser state (cookies/tokens) in state.json under the skill folder; that file grants access to the logged-in Xiaohongshu account and should be protected or stored in a secure location.
Persistence & Privilege
always:false and no system-wide changes. The skill writes only its own state.json in its directory (normal for Playwright session persistence) and does not modify other skills or global agent configuration.
Assessment
This skill appears to do what it says: automate an interactive login (via your browser) and then publish using the saved Playwright storage state. Before installing or running it: (1) review the two Python scripts yourself (they are short and readable); (2) be aware state.json will contain session cookies/tokens — store it securely, or remove it when you no longer need automated publishing; (3) prefer running the initial login and publishing in an isolated environment or with a dedicated Xiaohongshu account if you’re concerned about credential exposure; (4) install Playwright via the documented steps (pip install playwright && playwright install chromium); and (5) note SKILL.md references the 'requests' package though the code does not use it (harmless, but a minor documentation mismatch). If you need stronger assurance, run the scripts in a disposable VM or container so the saved state and browser artifacts remain isolated.

Like a lobster shell, security has layers — review code before you run it.

latestvk975804fzx0hsjexk07nxwwm1983qvjb
186downloads
0stars
1versions
Updated 1mo ago
v0.0.1
MIT-0

Xiaohongshu Publisher

This skill automates the process of posting content to Xiaohongshu (Little Red Book) using Playwright. It supports both image and video uploads, along with title and content (description) text.

Setup Instructions

  1. Install Dependencies:

    pip install playwright requests
    playwright install chromium
    
  2. Initial Login: Before you can post, you must perform a manual login once to save your session state. Run the login script:

    python .trae/skills/xhs-publisher/scripts/login.py
    

    This will open a browser window. Scan the QR code or log in using your preferred method. Once logged in, the script will save the session to state.json.

Usage

To post content, use the post.py script:

python .trae/skills/xhs-publisher/scripts/post.py \
  --title "Your Post Title" \
  --content "Your post description here. #tags" \
  --files "/path/to/image1.jpg" "/path/to/image2.png"

Arguments

  • --title: The title of the post.
  • --content: The description or caption for the post.
  • --files: One or more paths to the images or video files you want to upload.

Notes

  • The script uses a visible browser window by default (headless=False) to help you monitor the process and handle any unexpected popups or captchas.
  • Ensure your files are in supported formats (e.g., JPG, PNG, MP4).

Comments

Loading comments...