Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Xiaohongshu

BSecurity

小红书内容创作、发布与运营一体化技能。

651 stars
0 votes
0 copies
3 views
Added 2/10/2026
developmentpythonbashapi

Works with

api

Security Analysis

B75/100
criticalAccesses sensitive system or user directories

Scanned 2/12/2026

Install to Claude Code

$npx -y skills add sundial-org/awesome-openclaw-skills --skill xiaohongshu --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Xiaohongshu?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Xiaohongshu
[![Security: B — Skills Directory](https://www.skillsdirectory.com/api/skills/sundial-org-xiaohongshu/badge)](https://www.skillsdirectory.com/skills/sundial-org-xiaohongshu)

More formats (shields.io, HTML) on the badges page.

Download with Pro
Files
SKILL.md
---
name: xiaohongshu
---

# 小红书技能 (Xiaohongshu Skill)

小红书内容创作、发布与运营一体化技能。

## 环境

- Python venv: `/root/clawd/skills/xiaohongshu/venv`
- 激活: `source /root/clawd/skills/xiaohongshu/venv/bin/activate`
- social-auto-upload: `/root/clawd/skills/xiaohongshu/social-auto-upload`

## 功能模块

### 1. 内容创作 ✅
AI 根据主题撰写小红书风格内容。

### 2. 渲染卡片 ✅
将 Markdown 内容渲染成小红书风格的图片卡片(1080×1440px)。

```bash
cd /root/clawd/skills/xiaohongshu
./render <markdown文件> --style <样式> -o output/
```

可用样式: `purple`(默认), `xiaohongshu`, `mint`, `sunset`, `ocean`, `elegant`, `dark`

### 3. 发布笔记 ✅ (RPA方式)
使用 Playwright 自动化发布,模拟真实用户操作。

**首次使用需要登录获取 Cookie:**
```bash
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 自动保存。

**发布图文笔记:**
```python
from uploader.xiaohongshu_uploader.main import XiaoHongShuVideo
# 详见 examples/upload_video_to_xiaohongshu.py
```

### 4. 查看数据(开发中)
通过 RPA 方式获取笔记数据。

### 5. 学习他人笔记(开发中)
通过 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/      # 各平台上传模块
```

## 注意事项

- RPA 方式需要首次扫码登录
- 发布间隔建议 > 30 秒,避免风控
- 图片尺寸 1080×1440px(小红书推荐比例)
- 支持定时发布

Attribution

sundial-orgsundial-org
View sourceMore from sundial-org →
SSkills DirectorySkills Directory

Know which skills are safe — weekly.

Best new skills + every skill we flagged as malicious. From the team that scanned 103,619.

Join free

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Know which skills are safe — weekly.

Best new skills + every skill we flagged as malicious. From the team that scanned 103,619.

Join free

Related Skills

Browser Extension Developer

Use this skill when developing or maintaining browser extension code in the `browser/` directory, including Chrome/Firefox/Edge compatibility, content scripts, background scripts, or i18n updates.

284072 votes

Seo Optimizer

SEO optimization with keyword analysis, readability assessment, technical validation, content quality. Use for search rankings, blog posts, content audits, or encountering keyword density, readability scores, meta tags, schema markup errors.

2192 votes

Google Official Seo Guide

Official Google SEO guide covering search optimization, best practices, Search Console, crawling, indexing, and improving website search visibility based on official Google documentation

1862 votes

Tanstack Start

Build a full-stack TanStack Start app on Cloudflare Workers from scratch — SSR, file-based routing, server functions, D1+Drizzle, better-auth, Tailwind v4+shadcn/ui. Use whenever the user mentions TanStack Start, asks to scaffold a full-stack Cloudflare app with SSR, wants an SSR dashboard, or asks for a React 19 + Cloudflare Workers app with file-based routing and server functions — even if they don't name TanStack Start specifically. No template repo — Claude generates every file fresh per ...

9881 votes

Pentest

PTES-aligned adversarial security audit for backend, frontend, and mobile applications. Produces a CVSS-scored Hacker Report with verified PoCs and phased remediation.

5491 votes
View all in development →