socialdatax-skills 0.2.4 → 0.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +68 -13
- package/cli.mjs +314 -10
- package/package.json +7 -2
- package/skills/media-comments/SKILL.md +42 -15
- package/skills/media-detail/SKILL.md +36 -15
- package/skills/media-search/SKILL.md +35 -23
- package/skills/media-user-info/SKILL.md +29 -11
- package/skills/media-user-posts/SKILL.md +36 -12
- package/skills/socialdatax-content-research-assistant/SKILL.md +132 -30
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
This public package provides the unified skill installer and direct CLI helper for SocialDataX services.
|
|
4
4
|
|
|
5
|
-
The current public tools support 小红书 / Xiaohongshu / XHS / RedNote
|
|
5
|
+
The current public tools support 小红书 / Xiaohongshu / XHS / RedNote, 抖音 / Douyin, and 快手 / Kuaishou / Kwai read-only research workflows. The public skill layer is intentionally named by media capability so supported platforms can evolve without changing the installation model.
|
|
6
6
|
|
|
7
7
|
- direct `npx` JSON commands for agents that can run shell commands
|
|
8
8
|
- AgentSkills-compatible installers split by capability for OpenClaw, Hermes Agent, Codex, Claude Code, and general agent skill directories
|
|
@@ -27,6 +27,9 @@ Common search phrases for this skill package:
|
|
|
27
27
|
- `RedNote skills`
|
|
28
28
|
- `Douyin skills`
|
|
29
29
|
- `抖音 skills`
|
|
30
|
+
- `Kuaishou skills`
|
|
31
|
+
- `Kwai skills`
|
|
32
|
+
- `快手 skills`
|
|
30
33
|
- `SocialDataX content research`
|
|
31
34
|
- `content research assistant`
|
|
32
35
|
|
|
@@ -34,6 +37,7 @@ Common search phrases for this skill package:
|
|
|
34
37
|
|
|
35
38
|
- XHS hosted MCP endpoint: `https://mcp.52choujiang.com/xhs/mcp`
|
|
36
39
|
- Douyin hosted MCP endpoint: `https://mcp.52choujiang.com/douyin/mcp`
|
|
40
|
+
- Kuaishou hosted MCP endpoint: `https://mcp.52choujiang.com/kuaishou/mcp`
|
|
37
41
|
- Hosted transport: `streamable-http`
|
|
38
42
|
- Authentication: `Authorization: Bearer <SOCIALDATAX_API_KEY>`
|
|
39
43
|
- Website: <https://socialdatax.com>
|
|
@@ -41,8 +45,10 @@ Common search phrases for this skill package:
|
|
|
41
45
|
- XHS future platform MCP registry name: `com.socialdatax/xhs-insights`
|
|
42
46
|
- Douyin current platform MCP registry name: `com.52choujiang/douyin-insights`
|
|
43
47
|
- Douyin future platform MCP registry name: `com.socialdatax/douyin-insights`
|
|
48
|
+
- Kuaishou current platform MCP registry name: `com.52choujiang/kuaishou-insights`
|
|
49
|
+
- Kuaishou future platform MCP registry name: `com.socialdatax/kuaishou-insights`
|
|
44
50
|
- Unified MCP registry name: none; this package installs skills and calls explicit platform services.
|
|
45
|
-
- Current public capability version: `0.2.
|
|
51
|
+
- Current public capability version: `0.2.5`
|
|
46
52
|
|
|
47
53
|
## Direct CLI
|
|
48
54
|
|
|
@@ -52,6 +58,7 @@ Examples:
|
|
|
52
58
|
|
|
53
59
|
```bash
|
|
54
60
|
npx -y socialdatax-skills@latest xhs search --keyword "露营桌" --pretty
|
|
61
|
+
npx -y socialdatax-skills@latest xhs hot-search --pretty
|
|
55
62
|
npx -y socialdatax-skills@latest xhs detail --note-id "<note_id>" --pretty
|
|
56
63
|
npx -y socialdatax-skills@latest xhs comments --note-id "<note_id>" --pretty
|
|
57
64
|
npx -y socialdatax-skills@latest xhs sub-comments --note-id "<note_id>" --comment-id "<comment_id>" --pretty
|
|
@@ -68,10 +75,23 @@ npx -y socialdatax-skills@latest douyin user-posts --sec-user-id "<sec_user_id>"
|
|
|
68
75
|
npx -y socialdatax-skills@latest douyin user-posts --profile-url "<profile_url_or_share_text>" --pretty
|
|
69
76
|
npx -y socialdatax-skills@latest douyin user-series --sec-user-id "<sec_user_id>" --pretty
|
|
70
77
|
npx -y socialdatax-skills@latest douyin user-series --profile-url "<profile_url_or_share_text>" --pretty
|
|
78
|
+
npx -y socialdatax-skills@latest kuaishou hot-search --pretty
|
|
79
|
+
npx -y socialdatax-skills@latest kuaishou search --keyword "露营桌" --pretty
|
|
80
|
+
npx -y socialdatax-skills@latest kuaishou detail --photo-id "<photo_id>" --pretty
|
|
81
|
+
npx -y socialdatax-skills@latest kuaishou detail --url "<kuaishou_content_url_or_share_text>" --pretty
|
|
82
|
+
npx -y socialdatax-skills@latest kuaishou comments --photo-id "<photo_id>" --pretty
|
|
83
|
+
npx -y socialdatax-skills@latest kuaishou comments --url "<kuaishou_content_url_or_share_text>" --pretty
|
|
84
|
+
npx -y socialdatax-skills@latest kuaishou replies --photo-id "<photo_id>" --comment-id "<comment_id>" --pretty
|
|
85
|
+
npx -y socialdatax-skills@latest kuaishou user-info --user-id "<user_id>" --pretty
|
|
86
|
+
npx -y socialdatax-skills@latest kuaishou user-info --profile-url "<profile_url_or_share_text>" --pretty
|
|
87
|
+
npx -y socialdatax-skills@latest kuaishou user-posts --user-id "<user_id>" --pretty
|
|
88
|
+
npx -y socialdatax-skills@latest kuaishou user-posts --profile-url "<profile_url_or_share_text>" --pretty
|
|
71
89
|
```
|
|
72
90
|
|
|
73
91
|
The direct CLI prints a JSON envelope with `platform`, `tool`, `arguments`, and `data`.
|
|
74
92
|
|
|
93
|
+
Kuaishou search uses `--keyword` and optional `--page-token`; it does not accept Douyin semantic filters.
|
|
94
|
+
|
|
75
95
|
Douyin search filters use semantic values: `--sort-type` supports `general`,
|
|
76
96
|
`time_descending`, and `like_count_descending`; `--publish-time-range` supports
|
|
77
97
|
`all`, `day`, `week`, and `half_year`; `--duration-range` supports `all`,
|
|
@@ -102,7 +122,7 @@ The public package declares no npm lifecycle scripts such as `preinstall`, `inst
|
|
|
102
122
|
|
|
103
123
|
## Platform Names
|
|
104
124
|
|
|
105
|
-
This project is not affiliated with, endorsed by, or sponsored by Xiaohongshu, RedNote, Douyin, or their affiliates. Platform names are used only to describe supported data sources.
|
|
125
|
+
This project is not affiliated with, endorsed by, or sponsored by Xiaohongshu, RedNote, Douyin, Kuaishou, Kwai, or their affiliates. Platform names are used only to describe supported data sources.
|
|
106
126
|
|
|
107
127
|
### Local Source Run
|
|
108
128
|
|
|
@@ -110,6 +130,7 @@ This project is not affiliated with, endorsed by, or sponsored by Xiaohongshu, R
|
|
|
110
130
|
npm install
|
|
111
131
|
SOCIALDATAX_API_KEY="<SOCIALDATAX_API_KEY>" node cli.mjs xhs search --keyword "露营桌" --pretty
|
|
112
132
|
SOCIALDATAX_API_KEY="<SOCIALDATAX_API_KEY>" node cli.mjs douyin search --keyword "露营桌" --pretty
|
|
133
|
+
SOCIALDATAX_API_KEY="<SOCIALDATAX_API_KEY>" node cli.mjs kuaishou search --keyword "露营桌" --pretty
|
|
113
134
|
```
|
|
114
135
|
|
|
115
136
|
### Docker Run
|
|
@@ -118,6 +139,7 @@ SOCIALDATAX_API_KEY="<SOCIALDATAX_API_KEY>" node cli.mjs douyin search --keyword
|
|
|
118
139
|
docker build -t socialdatax-skills .
|
|
119
140
|
docker run --rm -i -e SOCIALDATAX_API_KEY="<SOCIALDATAX_API_KEY>" socialdatax-skills xhs search --keyword "露营桌" --pretty
|
|
120
141
|
docker run --rm -i -e SOCIALDATAX_API_KEY="<SOCIALDATAX_API_KEY>" socialdatax-skills douyin search --keyword "露营桌" --pretty
|
|
142
|
+
docker run --rm -i -e SOCIALDATAX_API_KEY="<SOCIALDATAX_API_KEY>" socialdatax-skills kuaishou search --keyword "露营桌" --pretty
|
|
121
143
|
```
|
|
122
144
|
|
|
123
145
|
If Docker Hub is slow from your network, keep the default image unchanged for normal use and override only during local builds:
|
|
@@ -149,19 +171,22 @@ npx -y socialdatax-skills@latest install media-search --target codex --scope wor
|
|
|
149
171
|
npx -y socialdatax-skills@latest install media-search --target claude-code
|
|
150
172
|
npx -y socialdatax-skills@latest install media-search --target claude-code --scope workspace
|
|
151
173
|
npx -y socialdatax-skills@latest xhs search --keyword "露营桌" --pretty
|
|
174
|
+
npx -y socialdatax-skills@latest xhs hot-search --pretty
|
|
152
175
|
npx -y socialdatax-skills@latest douyin hot-search --pretty
|
|
153
176
|
npx -y socialdatax-skills@latest douyin search --keyword "露营桌" --pretty
|
|
154
177
|
npx -y socialdatax-skills@latest douyin user-series --sec-user-id "<sec_user_id>" --pretty
|
|
178
|
+
npx -y socialdatax-skills@latest kuaishou hot-search --pretty
|
|
179
|
+
npx -y socialdatax-skills@latest kuaishou search --keyword "露营桌" --pretty
|
|
155
180
|
```
|
|
156
181
|
|
|
157
182
|
Available skills:
|
|
158
183
|
|
|
159
|
-
- `socialdatax-content-research-assistant`: combine SocialDataX search, detail, comment, creator profile, and creator content workflows for cross-platform content research across XHS and
|
|
160
|
-
- `media-search`: search social media content by keyword; supports XHS notes and
|
|
161
|
-
- `media-detail`: read structured content details and metrics; supports XHS notes and
|
|
162
|
-
- `media-comments`: fetch and analyze XHS comments/replies and
|
|
163
|
-
- `media-user-info`: retrieve creator profile information; supports XHS and
|
|
164
|
-
- `media-user-posts`: retrieve creator content lists; supports XHS notes, Douyin works, and Douyin creator short-drama series.
|
|
184
|
+
- `socialdatax-content-research-assistant`: combine SocialDataX search, detail, comment, creator profile, and creator content workflows for cross-platform content research across XHS, Douyin, and Kuaishou.
|
|
185
|
+
- `media-search`: search social media content by keyword; supports XHS notes, Douyin works, and Kuaishou works.
|
|
186
|
+
- `media-detail`: read structured content details and metrics; supports XHS notes, Douyin works, and Kuaishou works.
|
|
187
|
+
- `media-comments`: fetch and analyze XHS comments/replies, Douyin comments/replies, and Kuaishou comments/replies.
|
|
188
|
+
- `media-user-info`: retrieve creator profile information; supports XHS, Douyin, and Kuaishou creators.
|
|
189
|
+
- `media-user-posts`: retrieve creator content lists; supports XHS notes, Douyin works, Kuaishou works, and Douyin creator short-drama series.
|
|
165
190
|
|
|
166
191
|
Default install locations:
|
|
167
192
|
|
|
@@ -183,14 +208,26 @@ The current platform MCP services are designed for read-only social media intell
|
|
|
183
208
|
|
|
184
209
|
Current XHS workflows include:
|
|
185
210
|
|
|
211
|
+
- Fetch the current Xiaohongshu / XHS / RedNote search hot list.
|
|
186
212
|
- Search related Xiaohongshu notes by keyword, with optional sort, note type, and publish-time filters.
|
|
187
|
-
- Resolve a shared note link, short link, share text
|
|
213
|
+
- Resolve a shared note link, short link, or share text into structured note details.
|
|
188
214
|
- Read note details when the caller already has a note ID.
|
|
189
215
|
- Fetch paginated first-level comments for comment analysis.
|
|
190
216
|
- Fetch paginated replies under a first-level comment.
|
|
191
217
|
- Read creator profile data from a profile link, short link, share text, or user ID.
|
|
192
218
|
- Fetch paginated creator note lists from a user ID, profile link, short link, or share text for content style and account research.
|
|
193
219
|
|
|
220
|
+
Current Kuaishou workflows include:
|
|
221
|
+
|
|
222
|
+
- Fetch the current Kuaishou / 快手 short-video hot list.
|
|
223
|
+
- Search related Kuaishou works by keyword.
|
|
224
|
+
- Resolve a Kuaishou work page link, short link, share text, or photo_id into structured work details.
|
|
225
|
+
- Fetch paginated first-level comments for comment analysis.
|
|
226
|
+
- Fetch paginated replies under a first-level comment.
|
|
227
|
+
- Continue Kuaishou list pagination only when `next_page_token` is non-empty; an empty string means there are no more results to request.
|
|
228
|
+
- Read creator profile data from a profile link, short link, share text, or user_id.
|
|
229
|
+
- Fetch paginated creator work lists from a user_id, profile link, short link, or share text.
|
|
230
|
+
|
|
194
231
|
Current Douyin workflows include:
|
|
195
232
|
|
|
196
233
|
- Fetch the current Douyin main hot search list.
|
|
@@ -207,8 +244,9 @@ Current Douyin workflows include:
|
|
|
207
244
|
|
|
208
245
|
| Tool | Public purpose |
|
|
209
246
|
| --- | --- |
|
|
247
|
+
| `xhs_get_search_hot_list` | Fetch the current Xiaohongshu / 小红书 search hot list with each item's title and heat value. |
|
|
210
248
|
| `xhs_search_notes` | Search Xiaohongshu / 小红书 notes by keyword with optional sort, note type, and publish-time filters. |
|
|
211
|
-
| `xhs_get_note_detail_by_note_url` | Resolve a shared XHS link, short link, share text
|
|
249
|
+
| `xhs_get_note_detail_by_note_url` | Resolve a shared XHS link, short link, or share text into structured note details. |
|
|
212
250
|
| `xhs_get_note_detail_by_note_id` | Fetch structured note details when the caller already has a note ID. |
|
|
213
251
|
| `xhs_get_note_comments_by_note_id` | Fetch paginated first-level comments when the caller already has a note ID. |
|
|
214
252
|
| `xhs_get_note_comments_by_note_url` | Fetch paginated first-level comments directly from a shared note URL, short link, or share text. |
|
|
@@ -236,6 +274,22 @@ Current Douyin workflows include:
|
|
|
236
274
|
| `douyin_get_user_series_by_sec_user_id` | Fetch a paginated list of short-drama series by a creator when the caller already has a sec_user_id. |
|
|
237
275
|
| `douyin_get_user_series_by_profile_url` | Fetch a paginated list of short-drama series by a creator from a profile link, short link, or share text. |
|
|
238
276
|
|
|
277
|
+
## Kuaishou Tools
|
|
278
|
+
|
|
279
|
+
| Tool | Public purpose |
|
|
280
|
+
| --- | --- |
|
|
281
|
+
| `kuaishou_get_hot_search_list` | Get the current Kuaishou / 快手 short-video hot list. |
|
|
282
|
+
| `kuaishou_search_videos` | Search Kuaishou works by natural-language keyword with optional paging. |
|
|
283
|
+
| `kuaishou_get_video_detail_by_photo_id` | Fetch structured work details when the caller already has a photo_id. |
|
|
284
|
+
| `kuaishou_get_video_detail_by_url` | Resolve a Kuaishou work page link, short link, or share text into structured work details. |
|
|
285
|
+
| `kuaishou_get_video_comments_by_photo_id` | Fetch paginated first-level comments when the caller already has a photo_id. |
|
|
286
|
+
| `kuaishou_get_video_comments_by_url` | Fetch paginated first-level comments directly from a Kuaishou work page link, short link, or share text. |
|
|
287
|
+
| `kuaishou_get_video_comment_replies_by_comment_id` | Fetch paginated replies under a first-level comment by photo_id and comment_id. |
|
|
288
|
+
| `kuaishou_get_user_info_by_user_id` | Fetch creator profile data when the caller already has a user_id. |
|
|
289
|
+
| `kuaishou_get_user_info_by_profile_url` | Resolve a Kuaishou profile link, short link, or share text into creator profile data. |
|
|
290
|
+
| `kuaishou_get_user_posted_videos_by_user_id` | Fetch a paginated list of works published by a creator when the caller already has a user_id. |
|
|
291
|
+
| `kuaishou_get_user_posted_videos_by_profile_url` | Fetch a paginated list of works published by a creator from a profile link, short link, or share text. |
|
|
292
|
+
|
|
239
293
|
## Quick Start
|
|
240
294
|
|
|
241
295
|
For agents that can execute shell commands, use the direct CLI. This is the recommended default for installed skills:
|
|
@@ -244,9 +298,10 @@ For agents that can execute shell commands, use the direct CLI. This is the reco
|
|
|
244
298
|
export SOCIALDATAX_API_KEY="<SOCIALDATAX_API_KEY>"
|
|
245
299
|
npx -y socialdatax-skills@latest xhs search --keyword "露营桌" --pretty
|
|
246
300
|
npx -y socialdatax-skills@latest douyin search --keyword "露营桌" --pretty
|
|
301
|
+
npx -y socialdatax-skills@latest kuaishou search --keyword "露营桌" --pretty
|
|
247
302
|
```
|
|
248
303
|
|
|
249
|
-
MCP client configuration belongs to platform MCP listings. For XHS, use the `xhs-insights` docs; for Douyin, use the `douyin-insights` listing.
|
|
304
|
+
MCP client configuration belongs to platform MCP listings. For XHS, use the `xhs-insights` docs; for Douyin, use the `douyin-insights` listing; for Kuaishou, use the `kuaishou-insights` listing.
|
|
250
305
|
|
|
251
306
|
Aily is treated as an OpenClaw / AgentSkills ecosystem channel for this package. Use the OpenClaw skill install flow for now; a dedicated `--target aily` will be added only after its official skill import or package format is confirmed.
|
|
252
307
|
|
|
@@ -262,7 +317,7 @@ Use the key as a Bearer token in the `Authorization` request header. Do not comm
|
|
|
262
317
|
|
|
263
318
|
Public metadata files in this repository:
|
|
264
319
|
|
|
265
|
-
- [skills](skills): AgentSkills-compatible skills split by social media capability and currently backed by XHS and
|
|
320
|
+
- [skills](skills): AgentSkills-compatible skills split by social media capability and currently backed by XHS, Douyin, and Kuaishou tools.
|
|
266
321
|
|
|
267
322
|
## License
|
|
268
323
|
|