360 Secure SkillHub
360 安全技能中心

知乎数据助手 SocialDataX

这是一款知乎数据助手工具,核心功能涵盖热榜查看、内容搜索、问答/文章/视频详情查询、评论及回复分析、创作者资料与发布文章列表获取。适用于内容调研、创作者研究、热点追踪等场景。支持通过CLI命令或MCP工具调用,需配置SOCIALDATAX_API_KEY,输出结构化数据。工具为只读模式,无需登录知乎账号,仅获取公开数据。

devinchen2014
devinchen2014
热度 7.65
最近更新 2026-08-29 22:47:50
分类:数据依赖:代码执行 / 第三方 API / MCP 服务应用场景:社交媒体 / 数据处理 / 研究

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add socialdatax-zhihu
Metadata
name
socialdatax-zhihu
description
用于知乎数据助手、知乎热榜、内容搜索、回答文章视频详情、评论分析、创作者资料和文章列表。覆盖 Zhihu content research,来自 SocialDataX 社媒数据助手。
source_client
socialdatax-skills
source_platform
clawhub
source_skill
socialdatax-zhihu
metadata
{"openclaw":{"requires":{"env":["SOCIALDATAX_API_KEY"],"bins":["node","npm"]},"primaryEnv":"SOCIALDATAX_API_KEY","install":[{"kind":"node","package":"socialdatax-skills","bins":[]}],"emoji":"💡","homepage":"https://socialdatax.com/ai?from=clawhub"}}

知乎数据助手 SocialDataX

Use this skill when the user needs a Zhihu / 知乎 data assistant for hot-list review, answer, article, or video research, content details, comments, creator profiles, or creator article lists.

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 zhihu hot-list \
  --pretty --source-client socialdatax-skills --source-platform clawhub \
  --source-skill socialdatax-zhihu

npx -y socialdatax-skills@latest zhihu search \
  --keyword "<keyword>" --pretty --source-client socialdatax-skills \
  --source-platform clawhub --source-skill socialdatax-zhihu

npx -y socialdatax-skills@latest zhihu search \
  --keyword "<keyword>" --pages 3 --pretty --source-client socialdatax-skills \
  --source-platform clawhub --source-skill socialdatax-zhihu

npx -y socialdatax-skills@latest zhihu detail \
  --content-url "<zhihu_content_url_or_share_text>" --pretty \
  --source-client socialdatax-skills --source-platform clawhub \
  --source-skill socialdatax-zhihu

npx -y socialdatax-skills@latest zhihu comments \
  --content-url "<zhihu_content_url_or_share_text>" --pretty \
  --source-client socialdatax-skills --source-platform clawhub \
  --source-skill socialdatax-zhihu

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 clawhub \
  --source-skill socialdatax-zhihu

npx -y socialdatax-skills@latest zhihu user-info \
  --profile-url "<profile_url_or_share_text>" --pretty \
  --source-client socialdatax-skills --source-platform clawhub \
  --source-skill socialdatax-zhihu

npx -y socialdatax-skills@latest zhihu user-posts \
  --profile-url "<profile_url_or_share_text>" --pretty \
  --source-client socialdatax-skills --source-platform clawhub \
  --source-skill socialdatax-zhihu

npx -y socialdatax-skills@latest zhihu user-posts \
  --profile-url "<profile_url_or_share_text>" --all --pretty \
  --source-client socialdatax-skills --source-platform clawhub \
  --source-skill socialdatax-zhihu

Required arguments:

  • Zhihu hot-list: no required arguments.

Optional arguments:

  • --source-client socialdatax-skills --source-platform clawhub --source-skill socialdatax-zhihu: usage attribution for this Agent Skill; keep these values unchanged when running examples from this Skill.

Use hot-list for 知乎热榜, search for question, answer, article, and video research, detail for one content URL, comments/replies for discussion analysis, user-info for creator profiles, and user-posts for creator article lists. For replies, use the Zhihu content URL together with 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:

  • zhihu_get_hot_list
  • zhihu_search_content
  • zhihu_get_content_detail_by_url
  • zhihu_get_content_comments_by_url
  • zhihu_get_comment_replies_by_url
  • zhihu_get_user_info_by_profile_url
  • zhihu_get_user_posted_articles_by_profile_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.
  • 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_balance or 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_KEY belongs to the same account that was recharged; if needed, copy a fresh API Key from the official dashboard.