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.
Claude loads one when your task matches it, or you run it by name.
1 marketplace, most starred first
xiaohongshu, 小红书, redbook, social-media, content-creation, image-generation
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
仓库地址:https://github.com/tensorslab/xhs-skills.git
本项目基于 Skills 工作流重新组织了小红书内容创作、图片生成与发布能力。当前仓库相对于原上游仓库在目录结构、技能拆分、提示词协作方式、发布流程和方案展示细节上都已发生较大变化;原上游仓库已移入致谢列表。
项目包含两个小红书创作技能(各司其职),并通过独立的 xhs-publisher 技能完成发布:
| 技能 | 定位 | 适用场景 |
|---|---|---|
| xhs-note-creator | 文字类小红书创作与卡片渲染 | 撰写文案 → 专业化排版渲染卡片 |
| xhs-images-design | 图片类小红书图文卡片生成 | AI 生成插画/卡通/手绘风格原创配图 |
| xhs-publisher | 小红书发布(浏览器自动化) | 驱动真实浏览器,模拟真人操作把卡片发布到小红书 |
核心能力:
xhs-publisher 用真实浏览器模拟用户操作完成,全程不调用任何平台私有接口、不抓取 Cookie 签名,规避直接调接口的高风险。本项目定位为创作辅助与私密草稿推送工具,不鼓励也不支持无人值守的托管运营、批量发布或绕过平台规则的行为。所有内容默认仅自己可见,需由用户在小红书端确认后自行公开。
本仓库不是 GitHub fork,而是在 MIT License 允许范围内基于相关项目重新组织、改造和扩展。原始来源已在致谢中列出,并在 LICENSE 中保留对应版权声明。
# 添加本仓库为 marketplace
/plugin marketplace add tensorslab/xhs-skills
# 安装插件
/plugin install xhs-skills@tensorslab-xhs-skills
安装后运行 /reload-plugins 即可使用。
跟你的 Agent 说:
拉取下面的项目,安装其中的技能:https://github.com/tensorslab/xhs-skills.git
git clone https://github.com/tensorslab/xhs-skills.git
cd xhs-skills
可以将本项目skills 目录中所有skill 放到支持 Skills 的客户端目录,例如:
~/.claude/skills/~/.config/Alma/skills//your-path/.trae/skills/Python:
pip install -r requirements.txt
playwright install chromium
Node.js:
npm install
npx playwright install chromium
发布使用浏览器自动化,需额外安装 playwright-cli:
npm install -g @playwright/cli(详见 技能三)。
以文字内容为主的笔记场景:干货分享、知识科普、清单排行、教程步骤等。
xhs-publisher 技能通过真实浏览器发布(默认仅自己可见)核心脚本:skills/xhs-note-creator/scripts/render_xhs.py
# 最简单用法(默认主题 + 手动分页)
python skills/xhs-note-creator/scripts/render_xhs.py demos/content.md
# 使用自动分页(推荐:内容长短难控)
python skills/xhs-note-creator/scripts/render_xhs.py demos/content.md -m auto-split
# 使用固定尺寸自动缩放(auto-fit)
python skills/xhs-note-creator/scripts/render_xhs.py demos/content_auto_fit.md -m auto-fit
# 切换主题(例如 Playful Geometric)
python skills/xhs-note-creator/scripts/render_xhs.py demos/content.md -t playful-geometric -m auto-split
# 自定义尺寸和像素比
python skills/xhs-note-creator/scripts/render_xhs.py demos/content.md -t retro -m dynamic --width 1080 --height 1440 --max-height 2160 --dpr 2
主要参数:
| 参数 | 简写 | 说明 |
|---|---|---|
--theme | -t | 可用主题:default、playful-geometric、neo-brutalism、botanical、professional、retro、terminal、sketch、glassmorphism |
--mode | -m | 分页模式:separator / auto-fit / auto-split / dynamic |
--width | -w | 图片宽度(默认 1080) |
--height | 图片高度(默认 1440,dynamic 为最小高度) | |
--max-height | dynamic 模式最大高度(默认 2160) | |
--dpr | 设备像素比,控制清晰度(默认 2) |
生成结果:封面
cover.png+ 正文卡片card_1.png、card_2.png...
脚本:skills/xhs-note-creator/scripts/render_xhs.js,参数与 Python 基本一致:
# 默认主题 + 手动分页
node skills/xhs-note-creator/scripts/render_xhs.js demos/content.md
# 指定主题 + 自动分页
node skills/xhs-note-creator/scripts/render_xhs.js demos/content.md -t terminal -m auto-split
本技能只负责文案创作与卡片渲染,已不再内置任何发布脚本或 Cookie/接口调用(早期版本的 publish_xhs.py 直接调接口,风险极高,已彻底移除)。发布统一交由独立的 xhs-publisher 技能完成——详见下文 技能三。
所有示例均为 1080x1440px,小红书推荐 3:4 比例 更多示例去 demo 中查看
npx claudepluginhub tensorslab/xhs-skills --plugin xhs-skillsBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground