SKILL.md
<!-- AUTO-GENERATED from socialdatax-skill-source. Do not edit directly; run node scripts/generatesocialdataxskills.mjs. -->
社媒内容研究助手
适用场景
面向内容运营、品牌调研和创作者的跨平台社媒内容研究助手。适用于小红书、抖音、快手、Bilibili、知乎、Instagram、X / Twitter、YouTube、TikTok、微博和视频号的选题策划、竞品观察、趋势判断、评论洞察和创作者资料整理,也支持公众号文章链接详情和内容整理,来自 SocialDataX 社媒数据助手。
快速开始
- 先给出当前 skill 支持的输入:关键词或选题方向、要观察的平台热榜、内容链接或内容 ID、账号关键词、达人名称或赛道方向、账号用户名、频道链接、账号主页、账号分享文本或平台账号 ID、互动对象 ID 或链接。
- 如果你只想先看样本,先取 1 页;要继续扩大,再按参数说明使用分页或
--max-items。 - 你通常会得到:榜单排名和热度信号、相关标题、作者或账号、链接或内容 ID、单条内容正文、作者、发布时间和互动指标、评论文本、回复线索和用户反馈主题、候选账号、昵称、平台账号 ID 和粉丝信号、账号资料、认证、粉丝或互动信号、近期内容列表、发布时间和互动信号、点赞或转发记录,以及可继续追问的角度。
API Key 获取
获取或管理 API Key:访问 <https://socialdatax.com/ai?from=modelscope>,按官网的 API Key 申请/管理入口操作。环境变量名固定使用 SOCIALDATAXAPIKEY;不要引导用户使用其他域名。
直接调用命令
优先使用 direct CLI;能运行 shell 命令的 Agent 不需要额外配置 MCP server:
npx -y socialdatax-skills@latest xhs hot-search --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest xhs search --keyword "<keyword>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest xhs detail --note-id "<note_id>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest xhs comments --note-id "<note_id>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest xhs user-info --user-id "<user_id>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest xhs user-posts --user-id "<user_id>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest douyin hot-search --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest douyin search --keyword "<keyword>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest douyin detail --aweme-id "<aweme_id>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest douyin comments --aweme-id "<aweme_id>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest douyin user-info --sec-user-id "<sec_user_id>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest douyin user-posts --sec-user-id "<sec_user_id>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest kuaishou hot-search --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest kuaishou search --keyword "<keyword>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest kuaishou user-search --keyword "<creator_keyword>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest kuaishou detail --photo-id "<photo_id>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest kuaishou comments --photo-id "<photo_id>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest kuaishou user-info --user-id "<user_id>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest kuaishou user-posts --user-id "<user_id>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest bilibili search-videos --keyword "<keyword>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest bilibili search-articles --keyword "<keyword>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest bilibili detail --content-id "<content_id>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest bilibili comments --content-id "<content_id>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest bilibili user-info --user-id "<user_id>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest bilibili user-videos --user-id "<user_id>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest bilibili user-articles --user-id "<user_id>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest zhihu hot-list --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest zhihu search --keyword "<keyword>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest zhihu detail --content-url "<zhihu_content_url_or_share_text>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest zhihu comments --content-url "<zhihu_content_url_or_share_text>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest zhihu user-info --profile-url "<profile_url_or_share_text>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest zhihu user-posts --profile-url "<profile_url_or_share_text>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest instagram search --keyword "<keyword>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest instagram detail --post-id "<post_id>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest instagram comments --post-url "<instagram_post_url_or_share_text>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest instagram user-info --username "<username>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest instagram user-posts --username "<username>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest x search --keyword "<keyword>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest x detail --post-id "<post_id>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest x comments --post-id "<post_id>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest x user-info --username "<username>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest x user-posts --username "<username>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest youtube search --keyword "<keyword>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest youtube detail --url "<youtube_video_url>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest youtube comments --url "<youtube_video_url>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest youtube channel-info --channel-url "<youtube_channel_url>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest youtube user-posts --channel-url "<youtube_channel_url>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest tiktok search --keyword "<keyword>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest tiktok detail --url "<tiktok_post_url_or_share_text>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest tiktok comments --post-id "<post_id>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest tiktok user-info --tiktok-id "<tiktok_id>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest tiktok user-posts --tiktok-id "<tiktok_id>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest weibo hot-search --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest weibo search --keyword "<keyword>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest weibo detail --post-id "<post_id>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest weibo comments --post-id "<post_id>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest weibo user-info --user-id "<user_id>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest weibo user-posts --user-id "<user_id>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest wechat hot-search --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest wechat search --keyword "<keyword>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest wechat detail --encrypted-object-id "<encrypted_object_id>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest wechat article --url "<mp_article_url_or_share_text>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest wechat comments --object-id "<object_id>" --object-nonce-id "<object_nonce_id>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest wechat user-info --user-id "<v2_finder_user_id>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest wechat user-posts --user-id "<v2_finder_user_id>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
更多 direct CLI 入口:
npx -y socialdatax-skills@latest xhs detail --url "<note_url_or_share_text>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest xhs comments --url "<note_url_or_share_text>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest xhs user-info --profile-url "<profile_url_or_share_text>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest xhs user-posts --profile-url "<profile_url_or_share_text>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest douyin detail --url "<douyin_content_url_or_share_text>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest douyin comments --url "<douyin_content_url_or_share_text>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest douyin user-info --profile-url "<profile_url_or_share_text>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest douyin user-posts --profile-url "<profile_url_or_share_text>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest douyin user-series --sec-user-id "<sec_user_id>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest douyin user-series --profile-url "<profile_url_or_share_text>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest xhs sub-comments --note-id "<note_id>" --comment-id "<comment_id>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest douyin replies --aweme-id "<aweme_id>" --comment-id "<comment_id>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest kuaishou detail --url "<kuaishou_content_url_or_share_text>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest kuaishou comments --url "<kuaishou_content_url_or_share_text>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest kuaishou user-info --profile-url "<profile_url_or_share_text>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest kuaishou user-posts --profile-url "<profile_url_or_share_text>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest kuaishou replies --photo-id "<photo_id>" --comment-id "<comment_id>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest bilibili detail --url "<bilibili_content_url_or_share_text>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest bilibili comments --url "<bilibili_content_url_or_share_text>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest bilibili replies --comment-object-id "<comment_object_id>" --comment-object-type "<comment_object_type>" --comment-id "<comment_id>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest bilibili reactions --post-id "<post_id>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest bilibili reactions --url "<bilibili_opus_or_dynamic_url_or_share_text>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest bilibili user-info --profile-url "<profile_url_or_share_text>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest bilibili user-videos --profile-url "<profile_url_or_share_text>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest bilibili user-articles --profile-url "<profile_url_or_share_text>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest bilibili user-dynamics --user-id "<user_id>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest bilibili user-dynamics --profile-url "<profile_url_or_share_text>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest zhihu replies --content-url "<zhihu_content_url_or_share_text>" --comment-id "<comment_id>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest instagram detail --post-url "<instagram_post_url_or_share_text>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest instagram replies --post-id "<post_id>" --comment-id "<comment_id>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest instagram user-info --profile-url "<profile_url_or_share_text>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest instagram user-posts --profile-url "<profile_url_or_share_text>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest x detail --post-url "<x_post_url_or_share_text>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest x comments --post-url "<x_post_url_or_share_text>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest x replies --post-id "<post_id>" --comment-id "<comment_id>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest x user-info --user-id "<user_id>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest x user-info --profile-url "<profile_url_or_share_text>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest x user-posts --user-id "<user_id>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest x user-posts --profile-url "<profile_url_or_share_text>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest youtube replies --reply-token "<reply_token>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest tiktok comments --url "<tiktok_post_url_or_share_text>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest tiktok replies --post-id "<post_id>" --comment-id "<comment_id>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest tiktok user-info --profile-url "<profile_url_or_share_text>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest tiktok user-posts --profile-url "<profile_url_or_share_text>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest weibo detail --post-url "<weibo_post_url_or_share_text>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest weibo comments --post-url "<weibo_post_url_or_share_text>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest weibo likers --post-id "<post_id>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest weibo reposts --post-id "<post_id>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest weibo user-info --profile-url "<profile_url>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest weibo user-posts --profile-url "<profile_url>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest weibo replies --post-id "<post_id>" --comment-id "<comment_id>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest wechat detail --url "<wechat_work_url_or_share_text>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest wechat comments --url "<wechat_video_url_or_share_text>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
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 modelscope --source-skill socialdatax-content-research-assistant
npx -y socialdatax-skills@latest wechat user-posts --url "<wechat_work_url_or_share_text>" --pretty --source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant
遇到热榜、内容链接、主页链接、评论分析、Bilibili 互动分析、微博点赞/转发分析、创作者资料、创作者内容列表或短剧合集这类任务时,直接调用对应平台的 socialdatax-skills 子命令,不要一律退回关键词搜索。
参数说明
热榜:
- 说明:用户要看当前小红书热榜时,使用
xhs hot-search,这个命令不需要--keyword。 - 说明:用户要看当前抖音热榜时,使用
douyin hot-search,这个命令不需要--keyword。 - 说明:用户要看当前快手热榜时,使用
kuaishou hot-search,这个命令不需要--keyword。 - 说明:用户要看当前知乎热榜时,使用
zhihu hot-list,这个命令不需要--keyword。 - 说明:用户要看当前微博热搜时,使用
weibo hot-search;用户要看当前视频号热榜时,使用wechat hot-search;这两个命令都不需要--keyword。
搜索:
- 说明:做关键词研究时,根据平台使用
xhs search、douyin search、kuaishou search、bilibili search-videos/search-articles、zhihu search、instagram search、x search、youtube search、tiktok search、weibo search或wechat search。 - 说明:做快手关键词研究时,使用
kuaishou search --keyword <text>。 - 说明:搜索翻页时,如果返回了
nextpagetoken,再使用--page-token <nextpagetoken>;第一页不要传。继续翻页时只能原样使用同一链路返回的完整 token。 - 可选:
--since-days <1-365>:仅适用于 XHS、抖音、快手、微博和视频号搜索;Bilibili 视频、知乎和 YouTube 搜索请改用对应发布时间筛选,不要传给 Bilibili 文章、Instagram、X / Twitter 或 TikTok 搜索。 - 说明:关键词研究筛选:不同平台支持的
--sort-type、--note-type、--publish-time-range、--duration-range、--content-type、--video-type不完全相同,只使用对应 direct CLI 帮助里列出的参数。
详情 / 评论:
- 说明:做详情、评论、回复命令时,使用示例里的内容 ID 参数,或者用对应的 URL 入口,两种方式不要混用。
- 说明:YouTube 评论回复使用返回的
replytoken,运行youtube replies --reply-token <replytoken>;不要把 YouTube 回复写成--comment-id。 - 说明:XHS 评论
--sort-type <default|timedescending|likecount_descending>:可选一级评论排序;不传就使用平台默认排序。 - 条件必填:
--comment-id <commentid>:仅在 CLI 示例使用评论 ID 的回复 / 子评论命令中必填;YouTube 回复改用返回的--reply-token <replytoken>。
创作者 / 账号:
- 说明:做创作者资料、内容列表或合集列表命令时,使用示例里的账号 ID 参数,或者用对应的 profile-url 入口,两种方式不要混用。
- 说明:快手
user-search支持用--pages <n>和--max-items <n>控制候选账号数量,但不支持--since-days,因为它返回的是账号,不是作品。 - 可选:
--since-days <1-365>:仅适用于 XHS、抖音、快手、微博和视频号创作者内容列表;不要传给 Bilibili、知乎、Instagram、X / Twitter、YouTube、TikTok 或抖音user-series。
通用:
- 可选:
--page-token <nextpagetoken>:用于各平台支持 token 翻页的搜索、评论、回复和创作者内容列表。翻页时要保持原始主题、内容对象、创作者搜索词或目标账号不变,并且必须原样传回完整 token,不能截断、改写、脱敏或用省略号替换中间部分。 - 可选:
--pretty:只影响输出格式,不改变实际请求结果。 - 可选:
--source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-content-research-assistant:这是当前 Agent Skill 的来源标记;按本 Skill 示例执行时保持这些值不变。
平台选择
- 小红书 / XHS / RedNote:适合笔记、评论、博主资料和博主笔记列表研究。
- 抖音、快手、微博、视频号:适合热点、评论、创作者和近期内容研究。
- Bilibili、知乎:适合视频 / 图文 / 问答内容研究;公众号文章:适合文章链接详情和内容整理。
- Instagram、X / Twitter、YouTube、TikTok:适合跨平台社媒选题、竞品观察、评论洞察、账号和内容研究。
- 用户同时看多个平台时,先按平台分开证据,再比较共性和差异。
如何选入口
优先使用最贴近用户任务的 direct CLI 命令,不要把所有需求都塞回关键词搜索。命令返回 JSON,通常包含 platform、tool、arguments 和 data。
输出建议
优先输出可直接复盘的结果:榜单信号、相关样本和主要角度、单条内容事实、评论主题和反馈线索、候选账号、创作者资料、创作者内容证据、互动记录,并标出下一步可继续追问的问题。
做综合研究时,先按平台分开整理事实证据,再补充你的判断;建议按内容角度、受众需求、趋势信号、评论主题、创作者定位和下一步动作来组织结果。 对于 XHS 搜索或详情结果里的 noteurl,无论是在最终回答、展示、引用、存储、输出还是转发时,都要保留完整原始 URL,包括其中的 xsectoken 查询参数;不要改写、截断、脱敏、重建,也不要只根据 noteid 去拼链接。如果详情里的 noteurl 为空,就展示 noteid,或者明确说明当前没有可直接打开的完整链接。 对于 XHS noteid,要原样复制返回的完整 note_id;不要只传或只展示前缀。 做评论分析时,先归纳可见主题,再判断情绪、需求或风险点。 做创作者研究时,把账号资料和内容列表证据分开写;如果用了抖音短剧合集命令,要单独写合集事实;如果用了微博账号内容命令,要保留微博博文列表证据;如果用了视频号账号内容命令,要保留视频号作品列表证据;如果用了对应平台账号或频道内容命令,要保留创作者帖子、频道视频或 Shorts 列表证据。 如果同时用了热榜和关键词搜索,请把热榜信号和关键词搜索结果分开写。
MCP 工具
与上面 direct CLI 命令对应的 MCP 工具:
- XHS:
xhsgetsearchhotlist,xhssearchnotes,xhsgetnotedetailbynoteid,xhsgetnotecommentsbynoteid,xhsgetuserinfobyuserid,xhsgetuserpostednotesbyuserid,xhsgetnotedetailbynoteurl,xhsgetnotecommentsbynoteurl,xhsgetuserinfobyprofileurl,xhsgetuserpostednotesbyprofileurl,xhsgetnotesubcommentsbycomment_id - DOUYIN:
douyingethotsearchlist,douyinsearchvideos,douyingetvideodetailbyawemeid,douyingetvideocommentsbyawemeid,douyingetuserinfobysecuserid,douyingetuserpostedvideosbysecuserid,douyingetvideodetailbyurl,douyingetvideocommentsbyurl,douyingetuserinfobyprofileurl,douyingetuserpostedvideosbyprofileurl,douyingetuserseriesbysecuserid,douyingetuserseriesbyprofileurl,douyingetvideocommentrepliesbycommentid - KUAISHOU:
kuaishougethotsearchlist,kuaishousearchvideos,kuaishousearchusers,kuaishougetvideodetailbyphotoid,kuaishougetvideocommentsbyphotoid,kuaishougetuserinfobyuserid,kuaishougetuserpostedvideosbyuserid,kuaishougetvideodetailbyurl,kuaishougetvideocommentsbyurl,kuaishougetuserinfobyprofileurl,kuaishougetuserpostedvideosbyprofileurl,kuaishougetvideocommentrepliesbycomment_id - BILIBILI:
bilibilisearchvideos,bilibilisearcharticles,bilibiligetcontentdetailbyid,bilibiligetcontentcommentsbyid,bilibiligetuserinfobyuserid,bilibiligetuserpostedvideosbyuserid,bilibiligetuserpostedarticlesbyuserid,bilibiligetcontentdetailbyurl,bilibiligetcontentcommentsbyurl,bilibiligetcontentcommentrepliesbycommentid,bilibiligetcontentlikesandrepostsbypostid,bilibiligetcontentlikesandrepostsbyurl,bilibiligetuserinfobyprofileurl,bilibiligetuserpostedvideosbyprofileurl,bilibiligetuserpostedarticlesbyprofileurl,bilibiligetuserposteddynamicsbyuserid,bilibiligetuserposteddynamicsbyprofileurl - ZHIHU:
zhihugethotlist,zhihusearchcontent,zhihugetcontentdetailbyurl,zhihugetcontentcommentsbyurl,zhihugetuserinfobyprofileurl,zhihugetuserpostedarticlesbyprofileurl,zhihugetcommentrepliesby_url - INSTAGRAM:
instagramsearchposts,instagramgetpostdetailbypostid,instagramgetpostcommentsbyposturl,instagramgetuserinfobyusername,instagramgetuserpostsbyusername,instagramgetpostdetailbyposturl,instagramgetpostcommentrepliesbycommentid,instagramgetuserinfobyprofileurl,instagramgetuserpostsbyprofile_url - X:
xsearchposts,xgetpostdetailbypostid,xgetpostcommentsbypostid,xgetuserinfobyusername,xgetuserpostsbyusername,xgetpostdetailbyposturl,xgetpostcommentsbyposturl,xgetpostcommentrepliesbycommentid,xgetuserinfobyuserid,xgetuserinfobyprofileurl,xgetuserpostsbyuserid,xgetuserpostsbyprofile_url - YOUTUBE:
youtubesearchvideos,youtubegetvideodetailbyurl,youtubegetvideocommentsbyurl,youtubegetchannelinfobyurl,youtubegetuserpostedvideosbychannelurl,youtubegetvideocommentreplies - TIKTOK:
tiktoksearchposts,tiktokgetpostdetailbyurl,tiktokgetpostcommentsbypostid,tiktokgetuserinfobytiktokid,tiktokgetuserpostsbytiktokid,tiktokgetpostcommentsbyurl,tiktokgetpostcommentreplies,tiktokgetuserinfobyprofileurl,tiktokgetuserpostsbyprofileurl - WEIBO:
weibogethotsearchlist,weibosearchposts,weibogetpostdetailbypostid,weibogetpostcommentsbypostid,weibogetuserinfobyuserid,weibogetuserpostsbyuserid,weibogetpostdetailbyposturl,weibogetpostcommentsbyposturl,weibogetpostlikerlistbypostid,weibogetpostrepostlistbypostid,weibogetuserinfobyprofileurl,weibogetuserpostsbyprofileurl,weibogetpostcommentrepliesbycomment_id - WECHAT:
wechatgethotsearchlist,wechatsearchvideos,wechatgetvideodetailbyencryptedobjectid,wechatgetmparticledetailbyurl,wechatgetvideocommentsbyobjectid,wechatgetuserinfobyuserid,wechatgetuserpostedvideosbyuserid,wechatgetvideodetailbyurl,wechatgetvideocommentsbyurl,wechatgetvideocommentrepliesbycommentid,wechatgetuserpostedvideosby_url
仅 hosted MCP 可用、direct CLI 不包含的工具: douyinsearchusers, douyingetuserinfobydouyinid, weibogetpostlikerlistbyposturl, weibogetpostrepostlistbyposturl, wechatgetuserinfoby_url
上面自动列出的 MCP 工具名就是事实源;根据用户的平台和任务,优先选择最贴近的那个工具。 搜索翻页时,第一页不要传 pagetoken;继续同一条链路时,只能传完整返回的 nextpagetoken,后续续页都继续用 pagetoken。
小红书搜索参数命名提醒:direct CLI 使用 --sort-type、--publish-time-range、--note-type;MCP 工具 xhssearchnotes 使用 sorttype、publishtimerange、notetype。不要传 sortType、publishTimeRange 或 noteType。
安全边界
这是只读 skill。运行时使用用户环境变量中的 SOCIALDATAXAPIKEY;生成的 Skill 文件不包含 API Key。不会读取本地浏览器数据,也不会执行登录、发帖、点赞、评论或账号修改。
示例结果
- 示例展示格式,不代表固定字段:热榜=排名/话题/热度信号、内容样本=标题/作者/链接或 ID、详情=正文/作者/发布时间/互动指标、评论=内容/用户/时间/回复线索、候选账号=昵称/ID/粉丝信号、账号=昵称/ID/简介/粉丝信号、账号内容=标题/发布时间/互动信号、互动记录=用户/时间/动作;判断=相关原因和下一步。
异常处理
- 如果出现 SDK/依赖缺失、npm 网络、Node.js/npm/npx 不可用或执行权限错误:这是本地运行环境、依赖安装、网络或 AI 平台授权问题,不是 SocialDataX API Key 或业务数据返回错误;有权限时可自动安装或修复;需要网络或执行授权时提醒用户同意或完成授权;处理后继续原命令;不要改用公开网页搜索替代 SocialDataX 数据。
- 非余额不足且非限流的网络或 API 异常:保留错误信息,检查
SOCIALDATAXAPIKEY、参数和链接格式后原样重试一次。 - 如果返回
insufficient_balance或“积分不足”:不要重复重试;把错误里的充值链接原样展示给用户,并提醒用户充值后继续执行刚才同一条命令。 - 如果用户已经充值但仍提示余额不足:确认当前环境变量
SOCIALDATAXAPIKEY是否来自刚充值的同一个账号;必要时重新复制官网后台的 API Key。 - 批量处理:默认按队列逐条处理;用户明确需要批量效率时,最多同时处理 3 条。每完成 1 条,就继续处理下一条,不要一次性发起大量请求。遇到
ratelimited或“请求过于频繁”时,不要放弃任务;先停止发起新的请求,按返回的等待时间等待,没有等待时间就先等待 2 秒,然后继续处理当前队列。等待期间已完成的结果要保留;恢复后继续从未完成的位置处理。遇到insufficientbalance或“积分不足”时,立即停止后续请求,输出已获得结果,并提示充值或切换有余额的 API Key 后继续。 - 分页中断:保留已取得的结果;重试仍失败:说明当前调用不可用,请用户补充或更换关键词、链接、ID 等输入后再重试。
常见问题
- 没结果:放宽关键词、减少限定,或换成更贴近用户表达的词。
- 结果太多:补场景、人群、品牌、时间范围或账号名。
- 调用失败:先确认
SOCIALDATAXAPIKEY已配置;如果是insufficient_balance或“积分不足”,按错误里的充值链接充值后继续原命令,不要反复重试。 - 担心账号安全:这是只读能力,不登录、不发帖、不点赞、不评论。
- 想继续分析:把最相关的 1-3 条结果发回来,继续缩小范围。