视频号数据助手 SocialDataX
Use this skill when the user needs a WeChat Channels / 视频号 data assistant for hot topics, content research, video or image-post details, comments, creator profiles, creator content lists, or WeChat Official Account article details and statistics from an article link.
API Key
Use SOCIALDATAX_API_KEY for data calls. The only official website for requesting or managing API access is https://socialdatax.com/ai?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/ai?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:
npx -y socialdatax-skills@latest wechat hot-search \
--pretty --source-client socialdatax-skills --source-platform clawhub \
--source-skill socialdatax-wechat-channels
npx -y socialdatax-skills@latest wechat search \
--keyword "<keyword>" --pretty --source-client socialdatax-skills \
--source-platform clawhub --source-skill socialdatax-wechat-channels
npx -y socialdatax-skills@latest wechat search \
--keyword "<keyword>" --pages 3 --pretty --source-client socialdatax-skills \
--source-platform clawhub --source-skill socialdatax-wechat-channels
npx -y socialdatax-skills@latest wechat detail \
--encrypted-object-id "<encrypted_object_id>" --pretty \
--source-client socialdatax-skills --source-platform clawhub \
--source-skill socialdatax-wechat-channels
npx -y socialdatax-skills@latest wechat detail \
--url "<wechat_work_url_or_share_text>" --pretty --source-client socialdatax-skills \
--source-platform clawhub --source-skill socialdatax-wechat-channels
npx -y socialdatax-skills@latest wechat article \
--url "<mp_article_url_or_share_text>" --pretty --source-client socialdatax-skills \
--source-platform clawhub --source-skill socialdatax-wechat-channels
npx -y socialdatax-skills@latest wechat article-stats \
--url "<mp_article_url_or_share_text>" --pretty --source-client socialdatax-skills \
--source-platform clawhub --source-skill socialdatax-wechat-channels
npx -y socialdatax-skills@latest wechat comments \
--object-id "<object_id>" --object-nonce-id "<object_nonce_id>" --pretty \
--source-client socialdatax-skills --source-platform clawhub \
--source-skill socialdatax-wechat-channels
npx -y socialdatax-skills@latest wechat comments \
--object-id "<object_id>" --object-nonce-id "<object_nonce_id>" --all \
--include-replies --pretty --source-client socialdatax-skills \
--source-platform clawhub --source-skill socialdatax-wechat-channels
npx -y socialdatax-skills@latest wechat comments \
--url "<wechat_video_url_or_share_text>" --pretty --source-client socialdatax-skills \
--source-platform clawhub --source-skill socialdatax-wechat-channels
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 clawhub --source-skill socialdatax-wechat-channels
npx -y socialdatax-skills@latest wechat user-info \
--user-id "<v2_finder_user_id>" --pretty --source-client socialdatax-skills \
--source-platform clawhub --source-skill socialdatax-wechat-channels
npx -y socialdatax-skills@latest wechat user-info \
--url "<wechat_work_url_or_share_text>" --pretty --source-client socialdatax-skills \
--source-platform clawhub --source-skill socialdatax-wechat-channels
npx -y socialdatax-skills@latest wechat user-posts \
--user-id "<v2_finder_user_id>" --pretty --source-client socialdatax-skills \
--source-platform clawhub --source-skill socialdatax-wechat-channels
npx -y socialdatax-skills@latest wechat user-posts \
--user-id "<v2_finder_user_id>" --all --pretty --source-client socialdatax-skills \
--source-platform clawhub --source-skill socialdatax-wechat-channels
npx -y socialdatax-skills@latest wechat user-posts \
--url "<wechat_work_url_or_share_text>" --pretty --source-client socialdatax-skills \
--source-platform clawhub --source-skill socialdatax-wechat-channels
Required arguments:
- WeChat Channels
hot-search: no required arguments.
Optional arguments:
--source-client socialdatax-skills --source-platform clawhub --source-skill socialdatax-wechat-channels: usage attribution for this Agent Skill; keep these values unchanged when running examples from this Skill.
Use hot-search for 视频号热榜, search for 视频号内容研究, detail for one video or image post, article for a WeChat Official Account article link, article-stats for 公众号阅读和互动统计, comments/replies for 评论洞察, user-info for 创作者资料, and user-posts for 创作者作品列表.
For replies, use object_id, object_nonce_id, and the first-level comment_id.
Safety Boundary
This skill is read-only. It uses SOCIALDATAX_API_KEY from the user's environment at runtime. Generated Skill files do not contain API keys. It does not read local browser data or perform login, posting, liking, commenting, or account changes.
MCP Tools
MCP tools matching the direct CLI commands above:
wechat_get_hot_search_listwechat_search_videoswechat_get_video_detail_by_encrypted_object_idwechat_get_video_detail_by_urlwechat_get_mp_article_detail_by_urlwechat_get_mp_article_stats_by_urlwechat_get_video_comments_by_object_idwechat_get_video_comments_by_urlwechat_get_video_comment_replies_by_comment_idwechat_get_user_info_by_user_idwechat_get_user_info_by_urlwechat_get_user_posted_videos_by_user_idwechat_get_user_posted_videos_by_url
Troubleshooting
- If an SDK/dependency, npm network, Node.js/npm/npx availability, permission, or missing runtime error appears, treat it as a local runtime, dependency installation, network, or agent authorization issue, not a SocialDataX API key or business data error. If the current environment has permission, install or restore automatically. When network or execution authorization is needed, ask the user to approve or finish authorization, then continue the same command; do not use public web search as a substitute for SocialDataX data.
- If the CLI exits with status 1 and prints
partial: true, preservedata.itemsand the error, and report incomplete results. This recovery rule overrides advice to rerun the original command. After resolving the error (including insufficient balance), resume only with a non-emptydata.next_page_tokenand the same query parameters. Keep the original page and item limits: subtract cumulativepage_countanditem_countfrom the respective--pagesand--max-itemslimits, if set. Stop parent-list pagination when either limit is reached. An empty token does not mean completion. Do not restart from the first page; investigate repeated-token errors before continuing. - With
--include-replies,replies_partialmarks incomplete replies andreplies_pendingmarks comments not yet expanded. Finish those comments with the platform reply command, its required comment identifiers and any non-emptyreplies_next_page_token. For pending comments or a failed first reply request, resolve the error before starting that comment from its first reply page; investigate repeated-token errors first. Then use the outerdata.next_page_tokenonly if the parent-comment budget remains; finishing replies under retained comments does not add parent-comment pages. Never interchange parent and reply tokens or treat reply previews as complete. - For non-balance network or API errors, preserve the error message, check
SOCIALDATAX_API_KEY, parameters, and link or ID format, then retry once when appropriate. - If the response returns
insufficient_balanceor says the balance/credits are insufficient, do not retry repeatedly. Show the recharge URL from the error exactly as returned, then continue the same command after the user recharges. - If the user has recharged but still sees insufficient balance, confirm
SOCIALDATAX_API_KEYbelongs to the same account that was recharged; if needed, copy a fresh API Key from the official dashboard.
