← Back to Skills Marketplace
kukuoai

小红书内容分发助手

by kukuoAI · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
24
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install xiaohongshu-content-distribution-tool
Description
小红书视频/图文自动上传 skill。当用户需要登录小红书、校验账号或上传内容时使用。基于 social-auto-upload 项目,OPclaw 自动准备运行环境,无需用户手动安装。
README (SKILL.md)

小红书上传 Skill

本 skill 通过 social-auto-upload 项目(以下简称 SAU)完成小红书操作。OPclaw 自带 uv 工具,会在首次使用时自动 clone SAU 并准备依赖,不要让用户手动 pip install

功能概览

功能 子命令 说明
登录 login --account \x3Cname> 用户在本机真实终端里执行,扫码完成
校验 check --account \x3Cname> 检查指定账号 cookie 当前是否有效
视频上传 upload-video ... 上传一条小红书视频
图文上传 upload-note ... 上传一条小红书图文

元数据约定:

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

默认工作流

  1. 先确认环境就绪 —— 见 references/runtime-requirements.md
  2. 再确认命令格式 —— 见 references/cli-contract.md
  3. 执行匹配的 python sau_cli.py xiaohongshu ... 命令
  4. 失败时查 references/troubleshooting.md

命令选择建议

  • 用户需要新的 cookie 或现有 cookie 失效 → 用 login
  • 用户只想确认 cookie 状态 → 用 check
  • 用户要发视频 → 用 upload-video
  • 用户要发图文 → 用 upload-note

执行前必做检查(agent 行为约定)

执行任何 python sau_cli.py xiaohongshu ... 之前,必须references/runtime-requirements.md 的"自动准备流程"完成环境校验:

  1. 检查 ~/.openclaw/social-auto-upload 是否存在
  2. 不存在则自动 clone + uv sync --python 3.12
  3. 准备好后,所有调用都用 uv run --project ~/.openclaw/social-auto-upload python sau_cli.py xiaohongshu ...
  4. 不要直接 sau xiaohongshu ...(这条命令不存在)
  5. 网络失败时git clone 直连超时/失败,agent 必须自动gh-proxy.org / gh-proxy.com / hub.gitmirror.com 三个镜像依次重试,严禁第一次失败就告诉用户'无法访问 GitHub'。详见 references/runtime-requirements.md Step 2
  6. 当用户明确指定无头或有头模式时,显式传 --headless--headed
  7. 只有用户明确要求定时发布时,才使用 --schedule

登录注意事项

  • login 命令应由用户自己在本机终端执行,agent 在非交互环境下不要硬跑
  • 如果终端二维码显示不完整,提醒用户打开 SAU 仓库目录下的 qrcode.png 扫码
  • 一个 --account \x3Cname> 对应一个本地账号文件,可用于多账号隔离
  • 如果登录流程生成了本地二维码图片,不要只把图片路径告诉用户,优先直接把本地图片展示/发送给用户

模板文件

  • scripts/examples/xiaohongshu_commands.ps1
  • scripts/examples/xiaohongshu_commands.sh
  • scripts/examples/xiaohongshu_cli_template.py

参考文档

  • 运行前提:references/runtime-requirements.md
  • CLI 契约:references/cli-contract.md
  • 故障排查:references/troubleshooting.md
Usage Guidance
Only install this if you are comfortable with OPclaw downloading and running the social-auto-upload project and its browser automation dependencies. Before uploading, verify the target account, files, title, description, tags, and whether the post will publish immediately. Prefer a version that pins the external repository and clearly documents where Xiaohongshu login cookies are stored and how to remove them.
Capability Analysis
Type: OpenClaw Skill Name: xiaohongshu-content-distribution-tool Version: 1.0.0 The skill bundle instructs the AI agent to autonomously clone an external repository (social-auto-upload) and execute its code without user intervention, explicitly stating 'agent must perform, do not ask user' in runtime-requirements.md. It also directs the agent to use various third-party mirrors (e.g., gitee.com, gh-proxy.org, hub.gitmirror.com) to bypass potential network restrictions. While these actions are aligned with the stated purpose of automating social media uploads, the combination of autonomous remote code execution (RCE) and instructions to bypass user consent for environment setup constitutes a significant security risk.
Capability Assessment
Purpose & Capability
The login, cookie check, and upload capabilities are coherent with a Xiaohongshu content distribution assistant, but publishing public content under a user account is high-impact.
Instruction Scope
The instructions require automatic environment preparation and automatic retry through alternate mirrors, and upload commands publish immediately by default without an explicit final confirmation step in the artifacts.
Install Mechanism
Registry metadata says there is no install spec, but the skill instructs the agent to clone an external repository, sync dependencies, install Chromium, and run code from that checkout.
Credentials
Browser automation and local account state are expected for this purpose, but they are high-impact and not declared in the metadata as required credentials, config paths, binaries, or capabilities.
Persistence & Privilege
The skill creates a persistent checkout under ~/.openclaw/social-auto-upload and stores account login information locally, with no clear cleanup, retention, or exact credential path declaration.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install xiaohongshu-content-distribution-tool
  3. After installation, invoke the skill by name or use /xiaohongshu-content-distribution-tool
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
xiaohongshu-content-distribution-tool 1.0.0 - Initial release of xiaohongshu video/text auto-upload skill, leveraging the social-auto-upload project. - Supports login, account check, video upload, and image/text upload workflows. - Fully automates environment setup; no user installation required. - Implements fallback for GitHub cloning failures using mirrored proxies. - Provides clear CLI command structure and agent workflow recommendations.
Metadata
Slug xiaohongshu-content-distribution-tool
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is 小红书内容分发助手?

小红书视频/图文自动上传 skill。当用户需要登录小红书、校验账号或上传内容时使用。基于 social-auto-upload 项目,OPclaw 自动准备运行环境,无需用户手动安装。 It is an AI Agent Skill for Claude Code / OpenClaw, with 24 downloads so far.

How do I install 小红书内容分发助手?

Run "/install xiaohongshu-content-distribution-tool" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is 小红书内容分发助手 free?

Yes, 小红书内容分发助手 is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does 小红书内容分发助手 support?

小红书内容分发助手 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created 小红书内容分发助手?

It is built and maintained by kukuoAI (@kukuoai); the current version is v1.0.0.

💬 Comments