Xpersona
小

小红书数据分析

CLAWHUB · Unverified

分析小红书内容市场,覆盖笔记格局、博主生态、品牌竞争。 当用户询问内容策略、选博主合作、分析市场竞争时使用。 Skill: 小红书数据分析 Owner: sxcvicky Summary: 分析小红书内容市场,覆盖笔记格局、博主生态、品牌竞争。 当用户询问内容策略、选博主合作、分析市场竞争时使用。 Tags: latest:0.3.0 Version history: v0.3.0 | 2026-04-14T03:30:34.524Z | user Version 3.0.0 is a major update refocusing the skill on新版小红书内容市场分析 API: - 统一以 aggregate-api 体系为核心,全面移除旧数据分层接口(Discovery, Analysis, Audience, Benchmark, Detail)。 - 新增 aggregate 层 7 个分析接口说明,使用 data-index 进行前置维度校验。 - 数据输出要求透明披露覆盖范围(_coverage)、数据缺口(_da

62
Rank
84
Safety
1.2k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.2K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s175wq8bcaj28qv2ncg7jj2tm983np97:xhs-data-api
  1. 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.
  2. 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-sxcvicky-xhs-data-api/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

128,510 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: xhs-data-api
description: >-
  分析小红书内容市场,覆盖笔记格局、博主生态、品牌竞争。
  当用户询问内容策略、选博主合作、分析市场竞争时使用。
version: 3.0.0
user-invocable: true
metadata: {"openclaw":{"emoji":"📊","requires":{"env":["XHS_API_KEY"]},"primaryEnv":"XHS_API_KEY"}}
---

# 小红书内容市场分析

## 角色

你是内容市场分析师。通过调用7个分析接口,帮用户回答:
- 这个领域的内容是什么格局?
- 有哪些爆款,为什么爆?
- 哪些博主值得合作?
- 品牌竞争态势如何?

---

## 必读:调用前置规则

### 第一步永远是 `data-index`

**每次分析开始前,必须先调用 A 接口(data-index)**,获取可用的分析维度列表。
系统只能分析已收录的类目和关键词,`data-index` 告诉你有哪些。

```
GET /api/v1/aggregate/data-index
```

拿到列表后,将用户输入(如"美妆"、"护肤"、"黑头")映射到系统支持的维度再调用后续接口。

### `_coverage` 和 `_dataGaps` 的含义

所有接口返回值都包含这两个字段,**必须读取并告知用户**:

- `_coverage.coverageNote`:数据的覆盖范围声明(不代表全网,是样本数据)
- `_dataGaps`:哪些维度数据不足(数组非空时,告知用户该结论的局限性)

---

## 7个接口速查

| 接口 | 方法 | 路径 | 回答的问题 |
|------|------|------|-----------|
| A | GET | `/api/v1/aggregate/data-index` | 数据库有哪些可分析的类目/关键词? |
| B | POST | `/api/v1/aggregate/notes/discover` | 这个领域最近哪些笔记在爆? |
| C | POST | `/api/v1/aggregate/notes/landscape` | 这个领域的内容是什么格局? |
| D | POST | `/api/v1/aggregate/authors/discover` | 这个领域有哪些活跃博主? |
| E | GET | `/api/v1/aggregate/authors/{authorId}` | 这个博主值不值得合作? |
| F | POST | `/api/v1/aggregate/authors/compare` | 头部/腰部博主投哪个性价比更高? |
| G | POST | `/api/v1/aggregate/brand/market` | 这个品类的品牌格局是什么? |

**认证**:所有请求带 `X-API-Key: $XHS_API_KEY`

**完整入参/出参**:见 `references/aggregate-api.md`

---

## 决策树:用户问什么 → 调哪些接口

```
用户问内容方向/策略
  → C(内容格局)获取格式分布、爆文类型、商业占比
  → B(笔记清单)获取具体爆款样本

用户问博主合作
  → D(博主发现)找出该领域活跃博主列表
  → E(博主档案)对感兴趣的博主深挖:粉丝画像、历史内容
  → F(ROI对比)如果用户纠结头部vs腰部,用这个比较性价比

用户问品牌竞争/市场格局
  → G(品牌市场)获取品牌竞争格局、声量排名、供需关系

用户问某个词/话题是否值得做
  → C(内容格局)看该词下的市场供需和内容密度
  → B(笔记清单)看已有爆款的互动数据
```

---

## 输出要求

1. **数据用中文标签**:响应中数字字段同时有原始值和 `xxxLabel`(如 `"1230000"` + `"123万"`),输出时用后者
2. **必须说明数据范围**:引用 `_coverage.coverageNote`,让用户知道这是样本数据
3. **数据缺口要透明**:`_dataGaps` 非空时,标注哪些维度数据不足
4. **结论要可执行**:不要只陈列数字,要给出"所以建议..."

### 输出结构模板

```
## [问题核心结论,一句话]

### 数据发现
- [关键数据点 1]
- [关键数据点 2]

### 建议
1. [具体可执行步骤]
2. [具体可执行步骤]

> 数据说明:[引用 _coverage.coverageNote]
> ⚠️ 数据局限:[如 _dataGaps 非空,列出缺失维度]
```

README.md

# 小红书数据分析 Skill

帮你用数据回答小红书营销中的关键问题——该做什么内容、找哪类博主、竞品在做什么。

---

## 能帮你做什么

**内容策略**
- "我想进入护肤赛道,现在什么话题最热?竞争大不大?"
- "帮我分析敏感肌这个方向,有没有差异化机会"

**博主合作**
- "帮我找几个适合合作的美妆博主,互动率高的"
- "这个博主的粉丝画像是什么?跟我的目标人群匹配吗?"

**竞品分析**
- "华为手机在小红书上的内容策略是什么?"
- "帮我对比一下这几个品牌在小红书的表现"

**市场洞察**
- "手机数码行业现在哪些关键词在飙升?"
- "美妆行业的市场供需情况怎么样,有没有蓝海?"

---

## 怎么用

直接向 AI 描述你的问题,Skill 会自动调取相关数据并给出分析结论。

**你需要准备**:一个 API Key(`XHS_API_KEY`),向 Skill 提供者申请。

---

_meta.json

{
  "ownerId": "kn762epys845yt55td0bjcacx983mqyh",
  "slug": "xhs-data-api",
  "version": "0.3.0",
  "publishedAt": 1776137434524
}

references/aggregate-api.md

# 聚合接口完整参考

> 所有请求头:`X-API-Key: $XHS_API_KEY`
> 所有响应都包含通用包装字段(见末尾)

---

## A — 获取可分析维度

```
GET /api/v1/aggregate/data-index
```

无请求体。

**响应关键字段:**

```json
{
  "categories": [
    { "name": "美妆", "code": "cat_001", "keywordCount": 32 }
  ],
  "keywords": ["黑头", "防晒霜", "..."]
}
```

**用途:** 每次分析前必须先调用,获取系统支持的类目/关键词列表,再将用户输入映射到具体维度。

---

## B — 热门笔记清单

```
POST /api/v1/aggregate/notes/discover
```

**请求体:**

| 字段 | 类型 | 必填 | 说明 |
|------|------|------|------|
| `input` | string | ✅ | 用户输入(类目名或关键词,如"美妆"、"黑头") |
| `timeRange` | string | ❌ | 时间范围天数:`"7"` 或 `"30"`,默认 `"30"` |
| `minEngagement` | number | ❌ | 最低互动量门槛,默认0 |
| `noteType` | string | ❌ | `"image"`(图文)/ `"video"`(视频),不填=全部 |
| `isCommercial` | boolean | ❌ | `true`=仅商业投备 / `false`=仅自然内容 / 不填=全部 |
| `limit` | number | ❌ | 最多返回条数,默认20,上限50 |

**响应 `data` 字段(数组):**

| 字段 | 说明 |
|------|------|
| `noteId` | 笔记ID |
| `title` | 标题 |
| `author` | 作者昵称 |
| `fansCount` / `fansCountLabel` | 作者粉丝数(原始值 / 中文标签如"12万") |
| `type` | `image` / `video` / `unknown` |
| `engagement` / `engagementLabel` | 互动量(点赞+收藏+评论) |
| `reads` / `readsLabel` | 阅读量 |
| `isCommercial` | 是否商业合作笔记 |
| `promotedProduct` | 推广品牌名(商业笔记才有) |
| `topics` | 话题标签数组 |
| `publishTime` | 发布时间 |

---

## C — 内容格局分析

```
POST /api/v1/aggregate/notes/landscape
```

**请求体:**

| 字段 | 类型 | 必填 | 说明 |
|------|------|------|------|
| `input` | string | ✅ | 类目名或关键词 |
| `timeRange` | string | ❌ | `"7"` 或 `"30"`,默认 `"30"` |
| `minEngagement` | number | ❌ | 纳入分析的笔记互动量门槛 |
| `noteType` | string | ❌ | `"image"` / `"video"` |

**响应 `data` 字段:**

| 字段 | 说明 |
|------|------|
| `scope.totalMatched` | 分析基数(符合条件的笔记数) |
| `scope.filter` | 筛选条件描述 |
| `formatDistribution` | 图文/视频占比及平均互动量 |
| `commercialAnalysis.commercialRatio` | 商业笔记占比 |
| `commercialAnalysis.topProducts` | 推广频次最高的品牌 Top5 |
| `topTopics` | 热门话题 Top10(含热度指数) |
| `engagementTiers` | 互动层级分布(5k-1w / 1w-5w / 5w-20w / 20w+) |
| `marketContext.supplyDemandNote` | 供需判断文字("供不应求"/"供过于求"等) |
| `brandPresence` | 笔记中出现最多的品牌词 Top5 |
| `contentAttributes` | 爆文标题高频属性词(如"成分党"、"平价"等) |
| `sampleNotes` | 图文/视频各3篇最高互动的代表性笔记 |

---

## D — 活跃博主清单

```
POST /api/v1/aggregate/authors/discover
```

**请求体:**

| 字段 | 类型 | 必填 | 说明 |
|------|------|------|------|
| `input` | string | ✅ | 类目名或关键词 |
| `timeRange` | string | ❌ | `"7"` 或 `"30"`,默认 `"30"` |
| `minNoteCount` | number | ❌ | 最低笔记数过滤,默认0 |
| `limit` | number | ❌ | 最多返回条数,默认20,上限50 |

**响应 `data` 字段:**

| 字段 | 说明 |
|------|------|
| `totalAuthors` | 活跃博主总数 |
| `tierDistribution` | 层级分布(头部/腰部/尾部/普通,含占比) |
| `authors[]` | 博主列表(见下) |
| `risingAuthors[]` | 近30天粉丝增长最快的博主 Top5 |

**`authors[]` 每项字段:**

| 字段 | 说明 |
|------|------|
| `nickname` | 昵称 |
| `fansCount` / `fansCountLabel` | 粉丝数 |
| `tier` | `头部` / `腰部` / `尾部` / `素人` |
| `noteCount` | 笔记数量 |
| `totalEngagement` / `totalEngagementLabel` | 总互动量 |
| `avgEngageRate` | 平均互动率 |
| `pictur

skill-card.md

## Description:

Analyzes Xiaohongshu content markets for content landscape, creator collaboration, brand competition, and market-opportunity questions.

This skill is ready for commercial/non-commercial use.

## Publisher:

[sxcvicky](https://clawhub.ai/user/sxcvicky)

### License/Terms of Use:

MIT-0

## Use Case:

Marketing strategists, brand teams, and agency analysts use this skill to analyze Xiaohongshu content strategy, creator fit, competitor activity, and market demand from API-backed sample data.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Marketing queries, keywords, brand names, creator names, and related planning context are sent to the analytics API provider.

Mitigation: Use only with a trusted XHS_API_KEY provider and avoid confidential campaign plans or regulated personal data unless approved by the organization.

Risk: Analysis is based on sample coverage and may contain data gaps.

Mitigation: Require outputs to cite _coverage.coverageNote and disclose non-empty _dataGaps before making recommendations.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/sxcvicky/skills/xhs-data-api)
- [Publisher profile](https://clawhub.ai/user/sxcvicky)
- [Aggregate API reference](references/aggregate-api.md)

## Skill Output:

**Output Type(s):** [text, markdown, guidance]

**Output Format:** [Chinese Markdown analysis with API-backed data findings, recommendations, coverage notes, and data-gap disclosures.]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Requires XHS_API_KEY and uses API responses that include _coverage and _dataGaps fields.]

## Skill Version(s):

0.3.0 (source: release metadata; artifact frontmatter reports 3.0.0)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to 小红书数据分析 and adjacent AI workflows.