← Back to Skills Marketplace
franklu0819-lang

Xiaohongshu Post Gen

by xiaofei · GitHub ↗ · v1.1.0
cross-platform ✓ Security Clean
316
Downloads
0
Stars
3
Active Installs
2
Versions
Install in OpenClaw
/install xiaohongshu-post-gen
Description
Generate complete Xiaohongshu (Little Red Book) posts with up to 10 pages (3:4 vertical format). Auto-parses text content into cover + content pages. Support...
Usage Guidance
This skill appears to do exactly what it claims: parse your text into pages, call Google Gemini image generation, and save PNG files. Before using it: 1) Provide a GEMINI_API_KEY you trust (requests and content will be sent to the model provider). 2) Run the script in an isolated Python virtual environment and install the declared dependencies (google-genai, pillow) to avoid supply-chain surprises. 3) Review the full script locally (the main function was truncated in the listing) to confirm there are no additional unexpected behaviors. 4) Avoid embedding any sensitive secrets inside content you send to the image API (the model provider will receive the prompts). 5) If you need offline or private generation, do not provide a cloud API key — instead adapt the code to a local model/backend.
Capability Analysis
Type: OpenClaw Skill Name: xiaohongshu-post-gen Version: 1.1.0 The skill bundle is a legitimate tool for generating multi-page Xiaohongshu (Little Red Book) social media posts. The Python script `scripts/gen_post.py` parses user-provided text into structured pages and uses the Gemini API (`gemini-3.1-flash-image-preview`) to generate themed images. The code follows standard practices for API usage and file handling, with no evidence of data exfiltration, malicious execution, or prompt injection attacks against the agent.
Capability Assessment
Purpose & Capability
Name/description (Xiaohongshu post generator) match the included script and SKILL.md: the script parses content, builds page prompts, calls a Gemini image model, and writes 3:4 PNG pages. The required GEMINI_API_KEY is appropriate for the declared model usage.
Instruction Scope
SKILL.md instructs running the included Python script with title/content and setting GEMINI_API_KEY. The script only parses the provided content, constructs prompts, calls google.genai to request images, and writes PNG files to the specified output folder. It does not read unrelated system files, other environment variables, or post data to unknown endpoints.
Install Mechanism
There is no install spec (instruction-only) and dependencies are declared only in comments inside the script (google-genai, pillow). This is low risk but means the user must install dependencies themselves; verify and install packages in a controlled environment (venv) before running.
Credentials
Only GEMINI_API_KEY is required and used. That is proportional to the stated purpose (remote model calls). No unrelated credentials or config paths are requested.
Persistence & Privilege
Skill does not request always:true, does not modify other skills or system configs, and has no special persistence/privilege requirements. It runs on-demand as a user-invoked script.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install xiaohongshu-post-gen
  3. After installation, invoke the skill by name or use /xiaohongshu-post-gen
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.1.0
更新依赖:使用 nano-banana-2-direct 作为底层图像生成引擎
v1.0.0
自动生成小红书风格的多页图文内容,支持4种视觉风格,最多10页,3:4竖版格式
Metadata
Slug xiaohongshu-post-gen
Version 1.1.0
License
All-time Installs 3
Active Installs 3
Total Versions 2
Frequently Asked Questions

What is Xiaohongshu Post Gen?

Generate complete Xiaohongshu (Little Red Book) posts with up to 10 pages (3:4 vertical format). Auto-parses text content into cover + content pages. Support... It is an AI Agent Skill for Claude Code / OpenClaw, with 316 downloads so far.

How do I install Xiaohongshu Post Gen?

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

Is Xiaohongshu Post Gen free?

Yes, Xiaohongshu Post Gen is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Xiaohongshu Post Gen support?

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

Who created Xiaohongshu Post Gen?

It is built and maintained by xiaofei (@franklu0819-lang); the current version is v1.1.0.

💬 Comments