← Back to Skills Marketplace
utopiabenben

Xiaohongshu Image Gen

by utopiabenben · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ⚠ suspicious
368
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install xiaohongshu-image-gen
Description
小红书图片生成技能 - 针对家装、美食、穿搭等赛道的AI图片生成,支持多种生成方式和规格优化
Usage Guidance
This package appears to implement the advertised image-generation functionality, but the bundle contains unexpected and potentially risky elements. Before installing: 1) Ask the publisher/source for clarification about why a Tushare (stock-data) client is included and why requirements.txt pins xiaohongshu-image-gen; 2) Do not set or expose any secrets (OPENAI_API_KEY / STABILITY_API_KEY) until you confirm the package's origin; 3) Inspect/execute the skill in a sandbox or isolated environment (no sensitive credentials) if you want to test it; 4) Be cautious of pip installing using the provided requirements.txt — that could pull a different package from PyPI; 5) If you need stronger assurance, request a clean package without unrelated files or obtain the source from a known homepage or repository. Additional helpful information that would raise confidence to 'benign': a trustworthy source/homepage, an explanation for the extraneous files, and a corrected install script or an explicit install spec.
Capability Analysis
Type: OpenClaw Skill Name: xiaohongshu-image-gen Version: 1.0.1 The skill bundle contains a significant anomaly: the file 'scripts/api_client.py' is a full-featured Tushare financial data API client, which is entirely unrelated to the stated purpose of Xiaohongshu image generation. Additionally, 'requirements.txt' is improperly configured, listing the skill name itself rather than the actual dependencies used in the code (e.g., 'openai', 'tushare', 'pandas', 'requests', 'Pillow'). While no explicit data exfiltration or malicious payloads were identified, the inclusion of unrelated API wrappers and poor dependency management suggests either a supply chain risk or a highly unprofessional assembly that could lead to unexpected agent behavior.
Capability Assessment
Purpose & Capability
Name/description and main script (source/xiaohongshu_image_gen.py) are coherent for an image-generation CLI using OpenAI / Stability or a local fallback. However, the package also includes an unrelated scripts/api_client.py (a Tushare stock-data client) and requirements.txt pins a package named xiaohongshu-image-gen==1.0.0 — both are unrelated to image generation and raise questions about accidental or malicious bundling.
Instruction Scope
SKILL.md instructions and the main Python script limit behaviour to building prompts and calling OpenAI/Stability or a local image-generate script. They reference OPENAI_API_KEY and STABILITY_API_KEY only. There is no instruction to read arbitrary local files or exfiltrate secrets. That said, the repository contains an extra script that reads TUSHARE_TOKEN (not documented), so the on-disk content goes beyond the scope expressed in the runtime instructions.
Install Mechanism
Registry metadata said 'instruction-only' but the bundle includes code and an install.sh. install.sh has a typo when checking for the main script (checks for 'xiaiaohongshu...' causing an install failure), and requirements.txt lists xiaohongshu-image-gen==1.0.0 (which would attempt to pip-install a package of that name if used). There is no declared download-from-URL, but presence of requirements.txt could cause an installer to fetch code from PyPI — disproportionate and unclear.
Credentials
The skill reasonably uses OPENAI_API_KEY and STABILITY_API_KEY as declared in SKILL.md; no other env vars are required by the main script. However, scripts/api_client.py requires TUSHARE_TOKEN (and raises if missing) even though this is neither documented nor used by the image-generation script. The presence of an unrelated file that demands a secret is a red flag for unnecessary credential exposure if that file is ever executed.
Persistence & Privilege
The skill does not request always:true or other elevated platform privileges. It is user-invocable and allows autonomous invocation by default, which is standard.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install xiaohongshu-image-gen
  3. After installation, invoke the skill by name or use /xiaohongshu-image-gen
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
优化ClawHub描述:强调AI生成和赛道专精
v1.0.0
xiaohongshu-image-gen 1.0.0 – 小红书多赛道AI图片生成技能首次发布 - 支持家装、美食、穿搭、旅行等多赛道图片风格智能生成 - 内置提示词增强与赛道专属优化,提升图片表现力 - 可选 OpenAI DALL-E 3、Stable Diffusion XL 或本地 image-generate,多级降级兼容多种场景 - 覆盖竖屏、正方形、横屏多规格,满足封面、正文、拼图等需求 - 命令行参数灵活,支持风格、子风格、宽高比等自定义 - 环境变量安全管理 API Key,可离线本地生成
Metadata
Slug xiaohongshu-image-gen
Version 1.0.1
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is Xiaohongshu Image Gen?

小红书图片生成技能 - 针对家装、美食、穿搭等赛道的AI图片生成,支持多种生成方式和规格优化. It is an AI Agent Skill for Claude Code / OpenClaw, with 368 downloads so far.

How do I install Xiaohongshu Image Gen?

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

Is Xiaohongshu Image Gen free?

Yes, Xiaohongshu Image Gen is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Xiaohongshu Image Gen support?

Xiaohongshu Image Gen is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Xiaohongshu Image Gen?

It is built and maintained by utopiabenben (@utopiabenben); the current version is v1.0.1.

💬 Comments