← Back to Skills Marketplace
301
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install redbook-image-generator
Description
根据小红书文章内容自动生成配图。使用PIL将文章标题、副标题、内容生成在图片上,适合小红书笔记配图。
Usage Guidance
这项技能总体上与其描述一致:它在本地生成图片,不会联网或读取凭据。但在安装/运行前请注意:
- 脚本依赖 Pillow(PIL),请在运行前确保安装(pip install pillow)。
- 字体路径是硬编码的(/usr/share/fonts/...),若目标系统没有该字体,脚本会回退为默认字体;可根据需要修改 FONT_PATH。
- 输出文件路径被硬编码为 /root/.openclaw/workspace/xhs_cover.jpg(SKILL.md 没有说明绝对路径)。如果你不希望向 /root 写入,请修改脚本为相对路径或让输出路径可配置。
- 建议先在受控或沙箱环境中执行一次,确认其行为(生成文件位置、字体渲染)满足你的要求,再在生产环境中使用。
Capability Analysis
Type: OpenClaw Skill
Name: redbook-image-generator
Version: 1.0.0
The skill bundle is a straightforward utility for generating social media images using the PIL library. The script scripts/generate_cover.py takes text input from command-line arguments and renders it onto a JPEG file at a specified workspace path. There is no evidence of data exfiltration, network activity, or malicious intent in either the code or the SKILL.md instructions.
Capability Assessment
Purpose & Capability
技能名、描述和脚本功能一致:使用 PIL(Pillow)将标题/副标题/正文渲染到图片上。唯一不完全一致的是脚本将输出写到硬编码路径 /root/.openclaw/workspace/xhs_cover.jpg,而 SKILL.md 仅说明输出为 xhs_cover.jpg(未指明绝对路径)。
Instruction Scope
SKILL.md 指示以 python3 运行脚本,脚本行为与文档匹配。脚本不会访问网络、环境变量或其它系统配置,但会读取硬编码字体路径 /usr/share/fonts/...,并将文件写入 /root/.openclaw/workspace,这些文件/路径访问是超出文档透明度的实现细节,应确认是否可接受。
Install Mechanism
无安装规范(instruction-only 附带一个脚本),没有外部下载或可执行 install 步骤,风险低。注意脚本依赖 Pillow(PIL),但未在元数据中声明或自动安装,可能导致运行时错误。
Credentials
技能不请求任何环境变量或凭证,未收集或传出数据。需要注意的是硬编码的输出路径位于 /root 下(/root/.openclaw/workspace),这要求写权限或在 root 环境下运行;虽然不是凭证访问,但可能影响系统文件位置预期。
Persistence & Privilege
没有声明 always:true,也不修改其他技能或系统配置;不具备持久特权或自我启用行为。
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install redbook-image-generator - After installation, invoke the skill by name or use
/redbook-image-generator - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
- Initial release of xiaohongshu-image-generator.
- Generates images with article title, subtitle, and content for Xiaohongshu posts.
- Uses Python PIL to render text on images.
- Command-line script accepts title (required), subtitle (optional), and multi-line content (optional).
- Output image is saved as xhs_cover.jpg.
Metadata
Frequently Asked Questions
What is 小红书配图生成器?
根据小红书文章内容自动生成配图。使用PIL将文章标题、副标题、内容生成在图片上,适合小红书笔记配图。 It is an AI Agent Skill for Claude Code / OpenClaw, with 301 downloads so far.
How do I install 小红书配图生成器?
Run "/install redbook-image-generator" 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 binsonHao (@binsonhao); the current version is v1.0.0.
More Skills