AGENTS.md@skills/builtin/skill-xhs-publisherA
AGENTS.md@skills/builtin/skill-xhs-publisher from zju-real/easel is an AGENTS.md file: the standing instructions coding agents read in that repo.
mdr add zju-real/easel/skills/builtin/skill-xhs-publisher/AGENTS.md@git:20261012.0d53744Pins git:20261012.0d53744 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 14 of 14 checks passed
- Kind
- AGENTS.md file
- Repository
- zju-real/easel
- Path
skills/builtin/skill-xhs-publisher/AGENTS.md- Versions recorded
- 1
- Latest version
- git:20261012.0d53744, committed Oct 12, 2026
- Size
- 1,782 bytes
- Repository stars
- 4,469
- License
- Apache-2.0
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# 仓库指南(xhs-publisher) ## 实现现状(2026-07 重写) 本 SKILL 的小红书发布已从旧的 **CDP-to-真实Chrome** Python 栈(`cdp_publish.py` 等,需桌面 Chrome、headless 环境不可用)**整体重写为 Playwright 版**,流程与选择器移植自成熟开源实现 [xpzouying/xiaohongshu-mcp](https://github.com/xpzouying/xiaohongshu-mcp)。旧 CDP 脚本已删除。 - 执行入口:`../../shared/scripts/xhs_publish.py`(不在本目录,属跨 SKILL 共享脚本层)。 - 本目录保留:`SKILL.md`(流程/约束)、`references/commands.md`(命令样例)、 `AGENTS.md`、`EASEL-META.md`、`public/` 和 `todo.md`;账号登录态由共享脚本管理。 ## 开发/冒烟命令(CWD=项目根) ```bash python skills/shared/scripts/xhs_publish.py selftest # 离线自检(选择器/标题算法/参数) python skills/shared/scripts/xhs_publish.py check # 验 playwright + chromium python skills/shared/scripts/xhs_publish.py login # 提取二维码扫码(持久化),本地有桌面时加 --headed python skills/shared/scripts/xhs_publish.py plan ... # dry-run 预检 python skills/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/`,不入库。
Read the whole file at its exact version.
How to install
mdr add zju-real/easel/skills/builtin/skill-xhs-publisher/AGENTS.md@sha256:da2698462929976dThe line at the top of this page pins the label git:20261012.0d53744, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_ai45u2kiwycbtrt7)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Oct 12, 2026.
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (1782 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
zju-real/easel · 4,469 stars · license Apache-2.0 · pushed 2026-11-02 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_ai45u2kiwycbtrt7 GET https://markdownregistry.com/api/v1/resolve?ref=zju-real/easel/skills/builtin/skill-xhs-publisher/AGENTS.md GET https://markdownregistry.com/api/v1/blob/da2698462929976d2d674559fc4f6920c4113a1dc89145d4579cecf131b02fcd
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: how to write a good AGENTS.md · AGENTS.md vs CLAUDE.md · which agent file does what.