redbook

redbook is a skill for Claude Code, Codex from ZJU-REAL/Easel. It costs 95 tokens per session (1,556 once invoked), scanned A, original, Apache-2.0.

A read-only Xiaohongshu analysis tool for searching posts, collecting engagement data, studying popular posts, building creator profiles, and checking for possible reach restrictions.

In plain words
What is it for?
Use it to research topics, compare post performance, identify patterns in popular content, and inspect a creator account.
Why use it?
It separates research from publishing and interaction, so you can study content without changing posts or comments.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Good fit Use it to research topics, compare post performance, identify patterns in popular content, and inspect a creator account.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/zju-real/easel/skill-xhs-analyzer
About the project

Easel is an open-source content workspace and AI agent for managing social media from trend discovery through planning, content creation, publishing, and performance analysis. It is intended for social media creators and maintains separate account profiles, content projects, platform adaptations, and publishing records. The catalogue skills support these content and publishing workflows.

ZJU-REAL/Easel · 5,054 stars · on GitHub · zju-real.github.io

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ZJU-REAL/Easel --skill skill-xhs-analyzer
Clone the repo
git clone --depth 1 https://github.com/ZJU-REAL/Easel

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for redbook

README.md
[![agentmods](https://agentmods.dev/badge/skills/zju-real/easel/skill-xhs-analyzer/github.svg)](https://agentmods.dev/skills/zju-real/easel/skill-xhs-analyzer)
Your own site
<a href="https://agentmods.dev/skills/zju-real/easel/skill-xhs-analyzer"><img src="https://agentmods.dev/badge/skills/zju-real/easel/skill-xhs-analyzer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for redbook

Your own site · 80×15
<a href="https://agentmods.dev/skills/zju-real/easel/skill-xhs-analyzer"><img src="https://agentmods.dev/badge/skills/zju-real/easel/skill-xhs-analyzer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 95 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,556 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00095 $0.01556
Opus 5.5 $0.00038 $0.00622
Sonnet 5.5 $0.00019 $0.00311
Haiku 4.5 $0.00010 $0.00156

Measured 1mo ago against content hash a3e7b2b366e0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

redbook scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

The scan reads SKILL.md. This mod also ships 17 executable files (scripts/postinstall.js, scripts/preuninstall.js, src/cli.ts, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/builtin/skill-xhs-analyzer/SKILL.md · 89 lines

How it starts

The opening of the file, as written. The whole thing — 89 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Redbook — 小红书内容分析 CLI

用 redbook CLI 搜索笔记、读内容、分析创作者、提取爆款规律、研究选题。OpenClaw 用户: clawhub install redbook 或 npm install -g @lucasygu/redbook --ignore-scripts。Easel 环境里推荐 --ignore-scripts,避免上游 postinstall 额外写入带发布/评论能力的技能。

⚠️ 环境依赖

本 SKILL 不是 macOS 专属。Linux/WSL 可用 REDBOOK_COOKIE_STRING 或 REDBOOK_COOKIE_FILE(默认 ~/.redbook/cookies.json)提供登录态;macOS keychain / 浏览器抽取只是 cookie 来源之一。

依赖 说明
Node.js ≥ 22 运行 @lucasygu/redbook CLI
redbook binary 经 clawhub install redbook / npm install -g @lucasygu/redbook --ignore-scripts 安装
登录 cookie 优先 REDBOOK_COOKIE_STRING;其次 REDBOOK_COOKIE_FILE / ~/.redbook/cookies.json;也可用已登录浏览器(桌面环境)
puppeteer-core + marked 仅 render 卡片渲染需要(可选)

与 skill-xhs-publisher 的分工边界

  • xhs-analyzer(本 SKILL) = 分析:搜索/数据/爆款规律/关键词矩阵/创作者画像/限流检测。
  • skill-xhs-publisher = 发布 + 互动运营:发图文/视频、日常评论/回复/点赞收藏、内容数据、通知抓取。
  • 本 SKILL 只读。不得调用 comment/reply/like/collect/post 等写命令;发布交给 skill-xhs-publisher,评论与回复交给 skill-xhs-comment-reply,由对应 Skill 执行确认和出站安全检查。

Research discipline(先读这条)

XHS 风控节流的是读取,不只是写入。任何读超过几篇笔记的研究,都必须走 references/research-loop.md 的研究循环 —— 默认 human-paced(~20 s/篇,一次一篇)。在紧循环里猛敲 read/comments/analyze-viral 会在几十次内触发验证码/IP 封(300012),账号降级数小时。⚡ Fast 模式仅应急,需打印警告 + 用户明确 opt-in。绝不并行或零延迟发读。

Usage

redbook search "AI编程" --json       # 搜索笔记
redbook read <webUrl> --json         # 读笔记(用 search 返回的 webUrl,含 xsec_token)
redbook user <profileUrl> --json     # 创作者档案
redbook analyze-viral <webUrl> --json # 单篇爆款分析(0-100 分)
redbook account-report --file ids.txt --json  # 批量账号指标
redbook health --all --json          # 笔记限流检测

始终加 --json 供程序解析。全部命令、选项、JSON 结构见 references/commands.md。

能力概览

分析能力拆成 13 个可组合模块(A–M)+ 组合工作流,详见 references/modules.md:

模块 能力
A 关键词参与度矩阵 · B 跨主题热力图 · C 参与度信号 需求版图
D 创作者画像 · D2 已知账号报告 · E 内容形态分解 竞争/形态
F 机会评分 · G 受众推断 · H 内容头脑风暴 策略产出
I 评论洞察 · J 爆款结构拆解 · K 互动机会识别 只读分析
L 卡片渲染(离线) · M 笔记限流检测 产出/健康

Read the full file on GitHub · 89 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · -2 lines a3e7b2b366e0
  2. 2mo ago First seen · 91 lines · 95 tokens per session scan A a377eb67dee2

Subscribe to this mod's changes

redbook is a skill published in the GitHub repository ZJU-REAL/Easel (5,054 stars, last pushed 3d ago), licensed Apache-2.0. It adds 95 tokens to every session and 1,556 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

redbook compared with skills from other repositories

redbook next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
redbookZJU-REAL/EaselSkill5.1k3d agoApache-2.0A95Claude Code, Codex
information-security-manager-iso27001seaworld008/Commonly-used-high-value-skillsSkill752d agoMITA34Claude Code, Codex
bmad-specalvin-reyes/better-agentic-ideSkill3813d agoMITA76Claude Code
video-editoroyi77/1ai-skillsSkill19yesterdayMITA59Claude Code
bmad-advanced-elicitationalvin-reyes/better-agentic-ideSkill3813d agoMITA55Claude Code
ai-newsletteroyi77/1ai-skillsSkill19yesterdayMITA36Claude Code
responsive-designoyi77/1ai-skillsSkill19yesterdayMITA23Claude Code