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.

Install it, pinned
mdr add zju-real/easel/skills/builtin/skill-xhs-publisher/AGENTS.md@git:20261012.0d53744

Pins 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

The exact contents, by fingerprint
mdr add zju-real/easel/skills/builtin/skill-xhs-publisher/AGENTS.md@sha256:da2698462929976d

The 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_ai45u2kiwycbtrt7.svg)](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.

versioncommittedcommitsizeaudit
git:20261012.0d53744 latest2026-10-12 0d53744 1,782 BA view

Audit of the latest version

A  14 of 14 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • 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

GitHub

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.

More from zju-real/easel

AGENTS.md@agents/workspace AGENTS.md file
zju-real/easel · agents/workspace/AGENTS.md
git:20261023.a097ddf · audit B · 4,469 stars
ai-image-gen SKILL.md skill
zju-real/easel · skills/builtin/ai-image-gen/SKILL.md · 通用 AI 生图:文生图 / 图生图 / 图像变体。当用户说 AI 生图、AI 画图、文生图、图生图、生成图片、生成配图、图像生成、AI 出图、AI 作图、换图、改图、图像编辑、给我画一张、生成一张图 时使用。支持 OpenAI 兼容…
git:20261012.0d53744 · audit A · 4,469 stars
ai-music SKILL.md skill
zju-real/easel · skills/builtin/ai-music/SKILL.md · AI 音乐 / BGM 生成:给短视频、社媒内容生成原创背景音乐 / 配乐 / 纯音乐。通过可插拔 provider(阿里 DashScope / Suno 类第三方…
git:20261018.8d08b21 · audit A · 4,469 stars
ai-video-gen SKILL.md skill
zju-real/easel · skills/builtin/ai-video-gen/SKILL.md · AI 视频生成:文生视频 / 图生视频 / 数字人首帧驱动。通过可插拔 provider(通义万相 Wan / 火山 Seedance / 快手可灵 / OpenAI 兼容)异步生成视频,用户自备 API key。当用户说 AI…
git:20261012.0d53744 · audit A · 4,469 stars
asset-manager SKILL.md skill
zju-real/easel · skills/builtin/asset-manager/SKILL.md · outputs/ 目录下的产物管理:按日期/平台/类型归档、打标签、搜索历史内容、生成素材清单。 当用户说"整理素材"、"归档"、"找之前的内容"、"搜索历史"、"素材管理"、 "outputs 整理"、"之前做的"时使用。 与其他…
git:20261012.0d53744 · audit A · 4,469 stars
audio-denoise SKILL.md skill
zju-real/easel · skills/builtin/audio-denoise/SKILL.md · 音频降噪:去除录音中的背景噪声、电流声、风噪、嗡嗡声,基于 ffmpeg 滤镜链(afftdn/highpass/lowpass)。 当用户说"降噪""去噪""去杂音""消除背景噪声""电流声""风噪""录音有杂音""音频降噪"时使用。…
git:20261012.0d53744 · audit A · 4,469 stars
audio-editing SKILL.md skill
zju-real/easel · skills/builtin/audio-editing/SKILL.md · 通用音频处理:音频剪辑/裁剪、格式转码(mp3/wav/m4a/aac)、音量归一化、从视频提取音轨、多段拼接、淡入淡出、变速(保音高)。当用户说“剪音频”“裁一段”“转成…
git:20261012.0d53744 · audit A · 4,469 stars
audio-mix SKILL.md skill
zju-real/easel · skills/builtin/audio-mix/SKILL.md · 音频混合 / 混音:把旁白口播 + 背景音乐 + 音效混成一轨,BGM 自动循环补足并可闪避(旁白说话时自动压低 BGM 保证人声清晰)。当用户说 混音、音频混合、旁白加背景音乐、配音加BGM、人声和音乐混一起、加音效、音频叠加、BGM…
git:20261025.5a597e5 · audit A · 4,469 stars
audio-visualizer SKILL.md skill
zju-real/easel · skills/builtin/audio-visualizer/SKILL.md · 音频可视化视频:把纯音频(播客片段、音乐、口播金句、电台)渲染成带动态波形/频谱的视频,配封面和标题,好发到抖音/B站/视频号等只收视频的平台。当用户说…
git:20261012.0d53744 · audit A · 4,469 stars
auto-short-video SKILL.md skill
zju-real/easel · skills/builtin/auto-short-video/SKILL.md · 一句话主题 → 成品短视频:自动串联 文案→配图/AI视频→配音→字幕→BGM→合成,把 Easel 制作层零件编排成一条'一键出片'流水线。**单条视频、口播/资讯向,画面默认逐句配图 + Ken Burns…
git:20261025.5a597e5 · audit A · 4,469 stars
auto-subtitle SKILL.md skill
zju-real/easel · skills/builtin/auto-subtitle/SKILL.md · 自动字幕 / 语音转字幕:把音频或视频里的语音识别成字幕文件(SRT/ASS/TXT/JSON),可选把字幕烧录进视频。当用户说自动字幕、语音转字幕、视频加字幕、上字幕、转录、听写、字幕文件、生成字幕、烧字幕时使用。
git:20261012.0d53744 · audit A · 4,469 stars
batch-process SKILL.md skill
zju-real/easel · skills/builtin/batch-process/SKILL.md · 批量处理:对一个目录里的一批图片/视频/音频统一套用同一操作——批量压缩、加水印、转格式、缩放、转比例、音量归一化等。当用户说 批量处理、批量压缩、批量加水印、批量转格式、一批图片/视频、给这个文件夹、全部转成、批量缩放、批量转竖版、整个目…
git:20261012.0d53744 · audit A · 4,469 stars

Every file in zju-real/easel

Browse by kind, by grade A, or by owner.