小红书账号诊断
深度拆解小红书账号,输出七维度量化评分诊断报告与可导出HTML;当用户提供小红书号进行账号诊断、rednote分析、账号健康度评估、商业价值评估、多账号对比或制定优化策略时使用 Skill: 小红书账号诊断 Owner: yuanyi-github Summary: 深度拆解小红书账号,输出七维度量化评分诊断报告与可导出HTML;当用户提供小红书号进行账号诊断、rednote分析、账号健康度评估、商业价值评估、多账号对比或制定优化策略时使用 Tags: latest:1.0.8 Version history: v1.0.8 | 2026-08-11T03:26:22.770Z | user **Summary: This update streamlines documentation and usage, clarifies workflow requirements, and removes the skill-card.md file.** - Removed the redundant file skill-card.md for clarity and maintainability. -
Rank
62
Safety
84
Downloads
1.4k
Updated
Oct 10, 2026
Version
1.0.8
Source
CLAWHUB
About
What it does, and when to use it.
Capability contract not published. No trust telemetry is available yet. 1.4K downloads reported by the source. Last updated 10/10/2026.
Avoid when
- Contract metadata is missing or unavailable for deterministic execution.
Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing
Public facts
Every fact links back to the source it came from.
- Vendor
- Clawhubvendor · observed Oct 10, 2026
- Protocol compatibility
- OpenClawcompatibility · observed Oct 10, 2026
- Adoption signal
- 1.4K downloadsadoption · observed Oct 10, 2026
- Latest release
- 1.0.8release · observed Aug 11, 2026
- Handshake status
- UNKNOWNsecurity
Install and run
Setup complexity: low.
clawhub skill install s178m9shhypj2frsz7r1pz67kh84rb1r:xiaohongshu-account-analyzer- Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
- Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.
Contract: missing
curl -s "https://www.xpersona.co/api/v1/agents/clawhub-yuanyi-github-xiaohongshu-account-analyzer/snapshot"
Documentation
CLAWHUB
149,551 characters of source documentation, loaded on request.
Extracted files
5 files captured from the source.
SKILL.md
---
name: xiaohongshu-account-analyzer
description: 深度拆解小红书账号,输出七维度量化评分诊断报告与可导出HTML;当用户提供小红书号进行账号诊断、rednote分析、账号健康度评估、商业价值评估、多账号对比或制定优化策略时使用
---
# 小红书账号深度诊断
## 任务目标
- 本 Skill 用于:深度拆解小红书账号,输出专业的商业价值分析报告
- 能力包含:七维度评分(账号定位10分、粉丝画像与需求15分、选题体系10分、封面风格10分、爆文能力20分、互动规模20分、更新产能15分,满分100)、行动处方生成、相似账号推荐、多账号对比分析
- 触发条件:用户提供小红书号(名称下方的小红书号,格式为纯数字或字母数字组合,非中文昵称),需要生成完整的账号诊断报告
## 使用示例
| 场景 | 用户输入 | 预期产出 |
|------|---------|---------|
| 单账号诊断 | 分析小红书号 26112666886 | 输出七维度诊断报告,推荐相似账号,生成可导出图片的HTML报告 |
| 多账号对比 | 帮我对比分析 ID1 和 ID2 | 分别输出各账号诊断报告,生成横向对比总结,生成对比HTML报告 |
| 分析相似账号 | 回复序号"1"选择相似账号 | 对选中的相似账号进行完整诊断分析,输出报告并生成HTML |
## 🔑 鉴权
### 获取 API Key
请前往 [红狐hub](https://redfox.hk/settings/api-keys?source=clawhub) 获取 API KEY。
### 配置 API Key
将 `REDFOX_API_KEY` 配置为环境变量:
```bash
export REDFOX_API_KEY="ak_xxxx..."
```
脚本通过 `os.getenv('REDFOX_API_KEY')` 读取密钥,缺失时报错退出并提供配置指引。请求头自动携带 `X-API-KEY`。
---
## 前置准备
- 数据接口:POST https://redfox.hk/story/api/xhsUser/query(详见 references/api_guide.md)
- WebSearch:获取博主昵称后执行背景信息补全
- 评分规则与数据填写规范:详见 references/workflow_guide.md
## 操作步骤
### 标准流程(单账号诊断)
**步骤1:开场白引导**
- 输出 `references/workflow_guide.md` 中的标准开场白
- 引导用户输入小红书号(纯数字或字母数字组合,非中文昵称)
**步骤2:数据查询**
- 识别用户输入:纯数字或字母数字组合识别为小红书号
- 调用脚本:`python scripts/xiaohongshu_analyzer.py query --user_ids "小红书号"`
- 脚本将原始数据保存至 `output/raw_data.json`
- 若用户输入中文昵称,提示用户提供小红书号
**步骤3:WebSearch背景补全**
- 搜索「小红书 + 昵称」补全背景信息
- 搜索「昵称 + 采访/报道」寻找媒体报道
- 搜索抖音/B站/公众号等跨平台布局
**步骤4:查询结果处理**
- **失败阈值**(返回 `query_type: "threshold_exceeded"`):
```
当前小红书号已超过失败阈值,请联系客服邮箱[email protected] 或访问 https://redfox.hk/?source=clawhub处理-ClawHub
```
- **未查询到账号**(账号数据为空):
```
未查询到相关账号:当前 Skill 仅收录热门账号。如需定制数据,可邮件联系[红狐数据](https://redfox.hk/?source=clawhub)咨询:[email protected]
```
- **查询成功** → 继续步骤5-7
- **多账号数据** → 转多账号对比流程
**步骤5:诊断报告生成**
- 读取 `references/report_template.md` 获取报告格式
- 读取 `references/workflow_guide.md` 获取评分规则和数据填写规范
- 将脚本数据填入模板,在对话中直接输出诊断报告(不生成md文件)
- **账号作品模块提示(必须输出)**:在展示任何小红书作品链接之前,必须先输出:
```
!!!受小红书风控规则限制,部分作品链接可能无法正常跳转,您可复制对应作品标题前往小红书搜索查看,感谢理解🙇♀️🙇♀️
```
- **数据字段说明**:gmtCreate 是红狐数据系统首次收录该账号的时间,不是小红书账号注册时间,严禁用于判断账号运营时长
- **综合评分结论规则**:
- >=60分:列>=2个已验证可复用的具体动作
- <60分:先点明薄弱项对应的数据问题,再给建议
- **空值处理**:数据字段为空时直接隐藏对应模块,不展示"暂无"
**步骤6:展示相似账号**
- 从脚本返回数据的 `similar_accounts` 字段提取2-5个相似账号
- 按格式直接展示(无需询问),展示完成后进入步骤7
**步骤7:生成HTML报告**
- **步骤7.1**:生成数据模板
- `python scripts/xiaohongshu_analyzer.py build_report_data --account_name "账号名"`
- **步骤7.2**:填充AI分析内容到 `output/report_data.json`(与对话输出完全一致)
- **评分字段(各维度得分、综合评分)保留脚本计算的值,禁止覆盖**
- 数值字段填纯数字(不带%或单位)
- 空值字段留空字符串""
- **步骤7.3**:生成HTML
- `python scripts/xiaohongshu_analyzer.py generate_html`
- **步骤7.4**:在对话中展示HTML文件内容
### 多账号对比流程
- **步骤5M**:为每个账号生成诊断报告(同步骤5),输出对比总结(核心差异、共同问题、发展建议)
- **步骤6M**:展示相似账号(同步骤6)
- **步骤7M**:生成多账号HTML报告
- `python scripts/xiaohongshu_analyzer.py build_multi_report_data --account_names "账号1,账号2"`
- 填充 `output/multi_report_data.json`
- `python scripts/xiaohongshu_analyzer.py generate_multi_html`
- 在对话中展示HTML文件内容
###README.md
# 小红书账号深度诊断 / xiaohongshu-account-analyzer --- ## 简介 深度拆解小红书账号,基于真实数据输出七维度量化评分诊断报告与可视化 HTML,帮你一眼看清账号健康度、商业价值和优化方向。 **核心价值** - 七维度量化评分(满分 100 分),覆盖定位、粉丝、选题、封面、爆文、互动、产能 - 自动推荐 2-5 个相似账号,横向对比找到差距和可学之处 - 一键生成精美 HTML 报告,可导出分享 - 支持多账号对比分析,批量评估创作者矩阵 **适用对象** - 👤 小红书创作者 — 诊断自己的账号,发现定位模糊、选题迷茫等真实问题 - 🏢 MCN 运营 — 批量评估签约博主,识别潜力账号和需要扶持的账号 - 📈 品牌方 — 筛选合作达人,评估商业价值和粉丝质量 - 🔍 竞品分析 — 拆解竞品账号策略,发现可借鉴的打法 --- ## 功能特性 ### 核心功能 - 七维度诊断评分:账号定位、粉丝画像与需求、选题体系、封面风格、爆文能力、互动规模、更新产能 - 生命周期分析:判断账号所处发展阶段 - 行动处方生成:基于诊断结果输出可落地的优化建议 - 相似账号推荐:推荐 2-5 个可对比的相似账号 - 多账号对比分析:支持多账号横向对比 - HTML 报告生成:可视化诊断报告,可导出分享 --- ## 密钥获取与安全说明 - 本技能需要使用环境变量:`REDFOX_API_KEY`。 - `REDFOX_API_KEY` 由 [红狐 hub](https://redfox.hk/settings/api-keys?source=clawhub) (`https://redfox.hk`)提供。 - 请前往 [红狐 hub](https://redfox.hk?source=clawhub) 注册账号,获取 `REDFOX_API_KEY`。 - 配置设备环境变量 `REDFOX_API_KEY` 后使用本技能。 - 在提供密钥前,请先确认密钥来源、可用范围、有效期及是否支持重置/撤销。 - 禁止在代码、提示词、日志或输出文件中硬编码/明文暴露密钥。 --- ## 使用指南 直接用自然语言描述需求,无需记忆命令。 ### 常用说法速查 | 意图 | 示例话术 | 效果 | | ---- | -------- | ---- | | 单账号诊断 | 分析小红书号 26112666886 | 输出七维度诊断报告,推荐相似账号,生成 HTML 报告 | | 多账号对比 | 帮我对比分析 ID1 和 ID2 | 分别输出诊断报告 + 横向对比总结 + 生成对比 HTML | | 分析相似账号 | 回复序号"1"选择相似账号 | 对选中的相似账号进行完整诊断分析 | --- ## 使用场景 | 场景 | 角色 | 示例问法 | 收益 | | ---- | ---- | -------- | ---- | | 个人创作者自诊 | 小红书博主 | 帮我诊断一下我的账号 | 获取七维度评分和针对性优化建议 | | MCN 批量评估 | MCN 运营 | 帮我对比分析这几个签约博主 | 识别潜力账号和需要重点扶持的账号 | | 品牌方筛选达人 | 品牌市场 | 评估一下这个达人的商业价值 | 辅助投放决策 | | 竞品账号分析 | 运营/策略 | 分析一下竞品的账号策略 | 发现可借鉴的策略和可追赶的机会点 | --- ## 重要数据说明 - 分析基于近 30 天数据,确保数据时效性 - `gmtCreate` 是红狐数据系统首次收录该账号的时间,不是小红书账号注册时间
_meta.json
{
"ownerId": "kn70p3je4506z0tw213zgq0r4584s0c6",
"slug": "xiaohongshu-account-analyzer",
"version": "1.0.8",
"publishedAt": 1786418782770
}references/api_guide.md
# API接口与评分逻辑
## 接口请求
**请求方式**:POST
**请求地址**:https://redfox.hk/story/api/xhsUser/query
| 参数名 | 类型 | 必填 | 说明 |
|--------|------|------|------|
| userIds | Array<String> | 是 | 小红书号列表 |
| source | String | 否 | 来源标识,默认"小红书账号诊断-Coze" |
**请求头**:
| Header | 说明 |
|--------|------|
| Content-Type | application/json |
| X-API-KEY | API密钥,从环境变量 `REDFOX_API_KEY` 读取 |
**请求体示例**:
```json
{
"userIds": ["26112666886"],
"source": "小红书账号诊断-ClawHub"
}
```
## 接口响应字段
### 账号数据
| 字段 | 说明 | 示例 |
|------|------|------|
| nickname | 账号名 | "小小希" |
| desc | 简介 | "准八 丨26届生地会考 丨27届中考定期搞福利🥺谢谢支持" |
| 小红书号 | 小红书号 | "26112666886" |
| fans | 粉丝数 | 4431 |
| level | 官方等级(可为null) | 7 或 null |
| userAttribute | 账号标识 | "素人"/"尾部kol"/"腰部kol"/"头部kol"/"企业"/"品牌" |
| avatar | 头像URL | "https://..." |
| totalWork | 作品总数 | 127 |
| liked | 总点赞数 | 217035 |
| collected | 总收藏数 | 24745 |
| noteCountThirty | 近30天发作品数 | 70 |
| interactiveCountThirty | 近30天作品互动量 | 133547 |
| recentIndex | 周指数 | 827.32 |
| topProvinces | 粉丝省份偏向 | "广东" |
| topAges | 粉丝年龄偏向 | "<18" |
| fansGender | 粉丝性别偏向 | {"male_ratio": "0.13", "female_ratio": "0.87"} |
| gmtCreate | 红狐数据系统首次收录时间(非账号注册时间) | "2025-04-22 10:30:00" |
### 作品数据(works数组,最多5篇)
| 字段 | 说明 | 示例 |
|------|------|------|
| id | 作品ID | "69e478b70000000021007e7b" |
| title | 作品标题 | "姚译添疯了" |
| createTime | 发布时间(毫秒时间戳) | "1776580791000" |
| likedCount | 点赞数 | 22 |
| collectedCount | 收藏数 | 0 |
| workUrl | 作品链接 | "https://www.xiaohongshu.com/..." |
### 相似账号数据(similarAccounts数组)
| 字段 | 兼容字段 | 说明 |
|------|---------|------|
| 小红书号 | accountId, 小红书号 | 小红书号 |
| nickname | accountName, name | 账号名称 |
| fans | followerCount, fansCount | 粉丝数 |
| liked | totalLikeCount | 总点赞数 |
| interactiveCountThirty | interactiveCountThirty | 总互动数 |
## 评分规则
评分规则详见 [workflow_guide.md](workflow_guide.md) 中的"评分体系"章节,此处不再重复。
## 注意事项
- 脚本根据账号标识动态计算爆文标准
- 爆文判断基于互动数(点赞+收藏),而非仅点赞数
- 互动规模和更新产能基于获取到的作品日期差计算
- level、avatar、部分works字段值可为null,脚本已做兼容处理
- gmtCreate 是红狐数据系统首次收录该账号的时间,不是小红书账号注册时间references/benchmark_data.md
# 中位值和优秀值参考数据 > 说明:以下数据用于账号分析时的水平衡量对比,您可以直接编辑此文件修改参考值。 ## 数据说明 每个粉丝数区间包含两组数据: - **中位数参考**:该粉丝区间的平均水平 - **优秀值参考**:该粉丝区间的优秀水平(前1000名) --- ## 一、0-5k粉丝(素人) | 统计指标 | 中位数参考 | 优秀值参考 | |---------|-----------|-----------| | 作品总数 | 16.73 | 23.00 | | 总点赞数 | 362.61 | 31087.00 | | 总收藏数 | 117.75 | 7368.00 | | 近30天发作品数 | 3.00 | 12.00 | | 近30天作品互动量 | 71.65 | 38878.00 | --- ## 二、5k-5w粉丝(尾部KOL) | 统计指标 | 中位数参考 | 优秀值参考 | |---------|-----------|-----------| | 作品总数 | 120.30 | 136.50 | | 总点赞数 | 41604.23 | 329082.00 | | 总收藏数 | 16201.18 | 82391.50 | | 近30天发作品数 | 6.00 | 24.00 | | 近30天作品互动量 | 483.50 | 124263.00 | --- ## 三、5w-50w粉丝(腰部KOL) | 统计指标 | 中位数参考 | 优秀值参考 | |---------|-----------|-----------| | 作品总数 | 245.56 | 284.50 | | 总点赞数 | 398278.10 | 2381874.00 | | 总收藏数 | 148994.22 | 481938.50 | | 近30天发作品数 | 7.00 | 19.00 | | 近30天作品互动量 | 3797.60 | 254721.50 | --- ## 四、大于50w粉丝(头部KOL) | 统计指标 | 中位数参考 | 优秀值参考 | |---------|-----------|-----------| | 作品总数 | 428.73 | 485.50 | | 总点赞数 | 4371187.20 | 7763569.00 | | 总收藏数 | 1295796.82 | 1654083.00 | | 近30天发作品数 | 7.00 | 12.00 | | 近30天作品互动量 | 33700.54 | 251250.50 | --- ## 编辑说明 1. 直接修改上表中的数值即可 2. 修改后需要同步更新脚本中的 `BENCHMARK_DATA` 常量 3. 数值保留2位小数即可 ## 字段说明 | 字段 | 含义 | |-----|------| | 作品总数 | 账号累计发布的作品数量 | | 总点赞数 | 所有作品获得的点赞总数 | | 总收藏数 | 所有作品获得的收藏总数 | | 近30天发作品数 | 近30天内发布的作品数量 | | 近30天作品互动量 | 近30天作品的点赞+收藏总和 |
AionUi
Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!
activepieces
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
cherry-studio
AI productivity studio with smart chat, autonomous agents, and 300+ assistants.
CopilotKit
The Frontend for Agents & Generative UI. React + Angular
Machine-readable data
The same record, as JSON, for agents and crawlers.
{
"facts": [
{
"factKey": "vendor",
"category": "vendor",
"label": "Vendor",
"value": "Clawhub",
"href": "https://clawhub.ai/yuanyi-github/skills/xiaohongshu-account-analyzer",
"sourceUrl": "https://clawhub.ai/yuanyi-github/skills/xiaohongshu-account-analyzer",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-10T12:33:20.611Z",
"isPublic": true
},
{
"factKey": "protocols",
"category": "compatibility",
"label": "Protocol compatibility",
"value": "OpenClaw",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-yuanyi-github-xiaohongshu-account-analyzer/contract",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-yuanyi-github-xiaohongshu-account-analyzer/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-10-10T12:33:20.611Z",
"isPublic": true
},
{
"factKey": "traction",
"category": "adoption",
"label": "Adoption signal",
"value": "1.4K downloads",
"href": "https://clawhub.ai/yuanyi-github/xiaohongshu-account-analyzer",
"sourceUrl": "https://clawhub.ai/yuanyi-github/xiaohongshu-account-analyzer",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-10T12:33:20.611Z",
"isPublic": true
},
{
"factKey": "latest_release",
"category": "release",
"label": "Latest release",
"value": "1.0.8",
"href": "https://clawhub.ai/yuanyi-github/xiaohongshu-account-analyzer",
"sourceUrl": "https://clawhub.ai/yuanyi-github/xiaohongshu-account-analyzer",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-08-11T03:26:22.770Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-yuanyi-github-xiaohongshu-account-analyzer/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-yuanyi-github-xiaohongshu-account-analyzer/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
],
"events": [
{
"eventType": "release",
"title": "Release 1.0.8",
"description": "**Summary: This update streamlines documentation and usage, clarifies workflow requirements, and removes the skill-card.md file.** - Removed the redundant file skill-card.md for clarity and maintainability. - Simplified and condensed the SKILL.md, focusing on essential operation steps and stricter output requirements. - Emphasized that reports must always be output directly in dialogue (no .md generation), and that HTML reports are a mandatory deliverable after every analysis. - Improved and unified instructions for authentication, workflow, scoring logic, empty-field handling, and error messages. - Added explicit warnings on data sources, output order, scoring, and dynamic content requirements to prevent misuse or misunderstanding. - Clearly stated that gmtCreate is not the XHS account registration time and cannot be used for that purpose.",
"href": "https://clawhub.ai/yuanyi-github/xiaohongshu-account-analyzer",
"sourceUrl": "https://clawhub.ai/yuanyi-github/xiaohongshu-account-analyzer",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-08-11T03:26:22.770Z",
"isPublic": true
}
]
}Record generated Oct 10, 2026.
