Preface¶
When conducting Douyin content research, the comment section often reflects genuine user attitudes better than playback data: skepticism, product seeding (recommendations), complaints, and follow-up questions are all concentrated in first-level comments and nested replies. Manual copy-pasting is slow, and making paginated or structured summaries is difficult; writing your own crawler involves handling link parsing, pagination tokens, and compliance boundaries.
Below is an introduction to the community Skill on SkillHub, “Douyin Comment Analysis SocialDataX Comment Insights.” It encapsulates the capabilities of the SocialDataX social media data assistant into an Agent-readable SKILL.md. Once the API Key is configured, it can be used via CLI or MCP to read-only retrieve first-level comments and comment replies for specified works, allowing models to perform feedback summarization, pain point analysis, and discussion topic analysis.
What is this¶
Douyin Comment Analysis SocialDataX Comment Insights (Coordinates: @user_825d9e7e/socialdatax-douyin-comments, current version 1.0.3) is a Skill from the SkillHub community source, categorized as data-analysis, published by user_825d9e7e.
The official description states: Used for Douyin comment analysis, Douyin comment replies, Douyin comment insights, user feedback, reputation analysis, pain point summarization, and content discussion analysis; covering Douyin comments and comment replies, with data capabilities provided by the SocialDataX Social Media Data Assistant. The page tag requires_api_key=true indicates that a self-provided SocialDataX API Key is required before use.
Compared to “Full-package Douyin Data Assistant” type Skills, this Skill focuses on comment threads: the first-level comment list, replies under specified comments, and paginated continuation. It is suitable for extracting “listening to what users are saying” from work details for standalone use.
Core Features¶
Verified capabilities based on the SKILL.md within the Skill package:
- First-level Comments: Retrieve first-level comments for a work when the
aweme_idor Douyin content page URL / short link / share text is known. - Comment Replies: Retrieve replies under a specific comment when the Work ID and the first-level comment
comment_idare known. - Pagination: Comments and replies support
page_token; thenext_page_tokenreturned by the previous page must be passed back as is, and tokens must not be reused across different works or different first-level comments. - Two Invocation Surfaces:
- Direct CLI (Recommended):
npx socialdatax-skills, no separate MCP configuration needed. - MCP Tools (If the current Agent is connected):
douyin_get_video_comments_by_aweme_id,douyin_get_video_comments_by_url,douyin_get_video_comment_replies_by_comment_id.
- Direct CLI (Recommended):
- Read-only Boundary: Does not read local browser data, does not store API Keys, and does not support write operations such as login, posting, liking, commenting, or modifying accounts.
Suggested model-side output (see Skill description): First categorize comments by observed topics, then infer sentiment or needs; state whether the result is single-page or multi-page; empty comments can also be a successful result.
Installation and Activation¶
1. Install SkillHub CLI (if not already installed)¶
Check or install the CLI according to the SkillHub Installation Documentation:
command -v skillhub && skillhub --version
If not installed, run the officially recommended one-click installation (fully including CLI and default Skills):
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
2. Install this Skill to the current Agent’s skills directory¶
The installation prompt provided on the SkillHub page is: Install @user_825d9e7e/socialdatax-douyin-comments based on https://skillhub.cn/install/skillhub.md.
The installation command shown in CLI search results is (must use --dir to point to the skills directory recognized by the current Agent, otherwise it defaults to ./skills/ which may not be loaded):
skillhub install socialdatax-douyin-comments --namespace user_825d9e7e --dir <skills directory>
Common path examples (from SkillHub installation documentation):
- Cursor:
~/.cursor/skills/ - Claude Code:
~/.claude/skills/ - Codex:
~/.codex/skills/or.agents/skills/under the project
After installation, restart or refresh the Agent according to your client’s requirements to enable the Skill.
3. Configure SocialDataX API Key¶
The Skill metadata requires the environment variable SOCIALDATAX_API_KEY and depends on local node and npm (the CLI calls the npm package socialdatax-skills via npx).
Official entry for applying or managing Keys (the only designated domain in the Skill):
https://socialdatax.com/?from=skillhub
Export in your shell or Agent runtime environment:
export SOCIALDATAX_API_KEY="your_key"
Typical Usage¶
Provided the Agent has enabled this Skill and configured SOCIALDATAX_API_KEY, you can directly ask the Agent to execute the following commands (consistent with SKILL.md).
Fetch first-level comments by Work ID:
npx -y socialdatax-skills@latest douyin comments --aweme-id "<aweme_id>" --pretty
Fetch first-level comments by content link or share text:
npx -y socialdatax-skills@latest douyin comments --url "<douyin_content_url_or_share_text>" --pretty
Fetch replies under a specific first-level comment (requires both Work ID and first-level comment ID):
npx -y socialdatax-skills@latest douyin replies --aweme-id "<aweme_id>" --comment-id "<comment_id>" --pretty
Parameter conventions (excerpted from Skill description):
commentscommand: Choose either--aweme-idor--url, do not pass both.repliescommand: Use--aweme-idand--comment-id.- Do not use playback addresses like
video.play_urlin place of the content page URL. - When paginating, add
--page-token "<next_page_token>"; the token must come from the previous page response and must not be reused across different content.
Examples for the conversational side (natural language, Agent selects CLI or MCP):
- “This is a Douyin share link, help me fetch first-level comments and summarize user feedback by topic.”
- “Given the aweme_id and this comment_id, fetch all nested replies (continue if there is a next_page_token).”
- “Based on the comment content, summarize reputation controversies and user pain points, noting that only the first page has been analyzed.”
Scenarios and Notes¶
Who is it for
- Content operations, product, and growth teams: To conduct comment insights, FAQ compilation, and opposition opinion analysis for specific viral hits or competitor works.
- Users in environments like Cursor, Claude Code, Codex that support Skills, who want to use a unified Skill to constrain invocation methods rather than writing interface documentation manually every time.
Limitations and Notes
- Payment/Quota: Relies on the SocialDataX API; Key and billing are subject to the official website.
- Read-only: Cannot post comments or interact on behalf of users; analysis conclusions need to be combined with business context, the Skill is only responsible for data retrieval and invocation standards.
- Pagination: Comments on very popular works are numerous;
page_tokenneeds to be looped; tokens are bound to the current work or current first-level comment. - SkillHub Statistics (based on scraped data, 2026-10-21): Rating 100000, Downloads 2196, Install Count 0; actual usage depends on whether it is installed to the correct skills directory locally.
- If
skillhub installis missing--namespace user_825d9e7e, it may be inconsistent with community coordinate resolution; it is recommended to keep consistent with the install command in search results.
Conclusion¶
Douyin Comment Analysis SocialDataX Comment Insights writes the read-only retrieval of Douyin first-level comments and replies into an Agent Skill: install the Skill, configure SOCIALDATAX_API_KEY, and you can use the socialdatax-skills CLI or MCP to fetch data, allowing models to perform feedback and discussion analysis.
- SkillHub Page: https://www.skillhub.cn/skills/user_825d9e7e/socialdatax-douyin-comments
- API Resource Page: https://api.skillhub.cn/user_825d9e7e/socialdatax-douyin-comments
- SocialDataX API Key: https://socialdatax.com/?from=skillhub