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