socialdatax-skills 0.2.41 → 0.2.43

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/CATALOG.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  SocialDataX (社媒数据助手) provides Agent Skills for read-only social media research workflows. These Skills help agents use the `socialdatax-skills` CLI and SocialDataX MCP services for content research, comment analysis, topic planning, video transcript extraction, and copy safety review.
4
4
 
5
- Official website and API Key access: <https://socialdatax.com/ai?from=github>
5
+ Official website and API Key access: <https://socialdatax.com/ai?from=npm>
6
6
 
7
7
  ## Quick Start
8
8
 
@@ -17,7 +17,7 @@ Run a direct CLI command:
17
17
  ```bash
18
18
  npx -y socialdatax-skills@latest xhs search \
19
19
  --keyword "露营" --sort-type like_count_descending --pages 2 --max-items 20 --pretty \
20
- --source-client socialdatax-skills --source-platform github --source-skill media-search
20
+ --source-client socialdatax-skills --source-platform npm --source-skill media-search
21
21
  ```
22
22
 
23
23
  The CLI does not log in to user accounts, post content, like, comment, or change account settings.
@@ -30,11 +30,11 @@ This table is a curated marketplace catalog, not the complete platform support l
30
30
  | --- | --- | --- | --- |
31
31
  | 社媒内容研究助手 | Research supported SocialDataX public platforms including XHS, Douyin, Kuaishou, Bilibili, Zhihu, Instagram, X / Twitter, YouTube, TikTok, Weibo, and WeChat Channels, plus WeChat Official Account article details. | Cross-platform social content research | SkillHub / ModelScope / GitHub: `socialdatax-content-research-assistant` |
32
32
  | 小红书内容研究 | Research popular XHS / Xiaohongshu / RedNote note samples, content angles, keywords, competitor content, and trend material. | XHS note search | ClawHub / ModelScope: `xhs-content-research` |
33
- | 小红书评论分析与需求挖掘 | Analyze comments from a provided XHS note URL or complete `note_id` for user feedback, pain points, purchase objections, FAQ, and demand signals. | XHS comments and replies | ClawHub / ModelScope: `xhs-comment-insights` |
33
+ | 小红书评论分析与需求挖掘 | Analyze comments from a provided XHS note URL or complete `note_id` for user feedback, pain points, purchase objections, FAQ, and demand signals. | XHS comments and replies | ClawHub / ModelScope / GitHub: `xhs-comment-insights` |
34
34
  | 小红书热榜选题分析 | Turn current XHS hot-list signals and related popular note samples into actionable topic ideas. | XHS hot search plus note search | ClawHub / ModelScope: `xhs-hot-topic-selection` |
35
35
  | 小红书爆款笔记研究 | Study high-engagement XHS note samples from a keyword, niche, product, or scenario. | XHS note search | ClawHub / ModelScope: `xhs-viral-note-research` |
36
36
  | 小红书爆款文案拆解 | Break down XHS viral copy structure, title hooks, opening style, selling points, emotional wording, CTA, and reusable copy framework. | XHS search and note detail | ClawHub / ModelScope: `xhs-viral-copy-breakdown` |
37
- | 抖音文案提取 | Extract Douyin video context, original description, spoken transcript, copy-ready version, and task status from a URL, share text, `aweme_id`, or transcript `job_id`. | Douyin transcript job | SkillHub / ClawHub / ModelScope: `douyin-video-copy-extract` |
37
+ | 抖音文案提取 | Extract Douyin video context, original description, spoken transcript, copy-ready version, and task status from a URL, share text, `aweme_id`, or transcript `job_id`. | Douyin transcript job | SkillHub / ClawHub / ModelScope / GitHub: `douyin-video-copy-extract` |
38
38
  | 敏感词检测与违禁词检查 | Check copy before publishing for sensitive terms, platform risk hints, and safer rewrite suggestions. | Copy safety review | SkillHub / ClawHub / ModelScope: `socialdatax-sensitive-check` |
39
39
 
40
40
  ## Direct CLI Examples
@@ -44,7 +44,7 @@ This table is a curated marketplace catalog, not the complete platform support l
44
44
  ```bash
45
45
  npx -y socialdatax-skills@latest xhs search \
46
46
  --keyword "<keyword>" --sort-type like_count_descending --pages 2 --max-items 20 --pretty \
47
- --source-client socialdatax-skills --source-platform github --source-skill media-search
47
+ --source-client socialdatax-skills --source-platform npm --source-skill media-search
48
48
  ```
