socialdatax-skills 0.2.20 → 0.2.21

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
@@ -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, 抖音 / Douyin, 快手 / Kuaishou / Kwai, 微博 / Weibo, 视频号 / WeChat Channels, and 微信公众号 / WeChat Official Account article content research and analysis workflows, plus SocialDataX 敏感检测 text checks. The public skill layer is intentionally named by capability so supported services can evolve without changing the installation model.
5
+ The current public tools support 小红书 / Xiaohongshu / XHS / RedNote, 抖音 / Douyin, 快手 / Kuaishou / Kwai, 微博 / Weibo, 视频号 / WeChat Channels, and 微信公众号 / WeChat Official Account article content research and analysis workflows, plus 敏感词检测 / 违禁词检查 text checks. The public skill layer is intentionally named by capability so supported services 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
@@ -42,7 +42,9 @@ Common search phrases for this skill package:
42
42
  - `mp.weixin.qq.com article detail`
43
43
  - `SocialDataX content research`
44
44
  - `content research assistant`
45
- - `敏感检测 SocialDataX`
45
+ - `敏感词检测`
46
+ - `违禁词检测`
47
+ - `文案发布前检查`
46
48
  - `sensitive check skill`
47
49
  - `content safety skill`
48
50
  - `text safety check`
@@ -54,7 +56,7 @@ Common search phrases for this skill package:
54
56
  - Kuaishou hosted MCP endpoint: `https://mcp.socialdatax.com/kuaishou/mcp`
55
57
  - Weibo hosted MCP endpoint: `https://mcp.socialdatax.com/weibo/mcp`
56
58
  - WeChat / 微信 hosted MCP endpoint: `https://mcp.socialdatax.com/wechat/mcp`
57
- - Sensitive Check hosted MCP endpoint: `https://mcp.socialdatax.com/sensitive-check/mcp`
59
+ - Sensitive Words Check hosted MCP endpoint: `https://mcp.socialdatax.com/sensitive-check/mcp`
58
60
  - Hosted transport: `streamable-http`
59
61
  - Authentication: `Authorization: Bearer <SOCIALDATAX_API_KEY>`
60
62
  - Website: <https://socialdatax.com>
@@ -68,10 +70,10 @@ Common search phrases for this skill package:
68
70
  - Weibo future platform MCP registry name: `com.socialdatax/weibo-insights`
69
71
  - WeChat / 微信 current platform MCP registry name: `com.52choujiang/wechat-channels-insights`
70
72
  - WeChat / 微信 future platform MCP registry name: `com.socialdatax/wechat-channels-insights`
71
- - Sensitive Check MCP server name: `sensitive-check`
72
- - Sensitive Check future MCP registry name: `com.socialdatax/sensitive-check`
73
+ - Sensitive Words Check MCP server name: `sensitive-check`
74
+ - Sensitive Words Check future MCP registry name: `com.socialdatax/sensitive-check`
73
75
  - Unified MCP registry name: none; this package installs skills and calls explicit platform services.
74
- - Current public capability version: `0.2.20`
76
+ - Current public capability version: `0.2.21`
75
77
 
76
78
  ## Direct CLI
77
79
 
@@ -174,7 +176,7 @@ For commands that accept `--page-token`, continue only with the complete returne
174
176
 
175
177
  Search pagination uses `--page-token` when continuing with a returned `next_page_token`. Omit `--page-token` on the first search request and pass the complete returned `next_page_token` only when continuing the same search chain.
176
178
 
177
- Transcript commands submit a bounded video speech-to-text job or check an existing job. Pass exactly one entrypoint for each call: URL/share text, platform content ID, or `--job-id`.
179
+ Transcript commands submit a bounded video speech-to-text job or check an existing job. Pass exactly one entrypoint for each call: URL/share text, platform content ID, or `--job-id`. Completed get-job responses return transcript plus content context, not summary.
178
180
 
179
181
  Generated Agent Skill examples include `--source-client socialdatax-skills --source-platform <marketplace> --source-skill <skill-slug>` so SocialDataX can attribute direct CLI usage to the current marketplace Skill. Keep those values unchanged when running commands from a Skill; omit them for ad hoc CLI use. The direct CLI also accepts `SOCIALDATAX_SOURCE_CLIENT`, `SOCIALDATAX_SOURCE_PLATFORM`, and `SOCIALDATAX_SOURCE_SKILL` as environment-variable fallbacks.
180
182
 
