← 返回 Skills 市场
wenhulove333

Red book content creation

作者 wenhulove333 · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ⚠ suspicious
111
总下载
1
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install red-book-content-creation
功能描述
将文章、技术文档等内容转换为适合小红书发布的 HTML 格式,生成封面图和内容截图,配好标题和正文摘要。 用户提供原始内容(Markdown 或纯文本)后,AI 生成适配小红书风格的多图 HTML 页面,并调用截图工具生成可直接发布的图片。 适用于:技术博客分享、知识干货、產品介绍、营销内容等。
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install red-book-content-creation
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /red-book-content-creation 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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.
元数据
Slug red-book-content-creation
版本 1.0.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

Red book content creation 是什么?

将文章、技术文档等内容转换为适合小红书发布的 HTML 格式,生成封面图和内容截图,配好标题和正文摘要。 用户提供原始内容(Markdown 或纯文本)后,AI 生成适配小红书风格的多图 HTML 页面,并调用截图工具生成可直接发布的图片。 适用于:技术博客分享、知识干货、產品介绍、营销内容等。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 111 次。

如何安装 Red book content creation?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install red-book-content-creation」即可一键安装,无需额外配置。

Red book content creation 是免费的吗?

是的,Red book content creation 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Red book content creation 支持哪些平台?

Red book content creation 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Red book content creation?

由 wenhulove333(@wenhulove333)开发并维护,当前版本 v1.0.1。

💬 留言讨论