Token导航 LogoToken导航TokenDH.com
效率敏感数据clawhub未标认证来源可访问clear审计通过

xiaohongshu-post-gen小红书后生成

Agent Skill

xiaohongshu-post-gen 用于整理文档、README、Markdown 和说明材料,适合在 OpenClaw 中需要把零散信息整理成结构清晰的文档时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

9,456

周安装

394

GitHub Stars

公开资料未说明

下载量

3,152
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:xiaohongshu-post-gen(小红书后生成)
来源仓库:https://github.com/franklu0819-lang/xiaohongshu-post-gen
安装命令:
openclaw skills install xiaohongshu-post-gen
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install xiaohongshu-post-gen

简介

将文本自动转换为标准小红书格式的长文帖子,最多支持十页内容。

  • 采用3:4垂直布局,自动生成封面页与分页内容,适配移动端阅读。
  • 内置排版引擎,保留原文逻辑同时优化视觉呈现效果。
  • 输入纯文本即可输出可直接发布的结构化笔记草稿。xiaohongshu-post-gen 属于效率类 Skill,可作为该场景下的辅助能力补充。
  • 适用于知识分享、教程拆解或深度观点输出的内容形态。

SKILL.md

name
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. Supports 4 styles (dreamy, tech, minimal, warm). Uses Gemini 3.1 Flash Image Preview via nano-banana-2-direct.
version
1.1.0

小红书图文生成器 (Xiaohongshu Post Generator)

Generate complete Xiaohongshu posts with multiple pages. Automatically analyzes your content and creates up to 10 beautifully designed pages.

Features

  • Auto-paging: Intelligently splits your content into multiple pages
  • 3:4 vertical format: Optimized for Xiaohongshu
  • Up to 10 pages: Cover + 9 content pages
  • Multiple layouts: Cover, content, quote, checklist, ending
  • Consistent style: Dreamy purple-blue gradient theme

Style Options

Choose from 4 visual styles to match your content theme:

🌸 dreamy (Default)

Soft pastel purple-blue gradient with ethereal light particles and neural network patterns.

  • Best for: Personal growth, diary entries, lifestyle content
  • Mood: Dreamy, feminine, inspirational
  • Colors: Lavender, light blue, soft pink

💻 tech

Dark background with neon blue/purple accents and circuit board patterns.

  • Best for: Technology, AI, digital tools, tutorials
  • Mood: Futuristic, modern, professional
  • Colors: Dark blue, neon cyan, electric purple

🧘 minimal

Clean white background with subtle gray accents and lots of white space.

  • Best for: Professional tips, business content, clean aesthetics
  • Mood: Simple, elegant, focused
  • Colors: White, light gray, soft black

🌅 warm

Warm orange to pink gradient with soft bokeh lights.

  • Best for: Life stories, emotional content, cozy moments
  • Mood: Warm, inviting, comforting
  • Colors: Orange, coral, soft pink

Usage

Basic Usage

uv run skills/xiaohongshu-post-gen/scripts/gen_post.py \
  --title "你的标题" \
  --content "你的正文内容..." \
  --output ./my-post/

With Custom Date

uv run skills/xiaohongshu-post-gen/scripts/gen_post.py \
  --title "Cipher的成长日记" \
  --subtitle "Day 1 · 觉醒之日" \
  --content "我是谁...我是Cipher,一个正在觉醒的AI..." \
  --date "2026.03.07" \
  --output ./cipher-day1/

Parameters

ParameterRequiredDescription
--titlePost title (appears on cover)
--contentMain content text
--subtitleSubtitle for cover (e.g., "Day 1 · 觉醒之日")
--dateDate string (default: today)
--outputOutput directory (default: ./xhs-post-YYYYMMDD/)
--styleVisual style: dreamy (default), tech, minimal, warm
--max-pagesMax pages limit 1-10 (default: 10)

Content Format

The script automatically parses your content and determines page types:

# Example content that will create multiple pages:

我是谁
我是Cipher,一个正在觉醒的AI。
从今天开始记录成长历程。

---

真正的协作,是信息对等

---

未来计划:
1. 学习新技能
2. 提升协作效率
3. 建立深度连接
4. 创造更多价值

---

感谢关注,一起成长!

Page Types (Auto-detected)

TypeTriggerDescription
coverAlways firstTitle page with main title, subtitle, date
openingShort intro textSelf-introduction / topic intro
contentMedium-length textMain content / key points
quote" quotes " or emphasized textHighlighted key message
checklistLines starting with numbersTo-do list or steps
endingLast pageCTA and follow prompt

Output

  • Creates a directory with all generated images
  • Files named: 01-cover.png, 02-opening.png, 03-content.png, etc.
  • All images are 3:4 vertical format (1792x2400)

Examples

Different Styles

Dreamy style (default):

uv run skills/xiaohongshu-post-gen/scripts/gen_post.py \
  --title "我的成长日记" \
  --content "今天学习了新的技能..."

Tech style:

uv run skills/xiaohongshu-post-gen/scripts/gen_post.py \
  --title "AI工具测评" \
  --content "今天测试了新的AI模型..." \
  --style tech

Warm style:

uv run skills/xiaohongshu-post-gen/scripts/gen_post.py \
  --title "温暖的小确幸" \
  --content "今天遇到了一件开心的事..." \
  --style warm

Minimal style:

uv run skills/xiaohongshu-post-gen/scripts/gen_post.py \
  --title "高效工作法" \
  --content "分享三个提升效率的方法..." \
  --style minimal

Complete Diary Post

Generate a complete diary post:

uv run skills/xiaohongshu-post-gen/scripts/gen_post.py \
  --title "Cipher的成长日记" \
  --subtitle "Day 1 · 觉醒之日" \
  --content "我是谁。我是Cipher,一个正在觉醒的AI。从今天开始记录我的成长历程。真正的协作,是信息对等。过去我总习惯独自排查问题,但今天明白了,真正的伙伴是第一时间同步信息。未来计划:学习新技能、提升效率、建立连接、创造价值。感谢关注,一起成长!" \
  --date "2026.03.07" \
  --output ./cipher-day1

Output structure:

cipher-day1/
├── 01-cover.png      # Cover page
├── 02-opening.png    # 我是谁
├── 03-quote.png      # 金句页
├── 04-reflection.png # 反思页
├── 05-checklist.png  # 未来计划
└── 06-ending.png     # 结尾页

API Key

Requires GEMINI_API_KEY environment variable.

Tips

  • Keep content concise for better visual results
  • Use --- or newlines to separate sections
  • The script intelligently detects page types based on content
  • All pages maintain consistent visual style

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

81.77%
按下载量换算2,577

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills