← 返回 Skills 市场
XHS Cover Generator
作者
huuuwnnn-droid
· GitHub ↗
· v1.0.0
· MIT-0
100
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install xhs-cover-gen
功能描述
Generate Xiaohongshu (小红书) cover images with Chinese text overlays. Use when asked to create social media cover images, Xiaohongshu post images, or RED post...
安全使用建议
This skill appears to do what it says: generate Xiaohongshu cover images. Before installing or running it, consider: (1) ensure the agent environment has Python3 and Pillow and that curl is available (SKILL.md requires these, but the registry metadata omitted them); (2) the script downloads a Noto Sans CJK font from a GitHub raw URL and optionally sends your text prompt to Pollinations.ai — if your prompts contain sensitive information, they will be transmitted to an external service; (3) the script does not verify the font SHA256 (FONT_SHA256 is None), so if you are security-sensitive you may want to supply a local font file instead or add a hash check; (4) the script caches files in /tmp and writes the resultant JPEG to the requested output path — verify file paths before running. If any of these network calls or automatic downloads are unacceptable, review/modify the script to use a preinstalled font or a different image source.
功能分析
Type: OpenClaw Skill
Name: xhs-cover-gen
Version: 1.0.0
The skill is designed to generate social media cover images by combining AI-generated backgrounds from Pollinations.ai with localized Chinese text using the PIL library. The script `scripts/generate.py` downloads a legitimate Noto Sans CJK font from Google Fonts' GitHub repository and fetches images via a public API, using `subprocess.run` safely with argument lists to avoid shell injection. All behaviors, including network access and file creation in temporary directories, are clearly aligned with the stated purpose in `SKILL.md`.
能力评估
Purpose & Capability
The skill's name/description match the included code and SKILL.md: it generates cover images, renders Chinese text with a Noto Sans CJK font, and can fetch base images from Pollinations.ai. One minor inconsistency: the skill metadata lists no required binaries, but SKILL.md and the script rely on curl and Python with Pillow (PIL). This is an omission in metadata rather than a functional mismatch.
Instruction Scope
Runtime instructions and the script stay within the stated purpose: creating images, downloading a font into /tmp, and optionally fetching an AI-generated base image from Pollinations.ai. The instructions do not ask the agent to read unrelated files, environment variables, or credentials.
Install Mechanism
There is no install spec (low-risk). The script performs runtime downloads: a font from a GitHub raw URL and images from image.pollinations.ai. Both are public endpoints; the font download is from GoogleFonts on GitHub (raw), which is an expected source. Downloads occur at runtime and are written to /tmp.
Credentials
The skill requests no environment variables or credentials. It does require network access to download the font and optionally to call Pollinations.ai, which is reasonable for the described functionality. The script does not access or exfiltrate secrets.
Persistence & Privilege
The skill does not request permanent/system-wide installation or 'always' privilege, and it does not modify other skills. It caches the font in the system temp directory (/tmp), which is normal for this use case.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install xhs-cover-gen - 安装完成后,直接呼叫该 Skill 的名称或使用
/xhs-cover-gen触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: Generate Xiaohongshu cover images with Chinese text. Split/gradient/card styles. Pollinations.ai + PIL.
元数据
常见问题
XHS Cover Generator 是什么?
Generate Xiaohongshu (小红书) cover images with Chinese text overlays. Use when asked to create social media cover images, Xiaohongshu post images, or RED post... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 100 次。
如何安装 XHS Cover Generator?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install xhs-cover-gen」即可一键安装,无需额外配置。
XHS Cover Generator 是免费的吗?
是的,XHS Cover Generator 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
XHS Cover Generator 支持哪些平台?
XHS Cover Generator 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 XHS Cover Generator?
由 huuuwnnn-droid(@huuuwnnn-droid)开发并维护,当前版本 v1.0.0。
推荐 Skills