@@ -301,7 +303,7 @@ Available skills:
301
303
  - `media-transcript`: submit and check video 口播转文字 / speech-to-text transcript jobs through direct CLI commands or hosted MCP tools; supports XHS, Douyin, Kuaishou, Weibo, and WeChat Channels.
302
304
  - `media-user-info`: retrieve creator profile information; supports XHS, Douyin, Kuaishou, Weibo, and WeChat Channels creators.
303
305
  - `media-user-posts`: retrieve creator content lists; supports XHS notes, Douyin works, Kuaishou works, Weibo posts, WeChat Channels videos, and Douyin creator short-drama series.
304
- - `sensitive-check`: run 敏感检测 text checks; supports `generic`, `xhs`, `douyin`, and `kuaishou` platform contexts.
306
+ - `sensitive-check`: run 敏感词检测 / 违禁词检查 text checks; supports `generic`, `xhs`, `douyin`, and `kuaishou` platform contexts.
305
307
 
306
308
  Default install locations:
307
309
 
@@ -383,12 +385,12 @@ Current WeChat / 微信 workflows include:
383
385
  - Fetch paginated creator video lists from a finder user_id or a video link/share text.
384
386
  - Submit and check WeChat Channels / 视频号 video 口播转文字 / speech-to-text transcript jobs; submit tools 提交后最多等待 15 秒.
385
387
 
386
- Current Sensitive Check workflows include:
388
+ Current Sensitive Words Check workflows include:
387
389
 
388
- - Check draft text for 敏感检测 / sensitive-content risks before publishing.
390
+ - Check draft text for 敏感词检测 / 违禁词检查 / sensitive-content risks before publishing.
389
391
  - Choose a platform context with `--platform generic`, `--platform xhs`, `--platform douyin`, or `--platform kuaishou`.
390
392
  - Return structured fields such as `violation`, `risk_level`, `types`, `highlights`, `summary`, `platform`, and `suggestions` when available.
391
- - Text checks are read-only. Image sensitive detection is reserved for a future separate tool.
393
+ - Text checks are read-only. The service records submitted text and structured detection results for history, billing, and troubleshooting. Image sensitive detection is reserved for a future separate tool.
392
394
 
393
395
  ## XHS Tools
394
396
 
@@ -407,7 +409,7 @@ Current Sensitive Check workflows include:
407
409
  | `xhs_get_user_posted_notes_by_profile_url` | Fetch a paginated list of notes published by a creator from a profile link, short link, or share text. |
408
410
  | `xhs_submit_video_speech_text_by_note_url` | Submit an XHS video note speech-to-text transcript job from a note link, short link, or share text; submit waits up to 15 seconds. |
409
411
  | `xhs_submit_video_speech_text_by_note_id` | Submit an XHS video note speech-to-text transcript job when the caller already has a note ID; submit waits up to 15 seconds. |
410
- | `xhs_get_video_speech_text_job` | Check an XHS speech-to-text transcript job by job_id without creating a new task. |
412
+ | `xhs_get_video_speech_text_job` | Check an XHS speech-to-text transcript job by job_id without creating a new task. Returns transcript plus content context, not summary. |
411
413
 
412
414
  ## Douyin Tools
413
415
 
@@ -428,7 +430,7 @@ Current Sensitive Check workflows include:
428
430
  | `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. |
429
431
  | `douyin_submit_video_speech_text_by_video_url` | Submit a Douyin video speech-to-text transcript job from a content page link, short link, or share text; submit waits up to 15 seconds. |
430
432
  | `douyin_submit_video_speech_text_by_aweme_id` | Submit a Douyin video speech-to-text transcript job when the caller already has an aweme_id; submit waits up to 15 seconds. |
431
- | `douyin_get_video_speech_text_job` | Check a Douyin speech-to-text transcript job by job_id without creating a new task. |
433
+ | `douyin_get_video_speech_text_job` | Check a Douyin speech-to-text transcript job by job_id without creating a new task. Returns transcript plus content context, not summary. |
432
434
 
433
435
  ## Kuaishou Tools
434
436
 
@@ -447,7 +449,7 @@ Current Sensitive Check workflows include:
447
449
  | `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 that resolves directly to a non-empty user_id; for live/fw-user profile shares, call creator profile first and use the returned non-empty user_id. |
448
450
  | `kuaishou_submit_video_speech_text_by_video_url` | Submit a Kuaishou video speech-to-text transcript job from a work page link, short link, or share text; submit waits up to 15 seconds. |
