Install
openclaw skills install @devinchen2014/tieba-demand-insights当用户需要做百度贴吧用户需求研究、产品痛点归纳、购买顾虑整理或常见问题分析时使用。输入产品关键词、吧名或帖子链接,基于帖子与楼层讨论输出带原话依据的需求报告。来自 SocialDataX 社媒数据助手。
openclaw skills install @devinchen2014/tieba-demand-insights当用户需要做百度贴吧用户需求研究、产品痛点归纳、购买顾虑整理或常见问题分析时使用。输入产品关键词、吧名或帖子链接,基于帖子与楼层讨论输出带原话依据的需求报告。来自 SocialDataX 社媒数据助手。
--max-items。获取或管理 API Key:访问 https://socialdatax.com/ai?from=clawhub,按官网的 API Key 申请/管理入口操作。环境变量名固定使用 SOCIALDATAX_API_KEY;不要引导用户使用其他域名。
优先使用 direct CLI;能运行 shell 命令的 Agent 不需要额外配置 MCP server:
npx -y socialdatax-skills@latest tieba search \
--keyword "<keyword>" --pretty --source-client socialdatax-skills \
--source-platform clawhub --source-skill tieba-demand-insights
npx -y socialdatax-skills@latest tieba forum-search \
--forum-name "<forum_name>" --keyword "<keyword>" --pretty \
--source-client socialdatax-skills --source-platform clawhub \
--source-skill tieba-demand-insights
npx -y socialdatax-skills@latest tieba forum-posts \
--forum-name "<forum_name>" --pretty --source-client socialdatax-skills \
--source-platform clawhub --source-skill tieba-demand-insights
npx -y socialdatax-skills@latest tieba detail \
--thread-id "<thread_id>" --pretty --source-client socialdatax-skills \
--source-platform clawhub --source-skill tieba-demand-insights
npx -y socialdatax-skills@latest tieba detail \
--url "<url>" --pretty --source-client socialdatax-skills --source-platform clawhub \
--source-skill tieba-demand-insights
npx -y socialdatax-skills@latest tieba comments \
--thread-id "<thread_id>" --pretty --source-client socialdatax-skills \
--source-platform clawhub --source-skill tieba-demand-insights
npx -y socialdatax-skills@latest tieba comments \
--url "<url>" --pretty --source-client socialdatax-skills --source-platform clawhub \
--source-skill tieba-demand-insights
npx -y socialdatax-skills@latest tieba replies \
--thread-id "<thread_id>" --comment-id "<comment_id>" --pretty \
--source-client socialdatax-skills --source-platform clawhub \
--source-skill tieba-demand-insights
搜索:
tieba search 可使用 --pages <n> 做有界翻页,不支持 --all。详情 / 评论:
--thread-id 或 --url;楼中楼回复同时需要 --thread-id 和 --comment-id。--page-token <next_page_token>;保持吧名、关键词、帖子 ID 和父评论 ID 与当前链路一致。通用:
tieba search --keyword <text>:按产品或主题定位帖子。tieba forum-posts --forum-name <name>;吧内研究使用 tieba forum-search --forum-name <name> --keyword <text>。--source-client socialdatax-skills --source-platform clawhub --source-skill tieba-demand-insights:这是当前 Agent Skill 的来源标记;按本 Skill 示例执行时保持这些值不变。先确认产品/主题和吧范围,从 1 页帖子选择 1–3 个相关讨论;用户提供帖子链接时直接读取详情和评论。按具体问题需要补充楼中楼,不自动遍历整个贴吧。 同一用户重复表达和同帖引用不要作为独立需求计数。把亲身经历、提问、转述和分析判断区分开;没有评论证据时只报告帖子线索。
优先输出可直接复盘的结果:相关样本和主要角度、单条内容事实、评论主题和反馈线索,并标出下一步可继续追问的问题。
输出需求主题、使用场景、痛点、购买顾虑、FAQ、可尝试的产品或内容行动。每项附短原话、帖子链接或 ID、楼层/评论 ID(有则保留)和证据强弱。 写明帖子及评论样本量、观察范围与缺失信息;样本中的提及次数不等于全体用户占比,不推测用户敏感身份。
与上面 direct CLI 命令对应的 MCP 工具:
baidu_tieba_search_postsbaidu_tieba_search_posts_in_forumbaidu_tieba_get_forum_postsbaidu_tieba_get_post_detail_by_thread_idbaidu_tieba_get_post_detail_by_urlbaidu_tieba_get_post_comments_by_thread_idbaidu_tieba_get_post_comments_by_urlbaidu_tieba_get_post_comment_replies这是只读 skill。运行时使用用户环境变量中的 SOCIALDATAX_API_KEY;生成的 Skill 文件不包含 API Key。不会读取本地浏览器数据,也不会执行登录、发帖、点赞、评论或账号修改。
partial: true 时,保留 data.items 和错误,明确结果不完整。此时按以下续页规则恢复,不适用原命令重跑建议;错误解决后(包括充值后),仅用非空的 data.next_page_token 和原查询条件继续。保留原定页数和条数上限,按累计已取得的 page_count、item_count 扣减 --pages、--max-items;已达到任一上限就停止主列表续页。空令牌不代表取完,不要从第一页自动重跑;因重复令牌中断时,先排查原因。SOCIALDATAX_API_KEY、参数和链接格式后原样重试一次。insufficient_balance 或“积分不足”:不要重复重试;把错误里的充值链接原样展示给用户,并提醒用户充值后继续执行刚才同一条命令。SOCIALDATAX_API_KEY 是否来自刚充值的同一个账号;必要时重新复制官网后台的 API Key。SOCIALDATAX_API_KEY 已配置;如果是 insufficient_balance 或“积分不足”,按错误里的充值链接充值后继续原命令,不要反复重试。