XHS Publisher Skill

Official

Publish to 小红书 with auto image compression.

AuthorMushroomDAO
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It solves the time-consuming and failure-prone process of publishing posts to 小红书 by automatically compressing and formatting images to meet 小红书 constraints, then publishing via an MCP service.

Core Features & Use Cases

  • Automatic image compression (~200KB, 3:4 ratio): Converts/resize images to 900x1200, strips metadata, and iteratively lowers quality (85→75→65→55→45) until the target size is reached.
  • MCP-based publishing workflow: Checks MCP health and verifies login status (requires prior QR login) before calling the publish endpoint.
  • Content optimization & publishing: Generates a post title, content, and up to 10 tags for the publish request, using an optimizer layer.
  • Use Case: You want to publish an article with food or lifestyle photos without manually editing image size/quality and without getting upload timeouts.

Quick Start

Use the xhs-publisher publish script to publish your content file and images by running: ./.agents/skills/xhs-publisher/scripts/publish.sh content.txt --images photo.jpg

Dependency Matrix

Required Modules

None required

Components

scriptsassetsreferences

💻 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 Publisher Skill
Download link: https://github.com/MushroomDAO/blog/archive/main.zip#xhs-publisher-skill

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.