49
49
 
50
50
  ### XHS Viral Note Research
@@ -52,7 +52,7 @@ npx -y socialdatax-skills@latest xhs search \
52
52
  ```bash
53
53
  npx -y socialdatax-skills@latest xhs search \
54
54
  --keyword "<keyword>" --sort-type like_count_descending --pages 2 --max-items 20 --pretty \
55
- --source-client socialdatax-skills --source-platform github --source-skill media-search
55
+ --source-client socialdatax-skills --source-platform npm --source-skill media-search
56
56
  ```
57
57
 
58
58
  ### XHS Viral Copy Breakdown
@@ -62,7 +62,7 @@ Find candidate notes:
62
62
  ```bash
63
63
  npx -y socialdatax-skills@latest xhs search \
64
64
  --keyword "<keyword>" --sort-type like_count_descending --pages 2 --max-items 20 --pretty \
65
- --source-client socialdatax-skills --source-platform github --source-skill socialdatax-content-research-assistant
65
+ --source-client socialdatax-skills --source-platform npm --source-skill socialdatax-content-research-assistant
66
66
  ```
67
67
 
68
68
  Read one selected note for copy breakdown:
@@ -70,7 +70,7 @@ Read one selected note for copy breakdown:
70
70
  ```bash
71
71
  npx -y socialdatax-skills@latest xhs detail \
72
72
  --url "<xhs_note_url_or_share_text>" --pretty \
73
- --source-client socialdatax-skills --source-platform github --source-skill socialdatax-content-research-assistant
73
+ --source-client socialdatax-skills --source-platform npm --source-skill socialdatax-content-research-assistant
74
74
  ```
75
75
 
76
76
  ### XHS Comment Analysis
@@ -78,14 +78,14 @@ npx -y socialdatax-skills@latest xhs detail \
78
78
  ```bash
79
79
  npx -y socialdatax-skills@latest xhs comments \
80
80
  --url "<xhs_note_url_or_share_text>" --pages 2 --max-items 20 --include-replies --pretty \
81
- --source-client socialdatax-skills --source-platform github --source-skill media-comments
81
+ --source-client socialdatax-skills --source-platform npm --source-skill media-comments
82
82
  ```
83
83
 
84
84
  ### XHS Hot Topic Planning
85
85
 
86
86
  ```bash
87
87
  npx -y socialdatax-skills@latest xhs hot-search \
88
- --pretty --source-client socialdatax-skills --source-platform github \
88
+ --pretty --source-client socialdatax-skills --source-platform npm \
89
89
  --source-skill socialdatax-content-research-assistant
90
90
  ```
91
91
 
@@ -94,7 +94,7 @@ Then search notes for one selected hot topic:
94
94
  ```bash
95
95
  npx -y socialdatax-skills@latest xhs search \
96
96
  --keyword "<hot_topic_keyword>" --sort-type like_count_descending --pages 2 --max-items 20 --pretty \
97
- --source-client socialdatax-skills --source-platform github --source-skill socialdatax-content-research-assistant
97
+ --source-client socialdatax-skills --source-platform npm --source-skill socialdatax-content-research-assistant
98
98
  ```
99
99
 
100
100
  ### Douyin Copy Extraction
@@ -102,7 +102,7 @@ npx -y socialdatax-skills@latest xhs search \
102
102
  ```bash
103
103
  npx -y socialdatax-skills@latest douyin transcript \
104
104
  --url "<douyin_video_url_or_share_text>" --pretty \
105
- --source-client socialdatax-skills --source-platform github --source-skill media-transcript
105
+ --source-client socialdatax-skills --source-platform npm --source-skill media-transcript
106
106
  ```
107
107
 
108
108
  If the transcript job is still pending, keep the returned `job_id` and query it again:
@@ -110,7 +110,7 @@ If the transcript job is still pending, keep the returned `job_id` and query it
110
110
  ```bash
111
111
  npx -y socialdatax-skills@latest douyin transcript \
112
112
  --job-id "<job_id>" --pretty \
113
- --source-client socialdatax-skills --source-platform github --source-skill media-transcript
113
+ --source-client socialdatax-skills --source-platform npm --source-skill media-transcript
114
114
  ```
115
115
 
116
116
  ### Sensitive Term Check
