← 返回 Skills 市场
267
总下载
1
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install xiaohongshu-image-generator
功能描述
根据用户提示词生成小红书配图。使用 HTML + CSS 设计可视化卡片,通过 Playwright 浏览器截图生成图片。触发场景:(1) 用户要求生成小红书笔记配图 (2) 需要生成竖版封面卡片图 (3) 用 HTML 模板生成营销配图
安全使用建议
This skill appears to do what it claims: generate HTML templates, host them locally, and capture a screenshot for an image. Before installing/using, consider: (1) run it in a confined environment (container or restricted workspace) to isolate the local HTTP server; ensure the server is bound to localhost and not exposed externally; (2) the Python generator inserts user text directly into the HTML without escaping — avoid passing untrusted HTML or scripts in prompts; (3) the workflow expects a browser/Playwright-like screenshot capability (the SKILL.md uses a browser action) — ensure your runtime provides that and you trust the tool that will open the page; (4) review templates if you will include sensitive content. If you need higher assurance, ask the author for the full generate_image.py code (verify no external network calls) or run the script in a sandbox first.
功能分析
Type: OpenClaw Skill
Name: xiaohongshu-image-generator
Version: 1.0.0
The skill bundle is a legitimate tool designed to generate social media images (Xiaohongshu style) by creating HTML/CSS cards and rendering them via a local HTTP server for screenshotting. The Python script `scripts/generate_image.py` uses standard libraries to handle template formatting and local hosting, and the HTML templates contain no external scripts or tracking elements. No evidence of malicious intent, data exfiltration, or harmful prompt injection was found.
能力评估
Purpose & Capability
Name/description (HTML+CSS templates, local rendering, screenshot) match the included templates, example HTML files, and the Python script that generates HTML and starts a local HTTP server. No unrelated env vars, binaries, or external services are requested.
Instruction Scope
SKILL.md instructs generating HTML, hosting it on a local HTTP server, and using a browser action to open and screenshot the page — this matches the code. One implementation detail to note: generated content is inserted into HTML without HTML-escaping, so arbitrary user-supplied text could inject markup into the rendered page (XSS-like behavior). That is normally low-risk for a local rendering flow but worth awareness if untrusted HTML is supplied or the server is made reachable beyond localhost.
Install Mechanism
No install spec is provided (instruction-only skill + Python script and static templates). The repository contains only local Python + static HTML assets; there are no downloads or package installs declared.
Credentials
The skill does not request environment variables, credentials, or config paths. The resources it uses (local files, localhost server, browser tooling) are proportional to the stated task.
Persistence & Privilege
always is false and the skill does not attempt to modify other skills or system-wide agent settings. It only starts a local HTTP server for the purpose of rendering pages.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install xiaohongshu-image-generator - 安装完成后,直接呼叫该 Skill 的名称或使用
/xiaohongshu-image-generator触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
xiaohongshu-image-generator v1.0.0 - Initial release
- Generates Xiaohongshu-style vertical cover images (800x1000px) based on user prompts.
- Uses HTML + CSS templates for card design, emphasizing centered layout, gradient backgrounds, and shadowed white cards.
- Renders screenshots via browser automation (e.g., Playwright), after serving HTML locally.
- Supports scenarios such as note cover images, marketing visuals, and generic vertical cards.
- Includes workflow instructions and template guidelines for consistent image generation.
元数据
常见问题
xiaohongshu-image-generator 是什么?
根据用户提示词生成小红书配图。使用 HTML + CSS 设计可视化卡片,通过 Playwright 浏览器截图生成图片。触发场景:(1) 用户要求生成小红书笔记配图 (2) 需要生成竖版封面卡片图 (3) 用 HTML 模板生成营销配图. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 267 次。
如何安装 xiaohongshu-image-generator?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install xiaohongshu-image-generator」即可一键安装,无需额外配置。
xiaohongshu-image-generator 是免费的吗?
是的,xiaohongshu-image-generator 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
xiaohongshu-image-generator 支持哪些平台?
xiaohongshu-image-generator 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 xiaohongshu-image-generator?
由 Parker-Y(@parker-y)开发并维护,当前版本 v1.0.0。
推荐 Skills