Use this skill when the user wants Xiaohongshu / XHS / RedNote(小红书)comment insight, reply review, audience feedback, sentiment themes, objections, pain points, FAQ extraction, or discussion summaries.
Use SOCIALDATAX_API_KEY for SocialDataX requests. To get or manage an API Key, open
获取或管理 API Key:访问 SOCIALDATAX_API_KEY;不要引导用户使用其他域名。
Prefer the direct CLI when the agent can run shell commands. It does not require MCP server configuration:
npx -y socialdatax-skills@latest xhs comments --note-id "<note_id>" --pretty
npx -y socialdatax-skills@latest xhs comments --url "<note_url_or_share_text>" --pretty
npx -y socialdatax-skills@latest xhs sub-comments --note-id "<note_id>" --comment-id "<comment_id>" --pretty
Required arguments:
--note-id : preferred when the note ID is already known and should anchor the comment thread.--url : use for a note page URL, short link, or share text for first-level comments.--comment-id : required for reply commands; use the first-level comment ID under the same note.Optional arguments:
--page-token : opaque pagination token returned by the previous page.--pretty: output formatting only; it does not change the note or returned comments.For comments, use either --note-id or --url, not both. For sub-comments, use --note-id together with --comment-id.
This skill is read-only. It does not read local browser data, does not save API keys, and does not perform login, posting, liking, commenting, or account changes.
If MCP tools are already available in the current agent, use the narrowest matching XHS comment tool:
xhs_get_note_comments_by_note_id: use when the note ID is known.xhs_get_note_comments_by_note_url: use for note URLs, short links, or share text.xhs_get_note_sub_comments_by_comment_id: use when the note ID and first-level comment ID are known.Continue pagination only when a returned next-page token is present, and keep the same note and comment target while changing only the page token.
Summarize visible comment evidence before interpretation. Group findings by recurring themes, audience needs, objections, pain points, FAQ candidates, memorable wording, and practical next steps. Mention whether the result covers one page or multiple pages.
共 2 个版本