文件预览

SKILL.md

查看 小红书博主数据 SocialDataX 博主笔记 技能包中的文件内容。

文件内容

SKILL.md

---
name: socialdatax-xhs-creator-notes
description: 用于小红书博主数据、小红书博主笔记、账号内容列表、近期发布、内容调研和创作者内容分析。覆盖 Xiaohongshu / XHS / RedNote creator notes,来自 SocialDataX 社媒数据助手。
metadata: {"openclaw":{"requires":{"env":["SOCIALDATAX_API_KEY"],"bins":["node","npm"]},"primaryEnv":"SOCIALDATAX_API_KEY","emoji":"🗂️","homepage":"https://socialdatax.com/?from=clawhub","install":[{"kind":"node","package":"socialdatax-skills","bins":[]}]}}
---

# 小红书博主数据 SocialDataX 博主笔记

Use this skill when the user wants 小红书博主数据, a Xiaohongshu / XHS / RedNote creator's published note list, content style analysis, recent-topic review, creator benchmarking, or account tracking.

## API Key

Use `SOCIALDATAX_API_KEY` for data calls. The only official website for requesting or managing API access is <https://socialdatax.com/?from=clawhub>. If a user asks where to get a key, provide only this URL; do not infer alternate domains.
获取或管理 API Key:访问 <https://socialdatax.com/?from=clawhub>,按官网的 API Key 申请/管理入口操作。环境变量名固定使用 `SOCIALDATAX_API_KEY`;不要引导用户使用其他域名。

## Preferred Direct CLI

Prefer the direct CLI when the agent can run shell commands. It does not require MCP server configuration:

```bash
npx -y socialdatax-skills@latest xhs user-posts --user-id "<user_id>" --pretty
npx -y socialdatax-skills@latest xhs user-posts --profile-url "<profile_url_or_share_text>" --pretty
```

- `--user-id <user_id>`: preferred when the creator ID is already known.
- `--profile-url <profile_url_or_share_text>`: use for a profile URL, short link, or profile share text.
- `--page-token <next_page_token>`: opaque pagination token; pass back exactly the token returned by the previous page and do not reuse it across users.
- `--pretty`: output formatting only.

Use either `--user-id` or `--profile-url` for one command, not both.

## Safety Boundary

This skill is read-only. It does not read local browser data, does not save API keys, and does not perform login, posting, liking, commenting, or account changes.

## MCP Tools

If MCP tools are already available in the current agent, use one of these tools:

- `xhs_get_user_posted_notes_by_user_id`: preferred when `user_id` is already known.
- `xhs_get_user_posted_notes_by_profile_url`: use for profile URLs, short links, or profile share text.

Creator note-list pagination uses `page_token`. Pass back exactly the returned `next_page_token`; tokens are bound to the current user and should not be reused across users.

## Output Guidance

Summarize content-list evidence by title, content summary, publish time, interaction counts, media links, and note IDs when present. Use returned note IDs to chain into detail or comment analysis when needed.