449
451
  | `kuaishou_submit_video_speech_text_by_photo_id` | Submit a Kuaishou video speech-to-text transcript job when the caller already has a photo_id; submit waits up to 15 seconds. |
450
- | `kuaishou_get_video_speech_text_job` | Check a Kuaishou speech-to-text transcript job by job_id without creating a new task. |
452
+ | `kuaishou_get_video_speech_text_job` | Check a Kuaishou speech-to-text transcript job by job_id without creating a new task. Returns transcript plus content context, not summary. |
451
453
 
452
454
  ## Weibo Tools
453
455
 
@@ -466,7 +468,7 @@ Current Sensitive Check workflows include:
466
468
  | `weibo_get_user_posts_by_profile_url` | Fetch a paginated list of posts published by a creator from a profile link, short link, or share text. |
467
469
  | `weibo_submit_video_speech_text_by_post_url` | Submit a Weibo video speech-to-text transcript job from a post URL, short link, or share text; submit waits up to 15 seconds. |
468
470
  | `weibo_submit_video_speech_text_by_post_id` | Submit a Weibo video speech-to-text transcript job when the caller already has a post_id; submit waits up to 15 seconds. |
469
- | `weibo_get_video_speech_text_job` | Check a Weibo speech-to-text transcript job by job_id without creating a new task. |
471
+ | `weibo_get_video_speech_text_job` | Check a Weibo speech-to-text transcript job by job_id without creating a new task. Returns transcript plus content context, not summary. |
470
472
 
471
473
  ## WeChat Tools
472
474
 
@@ -485,13 +487,13 @@ Current Sensitive Check workflows include:
485
487
  | `wechat_get_user_posted_videos_by_url` | Fetch a paginated list of videos published by a creator from a video link or share text. |
486
488
  | `wechat_submit_video_speech_text_by_video_url` | Submit a WeChat Channels / 视频号 video speech-to-text transcript job from a video link or share text; submit waits up to 15 seconds. |
487
489
  | `wechat_submit_video_speech_text_by_encrypted_object_id` | Submit a WeChat Channels / 视频号 video speech-to-text transcript job when encrypted_object_id is already known; submit waits up to 15 seconds. |
488
- | `wechat_get_video_speech_text_job` | Check a WeChat Channels / 视频号 speech-to-text transcript job by job_id without creating a new task. |
490
+ | `wechat_get_video_speech_text_job` | Check a WeChat Channels / 视频号 speech-to-text transcript job by job_id without creating a new task. Returns transcript plus content context, not summary. |
489
491
 
490
- ## Sensitive Check Tools
492
+ ## Sensitive Words Check Tools
491
493
 
492
494
  | Tool | Public purpose |
493
495
  | --- | --- |
494
- | `check_sensitive_text` | Check text for 敏感检测 / sensitive-content risks with `generic`, `xhs`, `douyin`, or `kuaishou` context. |
496
+ | `check_sensitive_text` | Check text for 敏感词检测 / 违禁词检查 / sensitive-content risks with `generic`, `xhs`, `douyin`, or `kuaishou` context. |
495
497
 
496
498
  ## Quick Start
497
499
 
@@ -507,7 +509,7 @@ npx -y socialdatax-skills@latest wechat search --keyword "露营" --pretty
507
509
  npx -y socialdatax-skills@latest sensitive-check text --text "<content>" --platform xhs --pretty
