socialdatax-skills 0.2.42 → 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/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.
|
|
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.
|
|
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
|
-
|
|
4537
|
+
buildOneOfCall(options, {
|
|
4535
4538
|
idOption: "userId",
|
|
4536
|
-
|
|
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
|
-
|
|
4545
|
+
urlDisplay: "--url",
|
|
4540
4546
|
}),
|
|
4541
4547
|
PLATFORMS.wechat
|
|
4542
4548
|
);
|
package/package.json
CHANGED
|
@@ -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
|
|
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
|
|
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
|
|
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
|
|