← Back to Skills Marketplace
Red book content creation
by
wenhulove333
· GitHub ↗
· v1.0.1
· MIT-0
111
Downloads
1
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install red-book-content-creation
Description
将文章、技术文档等内容转换为适合小红书发布的 HTML 格式,生成封面图和内容截图,配好标题和正文摘要。 用户提供原始内容(Markdown 或纯文本)后,AI 生成适配小红书风格的多图 HTML 页面,并调用截图工具生成可直接发布的图片。 适用于:技术博客分享、知识干货、產品介绍、营销内容等。
Usage Guidance
This skill appears to do what it says: generate styled HTML and create screenshots locally. Before installing/running: 1) ensure wkhtmltoimage and the Python imgkit dependency are installed and available on PATH (the tool depends on them); 2) review and test the scripts in a safe, writable workspace—generate_content.sh uses sed -i to replace placeholders and references unset variables (SUBTITLE, TAGS) which may yield empty fields or break on some systems (BSD sed vs GNU sed differences); 3) note the SKILL.md examples use an absolute /root path—adjust to your environment; 4) the screenshot script uses a fixed estimated content height and will create multiple chunk images—check outputs for completeness; 5) the skill runs locally and does not exfiltrate data, but avoid feeding it sensitive secrets since it will create files in the skill workspace. If you need further assurance, run the scripts on non-sensitive sample content and confirm behavior before using with real posts.
Capability Analysis
Type: OpenClaw Skill
Name: red-book-content-creation
Version: 1.0.1
The skill bundle is designed to convert text into social media-style HTML and images but contains a significant command/argument injection vulnerability in 'scripts/generate_content.sh'. The script uses 'sed' to replace placeholders with unsanitized user input, which can be exploited to manipulate the file system or cause script errors. Additionally, the use of 'imgkit' (wkhtmltoimage wrapper) in 'scripts/take_screenshot.py' presents a potential SSRF or local file inclusion risk if the generated HTML contains malicious references, though no clear evidence of intentional malice was found.
Capability Assessment
Purpose & Capability
Name/description, HTML templates, and the two scripts all align with producing styled HTML and screenshots for 小红书 posts. There are no unexpected credentials, remote endpoints, or binaries requested that would be incoherent with the stated purpose.
Instruction Scope
SKILL.md and scripts stay within content generation and local screenshotting. Minor issues: the README examples reference an absolute /root/.openclaw path (example-only), and generate_content.sh replaces several placeholders (SUBTITLE, TAGS) even though those variables are not defined in the script—this is an implementation bug rather than malicious behavior. The scripts only read user-provided content and write outputs in the skill directory; they do not access other system files or environment secrets.
Install Mechanism
There is no install spec and no external downloads. The tool relies on local binaries (wkhtmltoimage) and Python libraries (imgkit); requiring those is reasonable for HTML→image conversion. No network fetches or obscure install sources are present in the repository.
Credentials
The skill requests no environment variables or credentials. The only external requirements are typical system tools (wkhtmltoimage, ImageMagick, Python3) that are proportionate to rendering and screenshotting HTML.
Persistence & Privilege
always:false and user-invocable defaults are used. The skill writes outputs into its own outputs/ directory; it does not modify other skills or system-wide configuration. It does not request privileged or persistent presence.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install red-book-content-creation - After installation, invoke the skill by name or use
/red-book-content-creation - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
Version 1.0.1 introduces multi-style content templates for Xiaohongshu output.
- Added support for two visual styles: "热情风" (passion, red/orange) and "科技风" (tech, blue/purple), each with its own HTML template (passion_style.html, tech_style.html).
- Old generic template (content_template.html) has been removed for clarity and maintainability.
- Now auto-selects a style based on content topic, with manual override possible.
- Output specification updated: generates a single full-length image for easier Xiaohongshu publishing.
- Documentation revised to reflect new style selection logic, template structure, and usage instructions.
v1.0.0
Major update: Now generates Xiaohongshu-ready HTML content, screenshots, and titles from user-provided articles or text.
- New shell and Python scripts for HTML content generation and screenshot automation.
- Added modular HTML template styled in Xiaohongshu (Little Red Book) theme.
- Converts Markdown or text into multipage Xiaohongshu-style cards (title, summary, tags).
- Outputs publish-ready images (cover + content cards) with fixed 680px width.
- CLI and browser preview usage instructions updated for new workflow.
Metadata
Frequently Asked Questions
What is Red book content creation?
将文章、技术文档等内容转换为适合小红书发布的 HTML 格式,生成封面图和内容截图,配好标题和正文摘要。 用户提供原始内容(Markdown 或纯文本)后,AI 生成适配小红书风格的多图 HTML 页面,并调用截图工具生成可直接发布的图片。 适用于:技术博客分享、知识干货、產品介绍、营销内容等。 It is an AI Agent Skill for Claude Code / OpenClaw, with 111 downloads so far.
How do I install Red book content creation?
Run "/install red-book-content-creation" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Red book content creation free?
Yes, Red book content creation is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Red book content creation support?
Red book content creation is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Red book content creation?
It is built and maintained by wenhulove333 (@wenhulove333); the current version is v1.0.1.
More Skills