508
510
  ```
509
511
 
510
- MCP client configuration belongs to platform or capability MCP listings. For XHS, use the `xhs-insights` docs; for Douyin, use the `douyin-insights` listing; for Kuaishou, use the `kuaishou-insights` listing; for Weibo, use the `weibo-insights` listing; for WeChat / 微信, use the `wechat-channels-insights` listing; for 敏感检测, use the `sensitive-check` server.
512
+ MCP client configuration belongs to platform or capability MCP listings. For XHS, use the `xhs-insights` docs; for Douyin, use the `douyin-insights` listing; for Kuaishou, use the `kuaishou-insights` listing; for Weibo, use the `weibo-insights` listing; for WeChat / 微信, use the `wechat-channels-insights` listing; for 敏感词检测 / 违禁词检查, use the `sensitive-check` server.
511
513
 
512
514
  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.
513
515
 
@@ -523,7 +525,7 @@ Use the key as a Bearer token in the `Authorization` request header. Do not comm
523
525
 
524
526
  Public metadata files in this repository:
525
527
 
526
- - [skills](skills): AgentSkills-compatible skills split by capability and currently backed by XHS, Douyin, Kuaishou, Weibo, WeChat Channels, and Sensitive Check tools.
528
+ - [skills](skills): AgentSkills-compatible skills split by capability and currently backed by XHS, Douyin, Kuaishou, Weibo, WeChat Channels, and Sensitive Words Check tools.
527
529
 
528
530
  ## License
529
531
 
package/cli.mjs CHANGED
@@ -7,7 +7,7 @@ import { dirname, join, resolve } from "node:path";
7
7
  import { fileURLToPath } from "node:url";
8
8
 
9
9
  const PACKAGE_NAME = "socialdatax-skills";
10
- const PACKAGE_VERSION = "0.2.20";
10
+ const PACKAGE_VERSION = "0.2.21";
11
11
  const PACKAGE_SPEC = `${PACKAGE_NAME}@latest`;
12
12
  const LOG_PREFIX = `[${PACKAGE_NAME}]`;
13
13
  const MIN_NODE_VERSION = "20.18.1";
@@ -25,6 +25,13 @@ const SOURCE_CLIENT_HEADER = "X-SocialDataX-Client";
25
25
  const SOURCE_PLATFORM_HEADER = "X-SocialDataX-Source-Platform";
26
26
  const SOURCE_SKILL_HEADER = "X-SocialDataX-Source-Skill";
27
27
  const SOURCE_ATTRIBUTION_PATTERN = /^[a-z0-9][a-z0-9-]{0,99}$/;
28
+ export const TRANSCRIPT_JOB_DESCRIPTION_SUFFIX =
29
+ "Returns transcript plus content context, not summary.";
30
+
31
+ export function buildTranscriptJobDescription(subject) {
32
+ return `Check ${subject} by job_id without starting a new task. ${TRANSCRIPT_JOB_DESCRIPTION_SUFFIX}`;
33
+ }
34
+
28
35
  const AVAILABLE_SKILLS = [
29
36
  {
30
37
  name: "socialdatax-content-research-assistant",
@@ -524,7 +531,7 @@ const PLATFORMS = {
524
531
  {
525
532
  name: "xhs_get_video_speech_text_job",
526
533
  description:
527
- "Check a video note speech-to-text transcript job by job_id without starting a new task.",
534
+ buildTranscriptJobDescription("a video note speech-to-text transcript job"),
528
535
  },
529
536
  ],
530
537
  },
@@ -608,7 +615,7 @@ const PLATFORMS = {
608
615
  {
609
616
  name: "douyin_get_video_speech_text_job",
610
617
  description:
611
- "Check a Douyin video speech-to-text transcript job by job_id without starting a new task.",
618
+ buildTranscriptJobDescription("a Douyin video speech-to-text transcript job"),
612
619
  },
613
620
  ],
614
621
  },
@@ -688,7 +695,7 @@ const PLATFORMS = {
688
695
  {
689
696
  name: "kuaishou_get_video_speech_text_job",
690
697
  description:
691
- "Check a Kuaishou video speech-to-text transcript job by job_id without starting a new task.",
698
+ buildTranscriptJobDescription("a Kuaishou video speech-to-text transcript job"),
692
699
  },
693
700
  ],
694
701
  },
@@ -772,7 +779,7 @@ const PLATFORMS = {
772
779
  {
773
780
  name: "weibo_get_video_speech_text_job",
774
781
  description:
775
- "Check a Weibo video speech-to-text transcript job by job_id without starting a new task.",
782
+ buildTranscriptJobDescription("a Weibo video speech-to-text transcript job"),
776
783
  },
777
784
  ],
778
785
  },
@@ -849,13 +856,15 @@ const PLATFORMS = {
849
856
  {
850
857
  name: "wechat_get_video_speech_text_job",
851
858
  description:
852
- "Check a WeChat Channels / 视频号 video speech-to-text transcript job by job_id without starting a new task.",
859
+ buildTranscriptJobDescription(
860
+ "a WeChat Channels / 视频号 video speech-to-text transcript job"
861
+ ),
853
862
  },
854
863
  ],
855
864
  },
856
865
  "sensitive-check": {
857
866
  id: "sensitive-check",
858
- displayName: "Sensitive Check / 敏感检测",
867
+ displayName: "Sensitive Words Check / 敏感词检测",
859
868
  status: "public",
860
869
  registryName: "sensitive-check",
861
870
  futureRegistryName: "com.socialdatax/sensitive-check",
@@ -1901,7 +1910,7 @@ function printHelp() {
1901
1910
  console.log(" Submit or check a WeChat Channels / 视频号 video speech-to-text transcript job.");
1902
1911
  console.log("");
1903
1912
  console.log(` npx -y ${PACKAGE_SPEC} sensitive-check text --text "<content>" --platform xhs --pretty`);
1904
- console.log(" Call the SocialDataX 敏感检测 text tool directly and print JSON.");
1913
+ console.log(" Call the SocialDataX 敏感词检测 / 违禁词检查 text tool directly and print JSON.");
1905
1914
  console.log("");
1906
1915
  console.log(` npx -y ${PACKAGE_SPEC} list`);
1907
1916
  console.log(" List available skills.");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "socialdatax-skills",
3
- "version": "0.2.20",
3
+ "version": "0.2.21",
4
4
  "description": "SocialDataX / 社媒数据助手 skill installer and direct CLI helper for hosted platform social media MCP services.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -109,5 +109,7 @@ Do not start a duplicate transcript job only to poll status. Use the platform ge
109
109
 
110
110
  ## Output Guidance
111
111
 
112
- Return the transcript text when available. When a job is still running, include the `job_id`, status, and next action so the user or agent can check later.
112
+ Return the transcript text and content context when available; include content IDs, titles or descriptions, author facts, and duration when the response provides them.
113
+ This v1 surface does not return summary.
114
+ When a job is still running, include the `job_id`, status, and next action so the user or agent can check later.
113
115
  If the result says no processable video resource is available or the job failed, report that as the observed job result instead of retrying with another platform.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: "sensitive-check"
3
- description: "Check draft text for sensitive-content risks before publishing. Supports generic, xhs, douyin, and kuaishou contexts through SocialDataX."
3
+ description: "Check draft text for 敏感词检测, 违禁词检查, content safety, copy compliance, and safer rewrite suggestions before publishing. Supports generic, xhs, douyin, and kuaishou contexts through SocialDataX."
4
4
  source_client: "socialdatax-skills"
5
5
  source_platform: "npm"
6
6
  source_skill: "sensitive-check"
@@ -22,9 +22,9 @@ metadata:
22
22
  ---
23
23
  <!-- AUTO-GENERATED from socialdatax-skill-source. Do not edit directly; run `node scripts/generate_socialdatax_skills.mjs`. -->
24
24
 
25
- # 敏感检测 SocialDataX
25
+ # 敏感词检测与违禁词检查
26
26
 
27
- Use this skill when the user wants 敏感检测, sensitive check, content safety review, or platform-aware review for text drafts before publishing.
27
+ Use this skill when the user wants 敏感词检测, 违禁词检查, 敏感检测, 文案合规, 发布前检查, 能不能发, sensitive words, prohibited words, content safety review, or platform-aware review for text drafts before publishing.
28
28
 
29
29
  Current platform support:
30
30
 
@@ -53,8 +53,9 @@ Optional arguments:
53
53
  - `--pretty`: output formatting only.
54
54
  - `--source-client socialdatax-skills --source-platform npm --source-skill sensitive-check`: usage attribution for this Agent Skill; keep these values unchanged when running examples from this Skill.
55
55
 
56
- 适用于文本敏感检测、content safety review、发布前风险检查和 safer rewrite suggestions for draft text.
56
+ 适用于敏感词检测、违禁词检查、文案发布前检查、content safety review、文案合规审核、能不能发判断和 safer rewrite suggestions for draft text.
57
57
  The command prints JSON with `platform`, `tool`, and `data`; it does not echo the original text back in CLI arguments. The service returns `violation`, `risk_level`, `types`, `highlights`, `summary`, `platform`, and `suggestions` when available.
58
+ Service note: SocialDataX service records the submitted text and structured detection result for history, billing, and troubleshooting; the local CLI does not write API keys to local files or write local text copies.
58
59
  This v1 skill checks text only. Image sensitive detection is intentionally out of scope until a separate image tool is published.
59
60
 
60
61
  ## Safety Boundary
@@ -1,7 +1,7 @@
1
1
  interface:
2
- display_name: "Sensitive Check"
3
- short_description: "Check draft text risks"
4
- default_prompt: "Use $sensitive-check to check text drafts for sensitive-content risks with SocialDataX."
2
+ display_name: "敏感词检测"
3
+ short_description: "Check sensitive words"
4
+ default_prompt: "Use $sensitive-check to check draft text for sensitive words, prohibited words, and publishing risks with SocialDataX."
5
5
 
6
6
  policy:
7
7
  allow_implicit_invocation: true