← Back to Skills Marketplace
267
Downloads
1
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install xiaohongshu-image-generator
Description
根据用户提示词生成小红书配图。使用 HTML + CSS 设计可视化卡片,通过 Playwright 浏览器截图生成图片。触发场景:(1) 用户要求生成小红书笔记配图 (2) 需要生成竖版封面卡片图 (3) 用 HTML 模板生成营销配图
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install xiaohongshu-image-generator - After installation, invoke the skill by name or use
/xiaohongshu-image-generator - Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Frequently Asked Questions
What is xiaohongshu-image-generator?
根据用户提示词生成小红书配图。使用 HTML + CSS 设计可视化卡片,通过 Playwright 浏览器截图生成图片。触发场景:(1) 用户要求生成小红书笔记配图 (2) 需要生成竖版封面卡片图 (3) 用 HTML 模板生成营销配图. It is an AI Agent Skill for Claude Code / OpenClaw, with 267 downloads so far.
How do I install xiaohongshu-image-generator?
Run "/install xiaohongshu-image-generator" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is xiaohongshu-image-generator free?
Yes, xiaohongshu-image-generator is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does xiaohongshu-image-generator support?
xiaohongshu-image-generator is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created xiaohongshu-image-generator?
It is built and maintained by Parker-Y (@parker-y); the current version is v1.0.0.
More Skills