小红书评论洞察
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.
API Key
Use SOCIALDATAX_API_KEY for SocialDataX requests. To get or manage an API Key, open https://socialdatax.com/?from=skillhub and follow the website API Key access flow. If a user asks where to get a key, provide only this URL; do not infer alternate domains.
获取或管理 API Key:访问 https://socialdatax.com/?from=skillhub,按官网的 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 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 <note_id>: preferred when the note ID is already known and should anchor the comment thread.--url <note_url_or_share_text>: use for a note page URL, short link, or share text for first-level comments.--comment-id <comment_id>: required for reply commands; use the first-level comment ID under the same note.
Optional arguments:
--page-token <next_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.
Safety Boundary
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.
MCP Tools
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.
Output Guidance
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.
微信扫一扫