xiaohongshu-account-research

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

XHS Account Research

XHS账号研究

Follow shared release-shell rules in:
  • postplus-shared
    release-shell rules
Legacy alias:
xhs-account-research
.
Use this skill when the user wants to:
  • compare one or more Xiaohongshu accounts
  • build a shortlist of benchmarkable accounts from known profile URLs
  • understand what an account usually posts, what title patterns repeat, and which notes perform best
  • produce account-level snapshots for partner or competitor review
Read these references before implementation:
  • skills/20-research/xhs-account-research/references/actor-selection.md
  • skills/20-research/xhs-account-research/references/normalized-schema.md
遵循以下共享发布外壳规则:
  • postplus-shared
    发布外壳规则
旧别名:
xhs-account-research
当用户有以下需求时使用此技能:
  • 对比一个或多个小红书账号
  • 根据已知的账号URL构建可作为基准的账号短名单
  • 了解账号通常发布的内容、重复的标题模式以及表现最佳的笔记
  • 生成账号层面的快照,用于合作伙伴或竞品审查
在实施前阅读以下参考文档:
  • skills/20-research/xhs-account-research/references/actor-selection.md
  • skills/20-research/xhs-account-research/references/normalized-schema.md

Default posture

默认执行方式

Start from validated recent-post evidence.
Default actor:
  • rednote-xiaohongshu-user-posts-scraper
Do not default to
rednote-xiaohongshu-profile-scraper
. Treat it as non-default until it returns usable
profileData
on the released shell.
从已验证的近期帖子证据开始。
默认主体:
  • rednote-xiaohongshu-user-posts-scraper
不要默认使用
rednote-xiaohongshu-profile-scraper
。 在发布外壳上返回可用的
profileData
之前,将其视为非默认选项。

What this skill is for

此技能的适用场景

  • recent-post sampling from known profile URLs
  • account-level aggregation from post evidence
  • ranking accounts by observed post performance and thematic fit
  • producing account snapshots with top notes and repeated title patterns
  • 从已知的账号URL中抽取近期帖子样本
  • 从帖子证据中聚合账号层面的数据
  • 根据观察到的帖子表现和主题匹配度对账号进行排名
  • 生成包含热门笔记和重复标题模式的账号快照

What this skill is not for

此技能的不适用场景

  • keyword discovery
  • comment mining
  • follower counts
  • bio extraction
  • posting cadence claims when no publish timestamps are available
  • 关键词发现
  • 评论挖掘
  • 粉丝数量统计
  • 简介提取
  • 在没有发布时间戳的情况下发布发布频率相关声明

Failure posture

失败处理方式

  • fail if no
    profileUrls
    or
    profileIds
    are provided
  • fail if the validated actor returns zero posts
  • fail if account aggregation cannot produce any top note URL
  • report missing profile-level fields explicitly instead of inventing them
  • 如果未提供
    profileUrls
    profileIds
    ,则执行失败
  • 如果已验证的主体返回零条帖子,则执行失败
  • 如果账号聚合无法生成任何热门笔记URL,则执行失败
  • 明确报告缺失的账号层面字段,而非虚构这些字段

Release-Shell Execution Contract

发布外壳执行约定

  • keep account briefs, actor inputs, raw datasets, normalized datasets, rankings, and analysis outputs under
    <work-folder>/.postplus/xiaohongshu-account-research/
  • keep only final user-facing account shortlists or reports outside
    .postplus/
  • start with a bounded first pass, usually
    1-3
    accounts and
    8-15
    recent posts per account
  • if hosted capability is unavailable, unauthorized, or returns a stable network error, stop immediately instead of switching to ad hoc shell glue
  • 将账号简报、主体输入、原始数据集、标准化数据集、 排名结果和分析输出存储在
    <work-folder>/.postplus/xiaohongshu-account-research/
    目录下
  • 仅将最终面向用户的账号短名单或报告存储在
    .postplus/
    目录外
  • 从有限的首次执行开始,通常为
    1-3
    个账号,每个账号
    8-15
    条近期帖子
  • 如果托管功能不可用、未授权或返回稳定的网络错误,立即停止执行,而非切换到临时的外壳粘合代码