@@ -118,7 +118,7 @@ npx -y socialdatax-skills@latest douyin transcript \
118
118
  ```bash
119
119
  npx -y socialdatax-skills@latest sensitive-check text \
120
120
  --text "<copy_to_check>" --platform xhs --pretty \
121
- --source-client socialdatax-skills --source-platform github --source-skill sensitive-check
121
+ --source-client socialdatax-skills --source-platform npm --source-skill sensitive-check
122
122
  ```
123
123
 
124
124
  ## Output Principles
package/README.md CHANGED
@@ -89,7 +89,7 @@ Common search phrases for this skill package:
89
89
  - Reserved future SocialDataX namespace names for existing platform listings without draft files yet: `com.socialdatax/kuaishou-insights`, `com.socialdatax/bilibili-insights`, `com.socialdatax/weibo-insights`, `com.socialdatax/wechat-channels-insights`, `com.socialdatax/zhihu-insights`, `com.socialdatax/instagram-insights`, `com.socialdatax/x-insights`, `com.socialdatax/youtube-insights`, and `com.socialdatax/tiktok-insights`.
90
90
  - Hosted endpoint without a repo-tracked standalone listing: Sensitive Words Check.
91
91
  - Unified MCP registry name: none; this package installs skills and calls explicit hosted MCP entries.
92
- - Current public capability version: `0.2.41`
92
+ - Current public capability version: `0.2.43`
93
93
 
94
94
  ## Direct CLI
95
95
 
@@ -193,6 +193,7 @@ npx -y socialdatax-skills@latest wechat comments --object-id "<object_id>" --obj
193
193
  npx -y socialdatax-skills@latest wechat comments --url "<wechat_video_url_or_share_text>" --pretty
194
194
  npx -y socialdatax-skills@latest wechat replies --object-id "<object_id>" --object-nonce-id "<object_nonce_id>" --comment-id "<comment_id>" --pretty
195
195
  npx -y socialdatax-skills@latest wechat user-info --user-id "<v2_finder_user_id>" --pretty
196
+ npx -y socialdatax-skills@latest wechat user-info --url "<wechat_work_url_or_share_text>" --pretty
196
197
  npx -y socialdatax-skills@latest wechat user-posts --user-id "<v2_finder_user_id>" --pretty
197
198
  npx -y socialdatax-skills@latest wechat user-posts --url "<wechat_work_url_or_share_text>" --pretty
198
199
  npx -y socialdatax-skills@latest wechat transcript --url "<wechat_video_url_or_share_text>" --pretty
package/cli.mjs CHANGED
@@ -22,7 +22,7 @@ import { decryptWechatMediaCommand } from "./lib/media/wechat-decrypt.mjs";
22
22
  export { decryptWechatMediaCommand };
23
23
 
24
24
  const PACKAGE_NAME = "socialdatax-skills";
25
- const PACKAGE_VERSION = "0.2.41";
25
+ const PACKAGE_VERSION = "0.2.43";
26
26
  const PACKAGE_SPEC = `${PACKAGE_NAME}@latest`;
27
27
  const LOG_PREFIX = `[${PACKAGE_NAME}]`;
28
28
  const MIN_NODE_VERSION = "20.18.1";
@@ -788,7 +788,7 @@ const WECHAT_DIRECT_ACTION_OPTIONS = {
788
788
  "includeReplies",
789
789
  "pretty",
790
790
  ],
