A sophisticated tool that converts HTML and CSS templates into professional 800x1000px vertical images for social media using browser-based screenshots.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install xiaohongshu-image-generator
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install xiaohongshu-image-generator using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The Xiaohongshu Image Generator is a specialized tool within the Openclaw Skills ecosystem designed to bridge the gap between structured data and high-quality visual content. By utilizing a web-centric approach, this skill allows AI agents to generate aesthetically pleasing social media posts that feature perfect text alignment, custom gradients, and modern UI components.
Rather than relying on unpredictable image generation models, this skill uses the precision of frontend technologies. It generates dynamic HTML content, styles it with modern CSS, and uses browser automation to capture pixel-perfect snapshots. This ensures that every generated image meets the specific branding and layout requirements typical of high-engagement social platforms.
To integrate this capability into your workflow using Openclaw Skills, follow these setup steps. Ensure you have a browser automation tool and a Python environment ready.
# 1. Prepare your HTML/CSS template in the assets/templates/ folder
# 2. Start a local HTTP server on a specific port (e.g., 8765)
python3 -m http.server 8765
# 3. Use the browser tool to navigate to the template
browser action=open url=http://localhost:8765/template.html
# 4. Wait for the DOM to fully render
sleep 2
# 5. Capture the vertical screenshot
browser action=screenshot targetId=<tab-id>
The skill follows a strict data and visual schema to maintain the quality expected from professional Openclaw Skills. The following table outlines the design specifications:
| Specification | Value | Description |
|---|---|---|
| Resolution | 800x1000px | The standard vertical aspect ratio for Xiaohongshu notes. |
| Layout Engine | CSS Flexbox | Used to ensure content is perfectly centered and responsive. |
| Backgrounds | CSS Gradients | Recommended use of linear-gradients (e.g., 135deg) for a modern look. |
| UI Components | .card class | Includes 32px border-radius and multi-layered box shadows for depth. |
Loading
A professional framework and control plane for authoring, organizing, and validating high-quality AI agent skills.

OCT Helper is a desktop terminal that allows you to control your computer, manage files, and automate development tasks through natural language conversations.

Maintain persistent agent focus and hierarchical task tracking to prevent context drift during long projects.

A professional-grade CRISPR sgRNA design tool optimized for high-GC viral and microbial genomes with specialized scoring and off-target analysis.

An automated financial monitoring tool designed to detect price discrepancies between on-market and off-market A-Share LOF funds.

A specialized methodology and toolkit for generating, refining, and packaging agent-usable command-line interfaces for existing software and codebases.








































