xiaohongshu-upload

xiaohongshu-upload is a skill for Claude Code, Codex from dreammis/social-auto-upload. It costs 95 tokens per session (807 once invoked), scanned A, original, MIT.

A workflow for using the sau command-line tool to log in to Xiaohongshu, a Chinese social media platform, check account cookies, and publish videos or image-and-text posts.

In plain words
What is it for?
Use it to refresh or verify Xiaohongshu login data, upload videos, or publish image-and-text posts with titles, notes or descriptions, and tags.
Why use it?
It provides a repeatable set of commands and troubleshooting references instead of requiring you to inspect uploader code or choose commands by trial and error.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to refresh or verify Xiaohongshu login data, upload videos, or publish image-and-text posts with titles, notes or descriptions, and tags.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dreammis/social-auto-upload/xiaohongshu-upload
About the project

social-auto-upload is an automation tool for uploading and scheduling videos across social media platforms including Douyin, Bilibili, Xiaohongshu, TikTok, and YouTube. Content creators and operators use it for repeatable multi-platform publishing, while its catalogue skills expose these upload workflows to coding agents.

dreammis/social-auto-upload · 14,876 stars · on GitHub · sap-doc.nasdaddy.com

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add dreammis/social-auto-upload --skill xiaohongshu-upload
Clone the repo
git clone --depth 1 https://github.com/dreammis/social-auto-upload

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for xiaohongshu-upload

README.md
[![agentmods](https://agentmods.dev/badge/skills/dreammis/social-auto-upload/xiaohongshu-upload/github.svg)](https://agentmods.dev/skills/dreammis/social-auto-upload/xiaohongshu-upload)
Your own site
<a href="https://agentmods.dev/skills/dreammis/social-auto-upload/xiaohongshu-upload"><img src="https://agentmods.dev/badge/skills/dreammis/social-auto-upload/xiaohongshu-upload/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for xiaohongshu-upload

Your own site · 80×15
<a href="https://agentmods.dev/skills/dreammis/social-auto-upload/xiaohongshu-upload"><img src="https://agentmods.dev/badge/skills/dreammis/social-auto-upload/xiaohongshu-upload.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 95 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 807 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00095 $0.00807
Opus 5 $0.00048 $0.00404
Sonnet 5 $0.00019 $0.00161
Haiku 4.5 $0.00010 $0.00081

Measured 11d ago against content hash 7485a9e31cf4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

xiaohongshu-upload scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/examples/xiaohongshu_cli_template.py, scripts/examples/xiaohongshu_commands.ps1, scripts/examples/xiaohongshu_commands.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/xiaohongshu-upload/SKILL.md · 71 lines

What it actually says

小红书上传 Skill

优先把 sau 作为主接口。

不要假设当前环境一定能读取仓库源码。 不要一开始就去读 uploader/。 只有在命令不可用或 CLI 执行失败时,才回退到故障排查说明。

功能概览

功能 命令入口 说明
小红书登录 sau xiaohongshu login --account <name> 生成或刷新指定账号的 cookie
cookie 校验 sau xiaohongshu check --account <name> 检查指定账号 cookie 是否有效
视频上传 sau xiaohongshu upload-video ... 上传并发布小红书视频
图文上传 sau xiaohongshu upload-note ... 上传并发布小红书图文

元数据约定:

  • 视频使用 title + desc + tags
  • 图文使用 title + note + tags

默认工作流

  1. 先确认 references/runtime-requirements.md 里的运行前提。
  2. 再确认 references/cli-contract.md 里的命令契约。
  3. 执行匹配的 sau xiaohongshu ... 命令。
  4. 如果命令失败,再看 references/troubleshooting.md

支持动作

  • 使用 sau xiaohongshu login --account <name> 登录小红书
  • 使用 sau xiaohongshu check --account <name> 校验 cookie 是否有效
  • 使用 sau xiaohongshu upload-video ... 上传小红书视频
  • 使用 sau xiaohongshu upload-note ... 上传小红书图文

命令选择建议

  • 当用户需要新的 cookie,或现有 cookie 已失效时,使用 login
  • 当用户只需要确认 cookie 状态时,使用 check
  • 当用户要发布视频时,使用 upload-video
  • 当用户要发布图文时,使用 upload-note

执行前检查

  • 先确认当前 shell 里是否可以调用 sau
  • 如果 sau 不可用,按 references/runtime-requirements.md 里的回退方式处理
  • 当用户明确指定无头或有头模式时,显式传 --headless--headed
  • 只有用户明确要求定时发布时,才使用 --schedule
  • 如果登录流程生成了本地二维码图片,不要只把图片路径告诉用户
  • 二维码图片本身就是给用户扫码的,优先直接把本地图片展示/发送给用户

模板文件

当你需要稳定的命令模板时,使用 scripts/examples/ 下的文件:

  • xiaohongshu_commands.ps1
  • xiaohongshu_commands.sh
  • xiaohongshu_cli_template.py

参考文档

  • 运行前提:references/runtime-requirements.md
  • CLI 契约:references/cli-contract.md
  • 故障排查:references/troubleshooting.md
Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 71 lines · 95 tokens per session scan A 7485a9e31cf4

Subscribe to this mod's changes

xiaohongshu-upload is a skill published in the GitHub repository dreammis/social-auto-upload (14,876 stars, last pushed 8d ago), licensed MIT. It adds 95 tokens to every session and 807 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

opencli-usage

Use when running OpenCLI commands to interact with websites (Bilibili, Twitter, Reddit, Xiaohongshu, etc.), desktop apps (Cursor, Notion), or public APIs (HackerNews, arXiv). Covers installation, command reference, and output formats for 100+ adapters.

zxfccmm4/Obsidian-OpenCode-Knowledge · 66 tokens

qiaomu-opencli-usage

Use when running OpenCLI commands to interact with websites (Bilibili, Twitter, Reddit, Xiaohongshu, etc.), desktop apps (Cursor, Notion), or public APIs (HackerNews, arXiv). Covers installation, command reference, and output formats for 79+ adapters.

joeseesun/qiaomu-opencli-skills · 69 tokens

zernio

Schedule posts, manage inbox, broadcasts, sequences, and automations across 14 platforms from the CLI.

zernio-dev/zernio-cli · 24 tokens

laohan-chuangzuo

A writing workflow for spoken-video scripts. It accepts an outline, raw text, a recording, a web-link queue, or a free-form topic, then organizes the material before writing the script.

hanzhcn/laohan-skills · 176 tokens

laohan-skillcreator

A skill-development tool for creating, reviewing, repairing, and improving Agent Skills, which are reusable instructions that guide coding agents through specialized work.

hanzhcn/laohan-skills · 87 tokens

laohan-redian

A topic-selection workflow for spoken videos. It gathers current AI signals and TikTok evidence, compares possible tutorial or opinion topics, and selects one topic that can be produced and reviewed later.

hanzhcn/laohan-skills · 123 tokens