791
- "user-info": ["userId", "pretty"],
791
+ "user-info": ["userId", "url", "pretty"],
792
792
  "user-posts": [
793
793
  "userId",
794
794
  "url",
@@ -3077,6 +3077,9 @@ function printHelp() {
3077
3077
  console.log(` npx -y ${PACKAGE_SPEC} wechat user-info --user-id "<v2_finder_user_id>" --pretty`);
3078
3078
  console.log(" Call the WeChat Channels / 视频号 creator profile tool with a v2_...@finder user_id.");
3079
3079
  console.log("");
3080
+ console.log(` npx -y ${PACKAGE_SPEC} wechat user-info --url "<wechat_work_url_or_share_text>" --pretty`);
3081
+ console.log(" Resolve a WeChat Channels / 视频号 video or image-post link or share text into creator profile data.");
3082
+ console.log("");
3080
3083
  console.log(` npx -y ${PACKAGE_SPEC} wechat user-posts --user-id "<v2_finder_user_id>" --pretty`);
3081
3084
  console.log(" Call the WeChat Channels / 视频号 creator videos and image posts tool with a v2_...@finder user_id.");
3082
3085
  console.log("");
@@ -4531,12 +4534,15 @@ function buildWechatOperation(action, options) {
4531
4534
  case "user-info":
4532
4535
  return buildDirectOperation(
4533
4536
  "user-info",
4534
- buildRequiredIdCall(options, {
4537
+ buildOneOfCall(options, {
4535
4538
  idOption: "userId",
4536
- tool: "wechat_get_user_info_by_user_id",
4539
+ urlOption: "url",
4540
+ idTool: "wechat_get_user_info_by_user_id",
4541
+ urlTool: "wechat_get_user_info_by_url",
4537
4542
  idArgument: "user_id",
4543
+ urlArgument: "url",
4538
4544
  idDisplay: "--user-id",
4539
- platformLabel: "wechat user-info",
4545
+ urlDisplay: "--url",
4540
4546
  }),
4541
4547
  PLATFORMS.wechat
4542
4548
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "socialdatax-skills",
3
- "version": "0.2.41",
3
+ "version": "0.2.43",
4
4
  "description": "SocialDataX / 社媒数据助手 skill installer and direct CLI helper for hosted MCP services.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -19,7 +19,7 @@
19
19
  "scripts": {
20
20
  "start": "node ./cli.mjs",
21
21
  "pack:check": "npm pack --dry-run --json",
22
- "test": "node --test test/*.test.mjs"
22
+ "test": "node ./test/run-tests.mjs"
23
23
  },
24
24
  "keywords": [
25
25
  "socialdatax",
@@ -142,6 +142,10 @@ npx -y socialdatax-skills@latest weibo user-info \
142
142
  npx -y socialdatax-skills@latest wechat user-info \
143
143
  --user-id "<v2_finder_user_id>" --pretty --source-client socialdatax-skills \
144
144
  --source-platform npm --source-skill media-user-info
145
+
146
+ npx -y socialdatax-skills@latest wechat user-info \
147
+ --url "<wechat_work_url_or_share_text>" --pretty --source-client socialdatax-skills \
148
+ --source-platform npm --source-skill media-user-info
145
149
  ```
146
150
 
147
151
  Optional arguments:
@@ -166,9 +170,10 @@ Optional arguments:
166
170
  - Weibo `--user-id <user_id>`: preferred when the creator user_id is already known.
167
171
  - Weibo `--profile-url <profile_url>`: use for a Weibo user profile URL.
168
172
  - WeChat Channels / 视频号 `--user-id <v2_finder_user_id>`: use when the creator `v2_...@finder` user_id is already known.
173
+ - WeChat Channels / 视频号 `--url <wechat_work_url_or_share_text>`: use for a video or image-post link or share text that can resolve the creator profile.
169
174
  - `--source-client socialdatax-skills --source-platform npm --source-skill media-user-info`: usage attribution for this Agent Skill; keep these values unchanged when running examples from this Skill.
170
175
 
171
- Use either the ID option or the profile URL option for a single command, not both.
176
+ Use exactly one supported identifier or URL entrypoint for a single command; do not combine them.
172
177
 
173
178
  The command prints JSON with `platform`, `tool`, `arguments`, and `data`.
174
179
 
@@ -190,9 +195,9 @@ MCP tools matching the direct CLI commands above:
190
195
  - YOUTUBE: `youtube_get_channel_info_by_url`
191
196
  - TIKTOK: `tiktok_get_user_info_by_tiktok_id`, `tiktok_get_user_info_by_profile_url`
192
197
  - WEIBO: `weibo_get_user_info_by_user_id`, `weibo_get_user_info_by_profile_url`
193
- - WECHAT: `wechat_get_user_info_by_user_id`
198
+ - WECHAT: `wechat_get_user_info_by_user_id`, `wechat_get_user_info_by_url`
194
199
 
195
- MCP-only tools not available through the direct CLI: `douyin_get_user_info_by_douyin_id`, `wechat_get_user_info_by_url`
200
+ MCP-only tools not available through the direct CLI: `douyin_get_user_info_by_douyin_id`
196
201
 
197
202
  If MCP tools are already available in the current agent, use one of these tools:
198
203
  - `xhs_get_user_info_by_user_id`: preferred when `user_id` is already known from search, detail, comments, or creator note lists.
@@ -254,6 +254,7 @@ npx -y socialdatax-skills@latest weibo replies --post-id "<post_id>" --comment-i
254
254
  npx -y socialdatax-skills@latest wechat detail --url "<wechat_work_url_or_share_text>" --pretty --source-client socialdatax-skills --source-platform npm --source-skill socialdatax-content-research-assistant
255
255
  npx -y socialdatax-skills@latest wechat article --url "<mp_article_url_or_share_text>" --pretty --source-client socialdatax-skills --source-platform npm --source-skill socialdatax-content-research-assistant
256
256
  npx -y socialdatax-skills@latest wechat comments --url "<wechat_video_url_or_share_text>" --pretty --source-client socialdatax-skills --source-platform npm --source-skill socialdatax-content-research-assistant
257
+ npx -y socialdatax-skills@latest wechat user-info --url "<wechat_work_url_or_share_text>" --pretty --source-client socialdatax-skills --source-platform npm --source-skill socialdatax-content-research-assistant
257
258
  npx -y socialdatax-skills@latest wechat user-posts --url "<wechat_work_url_or_share_text>" --pretty --source-client socialdatax-skills --source-platform npm --source-skill socialdatax-content-research-assistant
258
259
  npx -y socialdatax-skills@latest wechat replies --object-id "<object_id>" --object-nonce-id "<object_nonce_id>" --comment-id "<comment_id>" --pretty --source-client socialdatax-skills --source-platform npm --source-skill socialdatax-content-research-assistant
259
260
  ```
@@ -326,9 +327,9 @@ MCP tools matching the direct CLI commands above:
326
327
  - YOUTUBE: `youtube_search_videos`, `youtube_get_video_detail_by_url`, `youtube_get_video_comments_by_url`, `youtube_get_channel_info_by_url`, `youtube_get_user_posted_videos_by_channel_url`, `youtube_get_video_comment_replies`
327
328
  - TIKTOK: `tiktok_search_posts`, `tiktok_get_post_detail_by_url`, `tiktok_get_post_comments_by_post_id`, `tiktok_get_user_info_by_tiktok_id`, `tiktok_get_user_posts_by_tiktok_id`, `tiktok_get_post_comments_by_url`, `tiktok_get_post_comment_replies`, `tiktok_get_user_info_by_profile_url`, `tiktok_get_user_posts_by_profile_url`
328
329
  - WEIBO: `weibo_get_hot_search_list`, `weibo_search_posts`, `weibo_get_post_detail_by_post_id`, `weibo_get_post_comments_by_post_id`, `weibo_get_user_info_by_user_id`, `weibo_get_user_posts_by_user_id`, `weibo_get_post_detail_by_post_url`, `weibo_get_post_comments_by_post_url`, `weibo_get_post_liker_list_by_post_id`, `weibo_get_post_repost_list_by_post_id`, `weibo_get_user_info_by_profile_url`, `weibo_get_user_posts_by_profile_url`, `weibo_get_post_comment_replies_by_comment_id`
329
- - WECHAT: `wechat_get_hot_search_list`, `wechat_search_videos`, `wechat_get_video_detail_by_encrypted_object_id`, `wechat_get_video_comments_by_object_id`, `wechat_get_user_info_by_user_id`, `wechat_get_user_posted_videos_by_user_id`, `wechat_get_video_detail_by_url`, `wechat_get_mp_article_detail_by_url`, `wechat_get_video_comments_by_url`, `wechat_get_user_posted_videos_by_url`, `wechat_get_video_comment_replies_by_comment_id`
330
+ - WECHAT: `wechat_get_hot_search_list`, `wechat_search_videos`, `wechat_get_video_detail_by_encrypted_object_id`, `wechat_get_video_comments_by_object_id`, `wechat_get_user_info_by_user_id`, `wechat_get_user_posted_videos_by_user_id`, `wechat_get_video_detail_by_url`, `wechat_get_mp_article_detail_by_url`, `wechat_get_video_comments_by_url`, `wechat_get_user_info_by_url`, `wechat_get_user_posted_videos_by_url`, `wechat_get_video_comment_replies_by_comment_id`
330
331
 
331
- MCP-only tools not available through the direct CLI: `douyin_search_users`, `douyin_get_user_info_by_douyin_id`, `weibo_get_post_liker_list_by_post_url`, `weibo_get_post_repost_list_by_post_url`, `wechat_get_user_info_by_url`
332
+ MCP-only tools not available through the direct CLI: `douyin_search_users`, `douyin_get_user_info_by_douyin_id`, `weibo_get_post_liker_list_by_post_url`, `weibo_get_post_repost_list_by_post_url`
332
333
 
333
334
  Use the automatically listed MCP tools above as the source of truth for tool names. Pick the narrowest tool for the user's platform and task. For search pagination, omit `page_token` on the first request and pass only the complete returned `next_page_token` when continuing the same chain.
334
335