← 返回 Skills 市场
XHS_Content productionandpublishing
作者
内容科学|Content Science
· GitHub ↗
· v1.0.1
305
总下载
1
收藏
1
当前安装
2
版本数
在 OpenClaw 中安装
/install xhsredbook
功能描述
Automatically publish notes to Xiaohongshu (小红书) creator center. Generates cover images (PIL poster, multiple styles), writes content from templates, and pub...
安全使用建议
This skill appears to do what it claims: generate content and images locally and automate posting to creator.xiaohongshu.com via a local Playwright browser. Before installing/using it: 1) Review the scripts locally and run them in an environment you control (not a production machine) so you can inspect behavior. 2) Be cautious about enabling persistence: if you run save_login.py it will store login cookies in a profile directory (default: .local/xhs_browser_profile) — anyone or any automated process with access to that directory could post as you. 3) Playwright will download a browser binary when you run 'playwright install chromium' — this is expected but may be large. 4) If you plan to allow autonomous agent invocation, understand the agent could run publish.py using any saved profile and post without further prompts; consider restricting autonomous use or using an ephemeral test account for initial runs. 5) There are no obvious exfiltration endpoints or secret reads in the code, but always run third-party code in an isolated environment if you have concerns.
功能分析
Type: OpenClaw Skill
Name: xhsredbook
Version: 1.0.1
The skill bundle is a legitimate automation tool for generating and publishing content to the Xiaohongshu (Red Note) creator center. It utilizes Playwright for browser automation and Pillow for local image generation, with all sensitive data such as browser profiles and screenshots stored locally in a '.local' directory. The code is transparent, lacks obfuscation, and contains no evidence of data exfiltration, unauthorized network calls, or malicious prompt injection.
能力评估
Purpose & Capability
Name/description (Xiaohongshu post generation + publishing) match the included scripts: content generation, cover image generation, login/save profile, and Playwright-based publishing. No unrelated binaries, credentials, or services are requested.
Instruction Scope
SKILL.md and scripts confine runtime actions to generating content/images, launching a local browser via Playwright, navigating creator.xiaohongshu.com, saving screenshots and profile data under the skill data directory. Instructions do not read system files or environment variables beyond the declared optional ones (data dir, profile dir, font path).
Install Mechanism
There is no automated install spec in the bundle; SKILL.md instructs users to pip install playwright and pillow and run 'playwright install chromium'. That will download a browser binary (expected for Playwright). No remote code downloads from untrusted URLs are present in the skill itself.
Credentials
The skill requires no secrets or primary credentials. Optional environment vars (SKILL_DATA_DIR, XHS_PROFILE_DIR, XHS_FONT_PATH) are appropriate for customizing storage and fonts. There are no unexpected TOKEN/KEY/PASSWORD env vars or references to other services.
Persistence & Privilege
always:false (good). The skill supports persisting a browser profile to disk (default temporary, but save_login.py forces a persistent .local/xhs_browser_profile). If a persistent profile contains an authenticated Xiaohongshu session, the agent (or an automated run) can publish posts without interactive login. Users should be aware this enables unattended posting if the profile is reused.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install xhsredbook - 安装完成后,直接呼叫该 Skill 的名称或使用
/xhsredbook触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
**v2.3.0 Summary:**
Major cross-platform and security improvements; now fully configurable and safer by default.
- Cross-platform support: all hardcoded Windows paths removed, works out of the box on Windows/macOS/Linux.
- Browser profile no longer persists by default—uses a temporary directory for better security; explicit persistence via `--profile-dir` or environment variables.
- All directories and font paths are now configurable with `SKILL_DATA_DIR`, `XHS_PROFILE_DIR`, and `XHS_FONT_PATH` env vars or command-line arguments.
- Automatically detects system Chinese fonts on all major platforms.
- Fixed a potential bug with cover image noise texture generation in RGBA mode.
- Added unified configuration module: `scripts/config.py`.
v1.0.0
xiaohongshu-publisher 1.0.0
- Initial release: Automate publishing notes to Xiaohongshu creator center.
- Includes cover image generation in multiple styles using PIL.
- Content creation from topic-based templates.
- Login once with Playwright persistent context; publish multiple times.
- One command runs the full workflow: content, images, and publishing.
元数据
常见问题
XHS_Content productionandpublishing 是什么?
Automatically publish notes to Xiaohongshu (小红书) creator center. Generates cover images (PIL poster, multiple styles), writes content from templates, and pub... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 305 次。
如何安装 XHS_Content productionandpublishing?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install xhsredbook」即可一键安装,无需额外配置。
XHS_Content productionandpublishing 是免费的吗?
是的,XHS_Content productionandpublishing 完全免费(开源免费),可自由下载、安装和使用。
XHS_Content productionandpublishing 支持哪些平台?
XHS_Content productionandpublishing 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 XHS_Content productionandpublishing?
由 内容科学|Content Science(@harveyzzzz)开发并维护,当前版本 v1.0.1。
推荐 Skills