Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By iamzifeiv3.0.0MIT
Publishes images and multi-image notes to Xiaohongshu from Markdown, saving them as drafts by default. Uses your already logged-in Chrome over a debug port, so you log in once and reuse the session; macOS only.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
Of the plugin's README
Chinese
xiaohongshu, redbook, social-media, image-publishing, browser-automation, chrome-cdp, content-publishing, 小红书 ·
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Publish images and notes to Xiaohongshu (小红书) with one command. Uses CDP mode to connect to your existing browser session.
v3.0.0 — Now using agent-browser with CDP mode for seamless browser automation
Publishing to Xiaohongshu manually is tedious:
| Pain Point | Description |
|---|---|
| Login Hassle | Must scan QR code every session |
| Multiple Images | Upload images one by one |
| Content Formatting | Copy-paste text, add tags manually |
| Time Consuming | 5-10 minutes per post |
| Task | Manual | With This Skill |
|---|---|---|
| Login | 30 sec - 1 min | Login once in browser, reuse session |
| Image upload (5 images) | 2-3 min | 30 sec |
| Title & content | 1-2 min | 10 sec |
| Total | 5-10 min | 1-2 min |
5x efficiency improvement
This skill uses CDP (Chrome DevTools Protocol) mode to connect to your existing browser:
1. Start Chrome with debug port
2. Login to Xiaohongshu once in browser
3. AI connects to your browser session
4. Automates publishing while you stay logged in
Images/Markdown File
↓ Python parsing
Structured Data (title, content, images, tags)
↓ agent-browser --cdp 9222
Your Chrome Browser (already logged in)
↓
Draft/Published Note
--cdp 9222 flag| Feature | v2.x | v3.0 |
|---|---|---|
| Connection mode | New browser each time | CDP (connect to existing) |
| Login handling | QR code detection + auth files | Login once in your browser |
| Session management | Auth state files | Browser's own session |
| Command format | npx agent-browser open ... | npx agent-browser --cdp 9222 open ... |
| Requirement | Details |
|---|---|
| Claude Code | claude.ai/code |
| Chrome | Launch with --remote-debugging-port=9222 |
| Python 3.9+ | With dependencies below |
| macOS | Currently macOS only |
## 怎么装(没用过命令行也能跟着做)
> 下面每一步都可以**直接复制粘贴**。不用懂什么是「技能」「仓库」「终端」,照做就行。
> 哪一步卡住了,**把报错原样复制给 AI,让它帮你看**——这是最快的解决办法。
### 方式一:WorkBuddy(推荐,不用敲命令)
1. **下载安装 WorkBuddy**,打开它,登录。
2. 在电脑上**新建一个文件夹**,名字随便,比如 `我的AI技能`,放桌面上就行。记住它在哪。
3. **把本项目下载下来**:
- 在本页面点绿色的 **Code** 按钮 → **Download ZIP**
- 下载完**解压**,把解压出来的整个文件夹拖进刚才建的 `我的AI技能` 里
4. 打开 WorkBuddy 的**设置 → 技能(Skills)**,点「添加技能目录」,选中 `我的AI技能` 这个文件夹。
5. **重启 WorkBuddy**。
6. 在对话框里输入 **`/小红书发布 新手`**,回车。
看到它开始介绍它能做什么并给你编号选项,就是装好了。
> 找不到「技能」入口?在设置里搜 `skill`,或者直接问 WorkBuddy:「我要怎么添加本地技能目录?」
> WorkBuddy 的菜单名称可能随版本变化,但「添加技能目录」这一步的意思是一样的。
### 方式二:Claude Code(会用终端的人)
```bash
git clone https://github.com/iamzifei/red-publisher-skill.git
把 clone 下来的文件夹放进 Claude Code 的技能目录(~/.claude/skills/),重启,输入 /小红书发布 新手。
这些工具大多会读一个固定的技能目录,常见的是 ~/.agents/skills、~/.codex/skills。
把本项目文件夹复制进去,重启工具,输入 /小红书发布 新手。
在对话框里输入 /小红书发布 新手。它会自己介绍自己、并带你走一遍——
不用你想好要问什么,也不用准备任何材料。
pip install Pillow pyobjc-framework-Cocoa
### Pre-requisite: Launch Chrome with Debug Port
Before using this skill, start Chrome with remote debugging:
```bash
# macOS
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --remote-debugging-port=9222
Tip: Add an alias to your shell config (~/.zshrc or ~/.bashrc):
alias chrome-debug='/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --remote-debugging-port=9222'
Then login to Xiaohongshu once: https://creator.xiaohongshu.com/publish/publish
Tip: After login, you can minimize the browser to the Dock. It must stay running, but you don't need to see it.
git clone https://github.com/wshuyi/xiaohongshu-publisher-skill.git
cp -r xiaohongshu-publisher-skill/skills/xiaohongshu-publisher ~/.claude/skills/
/plugin marketplace add wshuyi/xiaohongshu-publisher-skill
/plugin install xiaohongshu-publisher@wshuyi/xiaohongshu-publisher-skill
发布这些图片到小红书: /path/to/photo1.jpg, /path/to/photo2.jpg
标题是"周末探店"
Publish /path/to/note.md to Xiaohongshu
帮我把这篇笔记发到小红书,存草稿就行
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Claude Code refuses to install this plugin
.claude-plugin/plugin.json: dependencies: Invalid input: expected array, received object
Checked against Claude Code 2.1.332's install rules. The listing below is what the repository ships; Claude Code cannot install it as published.
Plugins from other owners that cover similar ground