agentleFS
ZJU-REALZJU-REAL/Easel/skills/openclaw/skill-xhs-publisher/AGENTS.md

Easel / skill-xhs-publisher

AGENTS.md3.1k starsChanged 2 months agoApache-2.0View on GitHub

本 SKILL 的小红书发布已从旧的 CDP-to-真实Chrome Python 栈(cdp_publish.py 等,需桌面 Chrome、headless 环境不可用)整体重写为 Playwright 版,流程与选择器移植自成熟开源实现 xpzouying/xiaohongshu-mcp。旧 CDP 脚本已删除。 - 执行入口:../../shared/scripts/xhs_publish.py(不在本目录,属跨 SKILL 共享脚本层)。 - 本目录只保留:SKILL.md(流程/约束)、references/commands.md(命令样例)、 config/accounts.json.example、public/、docs/。 - 小红书改版导致定位失败:只改 xhs_publish.py 顶部 SELECTORS 字典(单点集中,每条标了 参考源),不要散改流程逻辑;先 --headed 观察再改。 - 反检测:脚本已内置 --disable-blink-features=AutomationControlled + 逐字符输入 + zh-CN; 新增交互优先用 Playwright 原生动作,避免可被检测的大段 JS 注入。 - 安全:禁止提交真实 Cookie / 账号令牌;登录态在 ~/.easel-browser-profiles/,不入库。

Trending

Quiet since September.thin dataabout the whole repository

Jan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 0 mentionsJul 2026: 0 mentionsAug 2026: 0 mentionsSep 2026: 1 mentionOct 2026: 0 mentionsNov 2026: 0 mentionsDec 2026: 0 mentions
Jan 2026Jul 2026Dec 2026
Mentions a month of the ZJU-REAL/Easel repository that our weekly crawl found: only 1 in all, so this is a hint, not a trend. There is no adoption data for this file yet.

Who's talking about ZJU-REAL/Easel

The biggest 1 of 1 mention linking to the repository that our crawl found. Each line is their own headline.

The file

Files
AGENTS.md

仓库指南(xhs-publisher)

实现现状(2026-07 重写)

本 SKILL 的小红书发布已从旧的 CDP-to-真实Chrome Python 栈(cdp_publish.py 等,需桌面 Chrome、headless 环境不可用)整体重写为 Playwright 版,流程与选择器移植自成熟开源实现 xpzouying/xiaohongshu-mcp。旧 CDP 脚本已删除。

  • 执行入口:../../shared/scripts/xhs_publish.py(不在本目录,属跨 SKILL 共享脚本层)。
  • 本目录只保留:SKILL.md(流程/约束)、references/commands.md(命令样例)、 config/accounts.json.example、public/、docs/。

开发/冒烟命令(CWD=项目根)

python ../../shared/scripts/xhs_publish.py selftest   # 离线自检(选择器/标题算法/参数)
python ../../shared/scripts/xhs_publish.py check       # 验 playwright + chromium
python ../../shared/scripts/xhs_publish.py login       # 有头扫码登录(持久化)
python ../../shared/scripts/xhs_publish.py plan ...    # dry-run 预检
python ../../shared/scripts/xhs_publish.py publish --exec --headed ...   # 首次校验选择器

维护规范

  • 小红书改版导致定位失败:只改 xhs_publish.py 顶部 SELECTORS 字典(单点集中,每条标了 参考源),不要散改流程逻辑;先 --headed 观察再改。
  • 反检测:脚本已内置 --disable-blink-features=AutomationControlled + 逐字符输入 + zh-CN; 新增交互优先用 Playwright 原生动作,避免可被检测的大段 JS 注入。
  • 安全:禁止提交真实 Cookie / 账号令牌;登录态在 ~/.easel-browser-profiles/,不入库。

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.