← Back to Skills Marketplace
131
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install xiaohongshu-publisher-setup
Description
部署小红书发布Agent团队(灵格排版设计+星阑运营发布),含XHS格式排版、浏览器自动化发布、数据分析。使用 /xiaohongshu-publisher-setup 触发部署,需先安装 content-creation。
Usage Guidance
要点清单(安装前请考虑):
- 源不明:技能来源与主页未提供,建议在信任源之前先手动审阅 scripts/setup.cjs 与 scripts/xhs_publish.cjs 的源码(已包含在包内)。
- 本地凭据与会话:部署会在 ~/.openclaw/workspace-xiaohongshu-publisher 中写入一个 .env(用户填写的账号信息)和 Playwright 存储态文件(state.json)。这些文件可以用来自动化登录,请确保目录权限(仅限用户可读写)并不要把这些文件同步/备份到不受信任的位置。
- 发布需要人工确认:脚本在提交前会截图并等待你在浏览器中确认,随后要你按 Enter;这意味着脚本不会在无人知情的情况下自动发布,但请在首次运行时亲自监督自动化流程是否按预期工作。
- Playwright 安装与本地浏览器:需要安装 playwright 并下载 chromium,这会在本地写入浏览器二进制与运行时数据(标准行为)。
- 小问题/注意事项:SKILL.md 中关于检查 content-creation 的说明与 setup.cjs 的检查逻辑有小差异(文档提到 mobai/tanfeng/jinshu,但 setup.cjs 检查的是 mobai 和 jinshu);此外脚本用 execSync 拼接命令字符串执行 openclaw 命令,虽然目前参数来自包内部常量,但在修改脚本或环境变量(OPENCLAW_HOME)时应小心命令注入风险。
建议操作:先在隔离环境(或在能快速恢复的环境)运行一次手动部署步骤:阅读脚本、创建目录、手动运行 node xhs_publish.cjs login 观察 storageState 保存位置并确认权限,再进行真实发布。若不放心,不要运行自动注册(openclaw agents add)或将 workspace 目录暴露给其他工具/备份服务。
Capability Analysis
Type: OpenClaw Skill
Name: xiaohongshu-publisher-setup
Version: 1.0.0
The skill bundle automates Xiaohongshu (XHS) content creation and publishing by deploying two specialized agents and a Playwright-based browser automation script (xhs_publish.cjs). It manages account sessions locally within a dedicated workspace, requires manual user interaction for QR code login, and includes a mandatory manual confirmation step before submitting posts. No evidence of data exfiltration, unauthorized remote control, or malicious intent was found; the use of shell execution and browser automation is strictly aligned with the stated purpose of social media management.
Capability Assessment
Purpose & Capability
技能名称与描述一致地说明是为小红书(XHS)搭建发布/排版/运营两个 agent。所需二进制(node/npm)和 Playwright 浏览器自动化与描述功能一致;包含的脚本(setup.cjs, xhs_publish.cjs)实现了部署、注册 agent、浏览器扫码登录、发布、保存本地发布记录等功能,均与声明目的相符.
Instruction Scope
运行说明会在用户主目录下创建 ~/.openclaw/workspace-xiaohongshu-publisher 并写入模板、脚本、.env(保存账号信息的键值)和 session/state.json(Playwright storageState,用于自动化登录)。这些文件包含用户账号信息和浏览器会话数据;脚本按说明要求用户在浏览器中手动扫码登录并要求人工按 Enter 确认发布,模板也强调发布必须获得用户确认。总体行为在范围内,但用户应注意本地会话文件包含可用于自动化登录的凭据,应妥善保护。
Install Mechanism
该技能是 instruction-first 且包含本地脚本,没有提供远程下载或第三方包自动拉取的 install spec。Playwright 需要用户手动执行 npm install && npx playwright install chromium(标准流程)。没有可疑外部下载 URL 或不明来源的二进制。
Credentials
技能不请求外部凭据或环境变量(requires.env 为空)。唯一涉及敏感信息的是用户主动提供的账号信息(写入 ~/.openclaw/.../.env)和 Playwright 存储的会话文件(state.json)。这些都是为了实现自动化登录/发布的合理本地凭据存储,但用户应了解并限制文件权限与分享。
Persistence & Privilege
技能未设置 always:true,也不会修改其它技能配置。它在主目录下创建自己的 workspace 并通过 openclaw agents add 注册两个 agent,这与其用途一致。无需长期系统级常驻权限。
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install xiaohongshu-publisher-setup - After installation, invoke the skill by name or use
/xiaohongshu-publisher-setup - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
xiaohongshu-publisher-setup v1.0.0
- Initial release for automated deployment of a two-person Xiaohongshu publishing team (Lingge for formatting, Xinglan for operations).
- Includes environment validation (OpenClaw, content-creation, Playwright dependencies) with clear error prompts.
- Guided setup to collect account details and configure environment.
- Automated file deployment, agent registration, and login session initialization.
- Output deployment progress, verification steps, and user-facing help instructions for common errors.
Metadata
Frequently Asked Questions
What is 小红书自动排版发布---一键安装?
部署小红书发布Agent团队(灵格排版设计+星阑运营发布),含XHS格式排版、浏览器自动化发布、数据分析。使用 /xiaohongshu-publisher-setup 触发部署,需先安装 content-creation。 It is an AI Agent Skill for Claude Code / OpenClaw, with 131 downloads so far.
How do I install 小红书自动排版发布---一键安装?
Run "/install xiaohongshu-publisher-setup" 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 Little-ke (@little-ke); the current version is v1.0.0.
More Skills