Skip to content

ZJU-REAL/Easel / skills/builtin/skill-xhs-publisher

skill-xhs-publisher

Verified

将图文/视频内容发布到小红书(XHS)。基于 Playwright + 持久化登录态,headless 即可运行, 流程与选择器移植自成熟开源实现 xiaohongshu-mcp(含发布成功校验、上传完成等待、话题联想绑定、 新旧发布按钮兼容、反检测)。适用场景:发布图文笔记、发布视频、扫码登录、发布前预检。

FileKindSize
AGENTS.mdmarkdown1.7 KB
EASEL-META.mdmarkdown3.3 KB
SKILL.mdskill md5.2 KB
public/whitedew.jpgbinary112.2 KB
references/commands.mdmarkdown3.8 KB
todo.mdmarkdown813 B
# xhs-publisher 后续可移植(参考 xiaohongshu-mcp)

当前实现(`../../shared/scripts/xhs_publish.py`)已覆盖:登录 + 图文/视频发布 + 成功校验。

参考实现里还有、我们暂未移植的能力(需要时再从 `xiaohongshu-mcp/xiaohongshu/` 移植):

- **检索/互动**:`feeds.go`/`search.go`/`feed_detail.go`/`comment_feed.go`/`like_favorite.go`
  ——喂 xhs-analyzer / comment-insights 用。
- **发布高级项**:可见范围 / 定时发布 / 原创声明 / 商品绑定(`publish.go` 里选择器齐全)。

已移植:
- ✅ **二维码登录**(`login` 抠二维码成 PNG 供扫码,headless 可用)——但机房/代理 IP 会被小红书判
  风险拦在登录前,需干净 IP 或异地登录后拷贝登录态目录(`--profile-base`)。

finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the workStars: 323kUpdated Claude CodeCodexVerifiedInstall
systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixesStars: 323kUpdated Claude CodeCodexVerifiedInstall
test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation codeStars: 323kUpdated Claude CodeCodexVerifiedInstall
skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.Stars: 198kUpdated Claude CodeCodexVerifiedInstall