mcpField
X
xiaohongshu-account-research

xiaohongshu-account-research

github.com/postplusai营销与增长27140 次安装1 天前更新
代码仓库

关于 xiaohongshu-account-research

基于近期笔记证据比较小红书账号的研究技能。它汇总帖子数据,生成账号概览、排名、热门笔记链接和重复标题模式,并标明不可用的账号资料字段。

主要功能

  1. 01从主页 URL 抽样近期笔记
  2. 02汇总账号级帖子证据
  3. 03按表现和主题契合度排序
  4. 04提取热门笔记及重复标题模式
  5. 05标明不可用的账号资料

适用场景

  1. 01筛选可对标账号
  2. 02比较竞品或合作伙伴账号
  3. 03查找表现较好的笔记和标题模式
  4. 04根据近期笔记审视账号内容组合

安装

复制下面的命令,在终端中运行。

$npx skills add https://github.com/postplusai/postplus-skills --skill xiaohongshu-account-research

安装后在 Claude Code 中输入/xiaohongshu-account-research确认已加载。

包含的文件

除 SKILL.md 外,安装时一起下载的参考资料和脚本。

_postplus_shared/00-core/shared-collection/scripts/
collection_actor_run.mjs
_postplus_shared/00-core/shared-collection/scripts/lib/
hosted_collection_bridge.mjs
_postplus_shared/00-core/shared-runtime/scripts/
download_videos_from_manifest_with_ytdlp.mjs
_postplus_shared/00-core/shared-runtime/scripts/lib/
execution_approval.mjs
hosted_billing_summary.mjs
hosted_execution_protocol.mjs
hosted_media_generation_bridge.mjs
local_skill_cli.mjs
network_runtime.mjs
postplus_cli_config.mjs
postplus_cloud_client.mjs
skill_runtime.mjs
_postplus_shared/scripts/lib/
campaign-report-manifest.mjs
references/
actor-selection.md
normalized-schema.md
scripts/
analyze_xhs_accounts.mjs
build_xhs_account_actor_input.mjs
normalize_xhs_account_dataset.mjs
rank_xhs_accounts.mjs
scripts/lib/
account_common.mjs

详细介绍

小红书账号研究

请遵循以下共享的公开技能规则:

  • 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

默认姿态

从经过验证的近期笔记证据出发。

默认 actor:

  • rednote-xiaohongshu-user-posts-scraper

不要默认使用 rednote-xiaohongshu-profile-scraper。 在它于公开技能接口上返回可用的 profileData 之前,将其视为非默认选项。

在采集之前,请告知用户:在已发布的路径上,主页简介、粉丝数以及其他 主页级字段并不可靠。除非经过验证的数据集暴露了这些字段,否则结果基于 近期笔记。

此技能的用途

  • 从已知的主页 URL 进行近期笔记抽样
  • 基于笔记证据进行账号级聚合
  • 根据观察到的笔记表现和主题契合度对账号进行排名
  • 生成包含热门笔记和重复标题模式的账号快照

此技能不适用于

  • 关键词发现
  • 评论挖掘
  • 粉丝数
  • 简介提取
  • 在没有发布时间戳的情况下声称发布频率

失败姿态

  • 如果未提供 profileUrls 或 profileIds,则失败
  • 如果经过验证的 actor 返回零条笔记,则失败
  • 如果账号聚合无法生成任何热门笔记 URL,则失败
  • 明确报告缺失的主页级字段,而不是凭空捏造

公开技能执行契约

  • 将账号简报、actor 输入、原始数据集、规范化数据集、 排名和分析输出保留在 <work-folder>/.postplus/xiaohongshu-account-research/ 下
  • 仅将最终面向用户的账号候选清单或报告保留在 .postplus/ 之外
  • 从有界的第一轮开始,通常是 1-3 个账号,每个账号 8-15 条近期 笔记
  • 如果 PostPlus Cloud 服务不可用、未授权或返回稳定的 网络错误,请立即停止,而不是切换到临时的 shell 拼接方案

主要脚本

  • scripts/build_xhs_account_actor_input.mjs
  • scripts/normalize_xhs_account_dataset.mjs
  • scripts/rank_xhs_accounts.mjs
  • scripts/analyze_xhs_accounts.mjs

使用共享采集运行器进行 actor 调用:

  • ${CLAUDE_SKILL_DIR}/_postplus_shared/00-core/shared-collection/scripts/collection_actor_run.mjs

最小工作流

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 "workplace,office workers" \
  --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

良好输出

返回:

  • 账号候选清单
  • 每个账号的热门笔记 URL
  • 点赞信号的中位数和最大值
  • 内容类型构成
  • 重复的标题模式族
  • 封面形状构成
  • 针对不可用主页级字段的明确数据质量警告

评论

支持 Markdown