xhs-publisher

Prepare Xiaohongshu posts by filling forms with DOM selectors.

1|Updated Mar 18, 2026
One-click install
npx skills add https://github.com/xxih/ai-harness-zh --skill xhs-publisher
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: xhs-publisher
Source: https://github.com/xxih/ai-harness-zh/tree/main/references/translations/byheaven-skills/plugins/xhs-publisher/skills/xhs-publisher
Command: npx skills add https://github.com/xxih/ai-harness-zh --skill xhs-publisher

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Many creators struggle with the repetitive, multi‑step process of publishing posts on Xiaohongshu, manually handling URLs, image generation, form filling, and tag insertion, which wastes time and introduces errors.

Core Features & Use Cases

  • Dual workflow support: Handles short text‑image posts (<140 characters) and long article posts (≥140 characters) with appropriate entry URLs.
  • Step‑by‑step DOM actions: Provides precise selectors and scripted actions for navigating the platform, generating images, filling titles, content, and tags.
  • Safety safeguards: Includes explicit warnings to stop before the final “publish” click, ensuring user review and preventing unauthorized posting.
  • Use case example: An influencer can prepare a complete Xiaohongshu post—title, images, body, and hashtags—in minutes, then manually confirm the final publish step.

Quick Start

Use the xhs-publisher skill to draft a Xiaohongshu post with title, content, images, and tags, then review before publishing.

Frequently Asked Questions about xhs-publisher

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Xiaohongshu publishing for text and image posts?

Automate Xiaohongshu publishing by using scripted DOM selectors to navigate the creator platform, generate images, and fill in titles, content, and tags for both short and long posts.

Can I automatically publish Xiaohongshu posts without manual review?

No, automated Xiaohongshu publishing stops before the final click. Explicit safety safeguards halt the script before the final publish step, ensuring you manually review and confirm the post.

What is the difference between short text and long article formats on the Xiaohongshu creator platform?

Short text-image posts are under 140 characters and use specific entry URLs, while long article posts are 140 characters or more and require different platform navigation for form assembly.

How do I fill Xiaohongshu post forms using DOM selectors?

Fill Xiaohongshu post forms by applying precise DOM selectors that script actions for navigating the platform, generating images, and automatically inputting titles, body content, and hashtags.

Does automated Xiaohongshu publishing work for both short text and long articles?

Yes, the automation supports both short text-image posts and long article formats on the Xiaohongshu creator platform, applying appropriate entry URLs and form filling actions for each type.

Why does my Xiaohongshu automation script stop before publishing?

Xiaohongshu automation scripts stop before publishing due to built-in safety safeguards that prevent unauthorized posting, requiring you to manually review the assembled data and click publish.