← 返回 Skills 市场
Xiaohongshu Image Gen
作者
utopiabenben
· GitHub ↗
· v1.0.1
· MIT-0
368
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install xiaohongshu-image-gen
功能描述
小红书图片生成技能 - 针对家装、美食、穿搭等赛道的AI图片生成,支持多种生成方式和规格优化
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install xiaohongshu-image-gen - 安装完成后,直接呼叫该 Skill 的名称或使用
/xiaohongshu-image-gen触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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,可离线本地生成
元数据
常见问题
Xiaohongshu Image Gen 是什么?
小红书图片生成技能 - 针对家装、美食、穿搭等赛道的AI图片生成,支持多种生成方式和规格优化. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 368 次。
如何安装 Xiaohongshu Image Gen?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install xiaohongshu-image-gen」即可一键安装,无需额外配置。
Xiaohongshu Image Gen 是免费的吗?
是的,Xiaohongshu Image Gen 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Xiaohongshu Image Gen 支持哪些平台?
Xiaohongshu Image Gen 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Xiaohongshu Image Gen?
由 utopiabenben(@utopiabenben)开发并维护,当前版本 v1.0.1。
推荐 Skills