auto-redbook-skills小红书笔记素材创作技能。当用户需要创建小红书笔记素材时使用这个技能。技能包含:根据用户的需求和提供的资料,撰写小红书笔记内容(标题+正文),生成图片卡片(封面+正文卡片),以及发布小红书笔记。
Install via ClawdBot CLI:
clawdbot install wusyx/auto-redbook-skills这个技能用于创建专业的小红书笔记素材,包括内容撰写、图片卡片生成和笔记发布。
根据用户需求和提供的资料,创作符合小红书风格的内容:
注意:这里生成的 Markdown 文档是用于渲染卡片的,必须专门生成,禁止直接使用上一步的笔记正文内容。
Markdown 文件,文件应包含:
---
emoji: "🚀" # 封面装饰 Emoji
title: "大标题" # 封面大标题(不超过15字)
subtitle: "副标题文案" # 封面副标题(不超过15字)
---
--- 分割线主动将正文分隔为多个卡片段落(每个段落文本控制在 200 字左右),输出图片时使用参数-m separator完整 Markdown 文档内容示例:
---
emoji: "💡"
title: "5个效率神器让工作效率翻倍"
subtitle: "对着抄作业就好了,一起变高效"
---
# 📝 神器一:Notion
> 全能型笔记工具,支持数据库、看板、日历等多种视图...
## 特色功能
- 特色一
- 特色二
# ⚡ 神器二:Raycast
\`\`\`
可使用代码块来增加渲染后图片的视觉丰富度
\`\`\`
## 推荐原因
- 原因一
- 原因二
- ……
# 🌈 神器三:Arc
全新理念的浏览器,侧边栏标签管理...
...
将 Markdown 文档渲染为图片卡片。使用以下脚本渲染:
python scripts/render_xhs.py <markdown_file> [options]
| 参数 | 简写 | 说明 | 默认值 |
|---|---|---|---|
| --output-dir | -o | 输出目录 | 当前工作目录 |
| --theme | -t | 排版主题 | default |
| --mode | -m | 分页模式 | separator |
| --width | -w | 图片宽度 | 1080 |
| --height | | 图片高度(dynamic 下为最小高度) | 1440 |
| --max-height | | dynamic 最大高度 | 4320 |
| --dpr | | 设备像素比(清晰度) | 2 |
--theme)default:默认简约浅灰渐变背景(#f3f3f3 -> #f9f9f9)playful-geometric:活泼几何(Memphis)neo-brutalism:新粗野主义botanical:植物园自然professional:专业商务retro:复古怀旧terminal:终端命令行sketch:手绘素描--mode)separator:按 --- 分隔符分页(适合内容已手动控量)auto-fit:固定尺寸下自动缩放文字,避免溢出/留白(适合封面+单张图片但尺寸固定的情况)auto-split:按渲染后高度自动切分分页(适合切分不影响阅读的长文内容)dynamic:根据内容动态调整图片高度(注意:图片最高 4320,字数超过 550 的不建使用此模式)# 1) 默认主题 + 手动分隔分页
python scripts/render_xhs.py content.md -m separator
# 2) 固定 1080x1440,自动缩放文字,尽量填满画面
python scripts/render_xhs.py content.md -m auto-fit
# 3) 自动切分分页(推荐:内容长短不稳定)
python scripts/render_xhs.py content.md -m auto-split
# 4) 动态高度(允许不同高度卡片)
python scripts/render_xhs.py content.md -m dynamic --max-height 4320
# 5) 切换主题
python scripts/render_xhs.py content.md -t playful-geometric -m auto-split
node scripts/render_xhs.js content.md -t default -m separator
Node.js 参数与 Python 基本一致:--output-dir/-o、--theme/-t、--mode/-m、--width/-w、--height、--max-height、--dpr。
使用发布脚本将生成的图片发布到小红书:
python scripts/publish_xhs.py --title "笔记标题" --desc "笔记描述" --images card_1.png card_2.png cover.png
前置条件:
XHS_COOKIE=your_cookie_string_here
scripts/render_xhs.py - Python 渲染脚本scripts/render_xhs.js - Node.js 渲染脚本scripts/publish_xhs.py - 小红书发布脚本assets/cover.html - 封面 HTML 模板assets/card.html - 正文卡片 HTML 模板assets/styles.css - 共用样式表md2Redbook/) 仅存放脚本和模板,不存放用户数据pip install xhsGenerated Mar 1, 2026
Small businesses use the skill to create visually appealing Xiaohongshu notes from product details or promotional materials, enhancing brand visibility and engagement on the platform. It helps generate shareable content that attracts potential customers and drives traffic to online stores.
Influencers and content creators utilize the skill to craft professional Xiaohongshu notes with custom themes and images, streamlining content production for lifestyle, beauty, or tech niches. It enables consistent posting with high-quality visuals to grow follower base and engagement.
Educators and trainers use the skill to transform learning materials into engaging Xiaohongshu notes with structured Markdown and images, making complex topics accessible and shareable. It supports tutorials, study tips, or course promotions to reach a wider audience.
Non-profits or event organizers apply the skill to design promotional Xiaohongshu notes for workshops, fundraisers, or community events, using eye-catching titles and cards to boost attendance and awareness. It simplifies creating event-specific content that resonates with target demographics.
Freelancers offer Xiaohongshu note creation as a service to clients, using the skill to produce content and images for a fee per project or on a subscription basis. This model leverages the skill's automation to scale operations and serve multiple clients efficiently.
Marketing agencies integrate the skill into their workflow as a SaaS tool, providing in-house teams with automated Xiaohongshu content creation to reduce manual effort and improve campaign output. Agencies charge clients for bundled services that include content strategy and execution.
Users generate Xiaohongshu notes promoting affiliate products, embedding links to earn commissions from sales driven by the engaging content and images created with the skill. This model focuses on high-conversion niches like tech gadgets or beauty products.
💬 Integration Tip
Ensure Python or Node.js is installed for rendering scripts, and configure Xiaohongshu cookies securely for publishing functionality.
Automate Xiaohongshu (RedNote) content operations using a Python client for the xiaohongshu-mcp server. Use for: (1) Publishing image, text, and video content, (2) Searching for notes and trends, (3) Analyzing post details and comments, (4) Managing user profiles and content feeds. Triggers: xiaohongshu automation, rednote content, publish to xiaohongshu, xiaohongshu search, social media management.
Feishu-integrated wrapper for the capability-evolver. Manages the evolution loop lifecycle (start/stop/ensure), sends rich Feishu card reports, and provides...
The Baidu Baike Component is a knowledge service tool designed to query authoritative encyclopedia explanations for various nouns. Its core function is given a specific "noun" (object, person, location, concept, event, etc.) provided by the user, it returns a standardized, detailed entry explanation sourced from Baidu Baike.
Draft and publish posts to 小红书 (Xiaohongshu/RED). Use when creating content for 小红书, drafting posts, generating cover images, or publishing via browser automation. Covers the full workflow from content creation to browser-based publishing, including cover image generation with Pillow.
AI-assisted creation, rendering, and automated publishing of Xiaohongshu-style content with support for Markdown to image cards and data tracking.
小红书全能助手 — 文案生成、封面制作、内容发布与管理。当用户要求写小红书笔记、生成小红书文案/标题/封面、发小红书、搜索小红书、评论点赞收藏等任何小红书相关操作时使用。支持一站式从文案创作到自动发布的完整流程。封面AI生图需配置可选环境变量(GEMINI_API_KEY 或 IMG_API_KEY 或 HUNY...