Main scripts

主要脚本

  • scripts/build_xhs_account_actor_input.mjs
  • scripts/normalize_xhs_account_dataset.mjs
  • scripts/rank_xhs_accounts.mjs
  • scripts/analyze_xhs_accounts.mjs
Use the shared collection runner for actor calls:
  • ${CLAUDE_SKILL_DIR}/_postplus_shared/00-core/shared-collection/scripts/collection_actor_run.mjs
  • scripts/build_xhs_account_actor_input.mjs
  • scripts/normalize_xhs_account_dataset.mjs
  • scripts/rank_xhs_accounts.mjs
  • scripts/analyze_xhs_accounts.mjs
使用共享集合运行器调用主体:
  • ${CLAUDE_SKILL_DIR}/_postplus_shared/00-core/shared-collection/scripts/collection_actor_run.mjs

Minimal workflow

最小化工作流

bash
node ${CLAUDE_SKILL_DIR}/scripts/build_xhs_account_actor_input.mjs \
  --brief <work-folder>/.postplus/xhs-account-brief.json \
  --output <work-folder>/.postplus/xhs-account-actor-input.json

node ${CLAUDE_SKILL_DIR}/_postplus_shared/00-core/shared-collection/scripts/collection_actor_run.mjs \
  --collection-key xhs-account-posts \
  --input <work-folder>/.postplus/xhs-account-actor-input.json \
  --output <work-folder>/.postplus/xhs-account-raw.json

node ${CLAUDE_SKILL_DIR}/scripts/normalize_xhs_account_dataset.mjs \
  --input <work-folder>/.postplus/xhs-account-raw.json \
  --output <work-folder>/.postplus/xhs-account-normalized.json

node ${CLAUDE_SKILL_DIR}/scripts/rank_xhs_accounts.mjs \
  --input <work-folder>/.postplus/xhs-account-normalized.json \
  --theme "职场,打工人" \
  --output <work-folder>/.postplus/xhs-account-ranking.json

node ${CLAUDE_SKILL_DIR}/scripts/analyze_xhs_accounts.mjs \
  --input <work-folder>/.postplus/xhs-account-normalized.json \
  --output <work-folder>/.postplus/xhs-account-analysis.json
bash
node ${CLAUDE_SKILL_DIR}/scripts/build_xhs_account_actor_input.mjs \
  --brief <work-folder>/.postplus/xhs-account-brief.json \
  --output <work-folder>/.postplus/xhs-account-actor-input.json

node ${CLAUDE_SKILL_DIR}/_postplus_shared/00-core/shared-collection/scripts/collection_actor_run.mjs \
  --collection-key xhs-account-posts \
  --input <work-folder>/.postplus/xhs-account-actor-input.json \
  --output <work-folder>/.postplus/xhs-account-raw.json

node ${CLAUDE_SKILL_DIR}/scripts/normalize_xhs_account_dataset.mjs \
  --input <work-folder>/.postplus/xhs-account-raw.json \
  --output <work-folder>/.postplus/xhs-account-normalized.json

node ${CLAUDE_SKILL_DIR}/scripts/rank_xhs_accounts.mjs \
  --input <work-folder>/.postplus/xhs-account-normalized.json \
  --theme "职场,打工人" \
  --output <work-folder>/.postplus/xhs-account-ranking.json

node ${CLAUDE_SKILL_DIR}/scripts/analyze_xhs_accounts.mjs \
  --input <work-folder>/.postplus/xhs-account-normalized.json \
  --output <work-folder>/.postplus/xhs-account-analysis.json

Good output

优质输出内容

Return:
  • account shortlist
  • top note URLs per account
  • median and max like signal
  • content-type mix
  • repeated title-pattern families
  • cover-shape mix
  • explicit data-quality warnings for unavailable profile-level fields
返回:
  • 账号短名单
  • 每个账号的热门笔记URL
  • 点赞信号的中位数和最大值
  • 内容类型占比
  • 重复的标题模式类别
  • 封面形状占比
  • 针对不可用的账号层面字段的明确数据质量警告