Skip to content

Xiaohongshu Video and Note Publisher

Log in to Xiaohongshu, check cookies, and publish videos or image notes via the sau CLI.

Stars
16,023
Licence
MIT
Files
6 files

What it does

This skill teaches an AI agent to use the sau command-line tool from the social-auto-upload project to manage Xiaohongshu (Little Red Book) accounts. The agent can log in and save a per-account cookie, check whether that cookie is still valid, and publish a video or an image-based note with a title, description and tags. It tells the agent to prefer these commands over reading the project's source code, and to consult the reference docs only when a command fails.

Great for

  • Creators who already run social-auto-upload and want an agent to publish Xiaohongshu posts
  • Marketing teams batch-posting videos or image notes across several named accounts
  • Developers scripting repeatable Xiaohongshu publishing workflows

Skip it if

  • Users who have not installed social-auto-upload and the sau command, since the skill cannot work without it
  • Anyone wanting to post to other platforms, as this only covers Xiaohongshu
  • Use on accounts you do not own or have no right to post for, because it automates logins and publishing on a third-party platform and may breach its terms

Try asking

  • “Log in to my Xiaohongshu account named brand_main and check that the cookie still works”
  • “Upload video demo.mp4 to Xiaohongshu with the title and tags cli,video, using headless mode”
  • “Publish an image note from videos/1.png and videos/2.png with a title and tags”
  • “Refresh the cookie for account_a because the last upload failed with an expired login”
Step-by-step guide: how to use Xiaohongshu Video and Note PublisherInstall, first run, examples, tips and FAQs

Install in 3 steps

  1. 1

    Download the skill

    The ZIP contains the 6 original files, the MIT licence and an attribution note.

    xiaohongshu-upload.zip
  2. 2

    Add it to your agent

    Claude Code (all projects)

    mkdir -p ~/.claude/skills && unzip xiaohongshu-upload.zip -d ~/.claude/skills/

    Claude Code / Agent SDK (this project only)

    mkdir -p .claude/skills && unzip xiaohongshu-upload.zip -d .claude/skills/

    Claude apps (web/desktop): Settings → Capabilities → Skills → Upload skill, and choose the ZIP.

  3. 3

    Ask for the task

    No special command needed — the agent reads the skill's description and loads it when your request matches. Try one of the prompts above.

Get better results

  • Run sau xiaohongshu check before publishing to avoid failures from expired cookies
  • Use distinct account names for each Xiaohongshu account; each name maps to its own cookie file
  • Only add --schedule when you explicitly need a scheduled post, and display login QR images directly to the user rather than just giving the file path

What's inside

  • references/cli-contract.md
  • references/runtime-requirements.md
  • references/troubleshooting.md
  • scripts/examples/xiaohongshu_cli_template.py
  • scripts/examples/xiaohongshu_commands.sh
  • SKILL.md

Redistributed unmodified from dreammis/social-auto-upload under the MIT licence. The assessment was drafted with AI from the skill's files on 2026-10-29. Skills can instruct your agent to run code — read SKILL.md and any scripts before installing.