xhs-publisher
NewBrowser-automated Xiaohongshu (RedNote) publishing for text-and-image posts and photo-note workflows.
Summary
Automate Xiaohongshu (RedNote) publishing with browser automation to post text-and-image content and photo-note workflows directly from your terminal.
- This skill removes the manual steps of logging in, uploading media, and filling in post details, letting you schedule or publish content programmatically.
Overview
A collection of agent skills for code and productive work, built to help you set up faster, automate repetitive tasks, and get real work done with less friction.
This repository packages practical agent workflows you can actually use: project setup, publishing flows, and repeatable automation that removes busywork and helps you ship faster.
Skills
- •xhs-publisher — Xiaohongshu (RedNote) auto publisher (browser automation)
- •newproject — Self-contained full project setup: scaffolding, CI, linting, release automation, GitHub repo config, dependency management, and security scanning
Installation
Claude Code — plugin (recommended)
Installing as a plugin gives you auto-updates and a packaged experience in Claude Code:
/plugin marketplace add byheaven/byheaven-skillsOther AI tools — npx skills
npx skills add byheaven/byheaven-skillsContributing
See CONTRIBUTING.md for guidelines on adding skills, commit conventions, and PR process.
License
MIT License
Install & Usage
/plugin marketplace add <org/repo>Add the configuration to /plugin install xhs-publisher@<marketplace>
/pluginUse Cases
Usage Examples
/xhs-publisher publish --title 'My First Post' --body 'Hello RedNote!' --images ./photos/*.jpg
/xhs-publisher batch --file posts.json
Publish a photo note with the image sunset.jpg and caption 'Beautiful sunset at the beach'
Security Audits
Frequently Asked Questions
What is xhs-publisher?
Automate Xiaohongshu (RedNote) publishing with browser automation to post text-and-image content and photo-note workflows directly from your terminal. This skill removes the manual steps of logging in, uploading media, and filling in post details, letting you schedule or publish content programmatically.
How to install xhs-publisher?
To install xhs-publisher: add a marketplace (/plugin marketplace add <org/repo>), then add the config to /plugin install xhs-publisher@<marketplace>. Finally, /plugin in Claude Code.
What is xhs-publisher best for?
xhs-publisher is a plugin categorized under General. It is designed for: xiaohongshu, rednote, social-publishing, browser-automation, content-publishing, publishing. Created by Yubai.
What can I use xhs-publisher for?
xhs-publisher is useful for: Publish a text-and-image post to Xiaohongshu with a single command, including title, body, and up to 9 images.; Automate photo-note publishing where each note consists of a single image with optional caption, ideal for product showcases or travel diaries.; Schedule multiple posts in advance by providing a JSON file with post content and desired publish times.; Repurpose content from other platforms (e.g., Twitter threads or blog posts) into Xiaohongshu format with automated formatting.; Batch upload and publish a series of photo notes for a campaign, ensuring consistent branding and timing.; Integrate Xiaohongshu publishing into a CI/CD pipeline for automated social media updates after code deployments..