Preface¶
When conducting topic selection or competitive analysis for Douyin, a common practice is to manually browse rankings and record links by opening the App or third-party dashboards, and then ask AI to help write summaries. If the rankings and samples are not within the same pipeline, the conversation often lacks traceable IDs, links, and metrics, making conclusions difficult to review. Below is an introduction to the community Skill “Douyin Trend Insights” on SkillHub. It integrates Douyin hot list queries and keyword searches into Agent workflows, allowing the model to call CLI or MCP according to the SKILL protocol and output structured results with evidence.
What is this¶
“Douyin Trend Insights” is an Agent-oriented Skill coordinated as @user_825d9e7e/douyin-trend-insights. Its current version is 1.0.9, sourced from the community, categorized under data-analysis, and maintained by the publisher user_825d9e7e. The Skill’s data capabilities are powered by SocialDataX (socialdatax-skills) and require the configuration of SOCIALDATAX_API_KEY in the environment; the SkillHub page marks requires_api_key=true.
When a user needs to perform Douyin trend insights, observe hot topics, judge content directions, summarize trend clues, or organize marketing inspiration, the Agent will select this Skill according to the SKILL instructions. The primary target audience includes content operations, brand researchers, and creators.
Core Functions¶
The following capabilities are derived from the Skill’s SKILL.md documentation. They represent read-only data queries and do not involve login, posting, or interactive operations.
Douyin Hot List¶
Fetch the current hot list via douyin hot-search (or the MCP tool douyin_get_hot_search_list). This command has no required parameters and is suitable for scenarios where you want to “first see what topics the platform is promoting.”
Keyword Search for Videos/Image-Text¶
Search content by keyword via douyin search --keyword <text> (or MCP douyin_search_videos), with selectable filters:
- Sort:
general,time_descending,like_count_descending - Publish time:
all,day,week,half_year - Duration:
all,under_1_minute,one_to_five_minutes,over_5_minutes - Content type:
all,video,image
Pagination is supported via --pages, --max-items, and next_page_token. The command returns JSON containing fields like platform, tool, arguments, and data. In multi-page scenarios, results are merged into data.items.
Output and Collaboration¶
The Skill recommends that the Agent present hot list signals and keyword search results separately, preserving rank, title, author, link/content ID, metrics, and publish time. This facilitates follow-up questions or scope reduction by the user. The local environment must have Node.js, npm, npx, and the npm package socialdatax-skills installed (an install dependency listed in the Skill metadata).
Installation and Activation¶
Method 1: Let AI Install via SkillHub Documentation¶
In clients supporting Skills, such as Cursor or Claude Code, you can provide the prompt given on the official page to the Agent, asking it to read the installation instructions and install the specified coordinate:
Please install `@user_825d9e7e/douyin-trend-insights` based on https://skillhub.cn/install/skillhub.md.
Method 2: Use the skillhub CLI¶
If skillhub is already available on your machine, you must use --dir to point to the current Agent’s skills directory during installation; otherwise, the default installation to ./skills/ might not be recognized. Common paths are ~/.cursor/skills/ for Cursor, ~/.claude/skills/ for Claude Code, and ~/.codex/skills/ or .agents/skills/ in the project for Codex (see the SkillHub Installation Documentation for the full list).
skillhub install douyin-trend-insights --namespace user_825d9e7e --dir ~/.cursor/skills/
If the CLI is not installed, you can install it via the official installation script as described in the same documentation.
API Key and Environment Variables¶
Apply for or manage your API Key on the SocialDataX AI Page and set it in your runtime environment:
export SOCIALDATAX_API_KEY="your_key"
The Skill does not write the Key into generated files; it uses the variables from the user’s environment during invocation.
Typical Usage¶
Agents capable of executing shell commands should prioritize the direct CLI route, avoiding the need to configure a separate MCP Server. The following two commands are from the official Skill examples; please keep the source tag parameters consistent with the Skill.
Query the current Douyin hot list:
npx -y socialdatax-skills@latest douyin hot-search \
--pretty --source-client socialdatax-skills --source-platform skillhub \
--source-skill douyin-trend-insights
Search by keyword (replace <keyword> with the actual search term):
npx -y socialdatax-skills@latest douyin search \
--keyword "<keyword>" --pretty --source-client socialdatax-skills \
--source-platform skillhub --source-skill douyin-trend-insights
A typical workflow in a conversation might be: first clarify whether you want to view the hot list or search for a specific topic; if only previewing samples, fetch 1 page first; if more results are needed, add --pages or --max-items based on parameters. If the Agent is already connected to the corresponding MCP, it can also call douyin_get_hot_search_list or douyin_search_videos, as the parameter semantics are consistent with the CLI.
Use Cases and Notes¶
Target Audience: Content operators, brand researchers, and creators who need to incorporate Douyin hot lists and keyword search results into Agent conversations; scenarios requiring output with links, IDs, and metrics for easy review.
Dependencies and Limitations:
- A valid
SOCIALDATAX_API_KEYmust be configured. In case of insufficient balance (insufficient_balance), do not retry repeatedly; follow the recharge instructions in the error message. - Depends on Node/npm and network connectivity. Failures in fetching packages via SDK or npx are local environment issues; the Skill documentation does not recommend switching to public web search to replace the SocialDataX data source.
- Read-only capabilities only; does not read local browser data or perform account write operations.
- When continuing pagination, the complete
next_page_tokenmust be passed exactly as received; it cannot be truncated or modified.
SkillHub Statistics (based on community page crawls): Rating 100000, Downloads 5002. If the Agent does not load the new Skill after installation, please refresh or restart according to the client’s instructions.
Conclusion¶
“Douyin Trend Insights” encapsulates Douyin hot lists and filterable keyword searches into an Agent Skill. It enables trend observation and sample collection within a unified conversation, emphasizing traceable fields and read-only security boundaries. For installation and details, see the SkillHub official page: https://www.skillhub.cn/skills/user_825d9e7e/douyin-trend-insights; for API resources, see: https://api.skillhub.cn/user_825d9e7e/douyin-trend-insights.