← Back to Skills Marketplace
huuuwnnn-droid

XHS Cover Generator

by huuuwnnn-droid · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
100
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install xhs-cover-gen
Description
Generate Xiaohongshu (小红书) cover images with Chinese text overlays. Use when asked to create social media cover images, Xiaohongshu post images, or RED post...
Usage Guidance
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.
Capability Analysis
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`.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install xhs-cover-gen
  3. After installation, invoke the skill by name or use /xhs-cover-gen
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release: Generate Xiaohongshu cover images with Chinese text. Split/gradient/card styles. Pollinations.ai + PIL.
Metadata
Slug xhs-cover-gen
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 100 downloads so far.

How do I install XHS Cover Generator?

Run "/install xhs-cover-gen" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is XHS Cover Generator free?

Yes, XHS Cover Generator is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does XHS Cover Generator support?

XHS Cover Generator is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created XHS Cover Generator?

It is built and maintained by huuuwnnn-droid (@huuuwnnn-droid); the current version is v1.0.0.

💬 Comments