xhs-longform-private-publisher
CommunityPrivately publish Markdown longforms to Xiaohongshu
Authorcnfjlhj
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Moves an existing Markdown longform and its images into Xiaohongshu's longform editor without rewriting content, automating the repetitive, error-prone steps of manual copy-paste, image uploads, layout, and verification so authors can publish reliably as private posts.
Core Features & Use Cases
- Lossless transfer: preserve original wording, heading structure, lists, code blocks and other Markdown semantics by converting parts to HTML before insertion.
- Ordered image insertion: detect Markdown image placeholders, enforce image count policies, and upload images in the exact placeholder order.
- One-click layout and private publish: automate the platform's "one-click layout" flow, set visibility to "仅自己可见" (private), and capture manager-page proof screenshots.
- Validation and recoverability: payload validation, clear error messages for mismatched parts/images, retry strategies, and a run summary JSON for repeatable execution.
- Use case: ideal when you have a finished Markdown article with a folder of images and want to publish it unchanged as a private Xiaohongshu longform while collecting evidence for review.
Quick Start
Convert your Markdown and ordered images into the publishing payload and run the publisher to post privately and collect screenshots for verification.
Dependency Matrix
Required Modules
markdownplaywright
Components
scriptsreferences
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: xhs-longform-private-publisher Download link: https://github.com/cnfjlhj/ai-collab-playbook/archive/main.zip#xhs-longform-private-publisher Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.