yanquankun/redbook-creator-publish
Overview
This skill automates creation and publishing of Xiaohongshu (Redbook) style posts. It generates a platform-ready title, body, tags, and a 9:16 PNG cover image, saves local preview files, and by default attempts automated upload to the Xiaohongshu creator platform. If automatic upload fails, it provides step-by-step manual upload instructions.
How this skill works
The skill performs a mandatory deep search on the chosen topic to collect up-to-date sources and examples, then produces a short hook title, a 300–500 word post body, and relevant tags following Xiaohongshu style. It renders an HTML template for a 1080x1920 cover, converts that to a PNG via headless Chromium, writes preview HTML/MD/TXT/config files in a local folder, and runs a Playwright Python script to automate the browser upload. If any automation step fails, detailed diagnostics and manual upload guidance are output automatically.
When to use it
- Create a full Xiaohongshu-style post (title, body, tags, cover image) ready for publishing
- When you want automatic upload to the Xiaohongshu creator platform with fallbacks
- Generate local previews and export files for review or scheduled posting
- Convert a content brief or keyword into a formatted, platform-optimized post
- Rapidly prototype multiple post drafts with consistent visual design
Best practices
- Provide a clear topic or keyword to guide the mandatory deep search for accurate and current sources
- Keep the desired tone and audience in mind so the generated body matches voice expectations
- Review generated images and preview HTML before publishing to ensure text clarity and compliance
- Ensure Python 3+ and Playwright are installed and network/browser access is available prior to automated upload
- Adjust DOM selector environment variables if the Xiaohongshu platform layout changes
Example use cases
- Turn a trending tech topic into a platform-ready post with one command and immediate upload
- Produce a content batch: generate post drafts, cover images, and local previews for an editor to review
- Create a step-by-step tutorial post with matching cover image and export as MD/HTML for repurposing
- Automate publishing of marketing or product posts to the creator platform, with fallback manual instructions if automation fails
FAQ
The skill detects missing components, attempts automatic Playwright installation, and will stop with clear installation instructions if Python 3+ is absent.
Will it always upload automatically without confirmation?
Yes — by design the skill defaults to automatic upload. If automation fails for any reason, it outputs a complete manual upload guide and local files to finish publishing manually.