跳到正文
cccskills
免费在 GitHub 公开

redbook

Research posts on 小红书 using search, engagement data, and creator profiles. Analyze successful content, compare topics, and check for possible visibility restrictions to inform content planning through a command-line tool.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

小红书内容分析:搜索笔记、拉取互动数据、分析爆款规律、创作者画像、限流检测,支持 CLI 自动化操作。当用户说"小红书数据分析""小红书爆款分析""笔记数据""小红书限流检测""小红书创作者画像""分析小红书账号"时使用。发布与日常互动运营请用 skill-xhs-publisher。

查看安装方法

适用场景

  • Researching promising content topics on 小红书
  • Analyzing the structure of successful posts
  • Comparing creators and account metrics
  • Checking posts for visibility restrictions

包含的文件(30)

  • SKILL.md5.2 KB
  • .github/workflows/npm-publish.yml3.8 KB
  • EASEL-META.md2.1 KB
  • package-lock.json36.6 KB
  • package.json1.6 KB
  • references/commands.md4.4 KB
  • references/modules.md6.2 KB
  • references/platform-signals.md1.7 KB
  • references/research-loop.md8.2 KB
  • references/technical-reference.md3.8 KB
  • scripts/postinstall.js4.5 KB
  • scripts/preuninstall.js1.4 KB
  • social-preview.html5.1 KB
  • social-preview.png261.4 KB
  • src/cli.ts76.8 KB
  • src/lib/analyze.ts20.0 KB
  • src/lib/cdp-cookies.ts13.1 KB
  • src/lib/client.ts22.2 KB
  • src/lib/cookies.ts13.3 KB
  • src/lib/creator-signing.ts1.8 KB
  • src/lib/detect.ts6.6 KB
  • src/lib/fingerprint-data.ts2.3 KB
  • src/lib/health.ts5.5 KB
  • src/lib/platform.ts2.7 KB
  • src/lib/render.ts19.5 KB
  • src/lib/reply-strategy.ts6.0 KB
  • src/lib/signing.ts21.1 KB
  • src/lib/template.ts8.0 KB
  • src/lib/url.ts1.8 KB
  • tsconfig.json458 B

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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 笔记限流检测产出/健康

组合示例:快速主题扫描 A→C→F;完整细分分析 A→B→C→D→E→F→G→H;单篇深挖 analyze-viral。

关键领域知识(references/)

文件内容
platform-signals.md收藏/点赞、评论/点赞、分享/点赞比率基准;排序语义;图文 vs 视频
modules.md13 个分析模块 A–M + 组合工作流
commands.md所有 redbook 命令详解 + 选项 + JSON 结构 + 全局选项
research-loop.md读操作节流:三模式/严格规则/状态契约/tick/驱动器/熔断器/写侧阈值
technical-reference.md大陆 vs 全球后端、xsec_token、中文数字、错误处理、API vs 浏览器限制、输出格式

Requirements

  • Node.js ≥ 22 · 已安装 redbook · 提供 REDBOOK_COOKIE_STRING / cookie 文件,或在支持的桌面浏览器中已登录 xiaohongshu.com
  • 仅卡片渲染额外需 puppeteer-core + marked(用本机 Chrome,无需额外下载浏览器)

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Generate images from written descriptions, transform existing images with editing instructions, or create several variations. Choose image dimensions and quantity, then save the results using an OpenAI-compatible service or apimart with your own API key.

中文简介正在准备中。当前显示英语简介。

  • Generating an illustration from a written description
  • Changing an image's background using instructions
  • Creating several variations of an existing image
ZJU-REAL/Easel40242026年10月21日 更新

ai-music

免费

Generate background music for short videos, vlogs, and social posts from descriptions of mood, style, and instruments. Download MP3 audio, optionally include sung lyrics, and use shared scripts to trim tracks, adjust loudness, or add music to videos.

中文简介正在准备中。当前显示英语简介。

  • Generating background music for a vlog intro
  • Creating instrumental music to match a social post
  • Generating a sung track from supplied lyrics
ZJU-REAL/Easel40242026年10月21日 更新

Create new videos from written scene descriptions or still images using external AI services. Set the aspect ratio and duration, animate a character image, and request generated audio when the selected model supports it.

中文简介正在准备中。当前显示英语简介。

  • Generate a short video from a scene description
  • Animate a still image
  • Create character motion from a starting image
ZJU-REAL/Easel40242026年10月21日 更新

Organize generated images, videos, and text in outputs/ by date, platform, and type. Add tags, search filenames and content, produce asset lists and reports, and preview archive moves before applying them to make past work easier to reuse.

中文简介正在准备中。当前显示英语简介。

  • Organizing generated assets by date, platform, and type
  • Finding past content through keywords and tags
  • Listing assets for a specific account or platform
ZJU-REAL/Easel40242026年10月21日 更新

Reduce background noise in audio recordings or video soundtracks with three processing levels. Keep the original file, create a cleaned version, and receive a report of the settings used and file details before and after processing.

中文简介正在准备中。当前显示英语简介。

  • Reducing fan or air conditioner noise in recordings
  • Cleaning speech in podcasts and interviews
  • Reducing noise in a video's audio track
ZJU-REAL/Easel40242026年10月21日 更新

Edit audio files by trimming sections, converting formats, matching loudness, or extracting sound from videos. You can also join recordings, add fades, and change playback speed while keeping the original pitch.

中文简介正在准备中。当前显示英语简介。

  • Trim a recording to the section you need
  • Convert audio formats and match loudness
  • Extract audio from a video
ZJU-REAL/Easel40242026年10月21日 更新

查看 ZJU-REAL 的全部技能

报告此技能的问题