xiaohongshuAI-assisted creation, rendering, and automated publishing of Xiaohongshu-style content with support for Markdown to image cards and data tracking.
Install via ClawdBot CLI:
clawdbot install heiheimaoya/xiaohongshu小红书内容创作、发布与运营一体化技能。
/root/clawd/skills/xiaohongshu/venvsource /root/clawd/skills/xiaohongshu/venv/bin/activate/root/clawd/skills/xiaohongshu/social-auto-uploadAI 根据主题撰写小红书风格内容。
将 Markdown 内容渲染成小红书风格的图片卡片(1080×1440px)。
cd /root/clawd/skills/xiaohongshu
./render <markdown文件> --style <样式> -o output/
可用样式: purple(默认), xiaohongshu, mint, sunset, ocean, elegant, dark
使用 Playwright 自动化发布,模拟真实用户操作。
首次使用需要登录获取 Cookie:
cd /root/clawd/skills/xiaohongshu/social-auto-upload
../venv/bin/python -c "
import asyncio
from uploader.xiaohongshu_uploader.main import xiaohongshu_cookie_gen
asyncio.run(xiaohongshu_cookie_gen('cookies/xhs_account.json'))
"
会打开浏览器,扫码登录后 Cookie 自动保存。
发布图文笔记:
from uploader.xiaohongshu_uploader.main import XiaoHongShuVideo
# 详见 examples/upload_video_to_xiaohongshu.py
通过 RPA 方式获取笔记数据。
通过 RPA 方式浏览和分析热门笔记。
1. 主题构思 → 告诉我你想写什么
2. AI 撰写 → 生成小红书风格文案
3. 保存内容 → output/note.md
4. 渲染卡片 → 生成封面 + 内容图片
5. RPA 发布 → 自动上传到小红书
6. 数据跟踪 → 查看互动数据
7. 优化迭代 → 根据数据调整内容
xiaohongshu/
├── SKILL.md # 本文档
├── .env # Cookie 配置(API方式,备用)
├── venv/ # Python 虚拟环境
├── assets/ # HTML 模板
├── scripts/ # 工具脚本
│ ├── render_xhs_v2.py # 渲染脚本
│ └── xhs_tool.py # API 工具(备用)
├── output/ # 输出目录
└── social-auto-upload/ # RPA 发布工具
├── cookies/ # 登录凭证
├── videos/ # 待发布内容
└── uploader/ # 各平台上传模块
Generated Mar 1, 2026
Influencers can use this skill to automate the creation and posting of visually appealing Xiaohongshu content, saving time on writing and graphic design. It helps maintain a consistent posting schedule with AI-generated captions and styled images, enhancing engagement without manual effort.
E-commerce businesses can leverage this skill to generate promotional posts for products on Xiaohongshu, targeting fashion, beauty, or lifestyle niches. The automated rendering and posting streamline campaigns, allowing for quick adaptation to trends and increased product visibility.
Brands can utilize this skill to run automated content campaigns on Xiaohongshu, creating branded stories and visuals to build community and trust. The RPA-based posting ensures timely updates, while data tracking aids in measuring campaign effectiveness and optimizing outreach.
Content agencies can integrate this skill to manage multiple Xiaohongshu accounts for clients, automating content generation and scheduling posts. It reduces manual workload, ensures brand consistency across accounts, and scales operations efficiently with minimal technical overhead.
Offer monthly subscriptions for automated Xiaohongshu content creation and posting, targeting small businesses or influencers. Revenue comes from tiered plans based on post frequency, customization options, and analytics features, providing recurring income.
Provide a free version with basic content creation and limited posts, while charging for advanced features like custom styles, priority scheduling, or detailed analytics. This model attracts a broad user base and converts them to paid plans for enhanced functionality.
License the skill as a white-label tool for marketing agencies to resell under their brand, offering customization and integration support. Revenue is generated through one-time licensing fees or ongoing service contracts, leveraging agency networks for distribution.
💬 Integration Tip
Ensure the virtual environment is activated and cookies are set up via the initial login script before automating posts to avoid authentication issues.
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生图需配置可选环境变量(GEMINI_API_KEY 或 IMG_API_KEY 或 HUNY...
高德地图实时路况查询与最优自驾路线规划技能。基于高德交通态势API和路径规划API,提供实时拥堵信息和最快路线建议。