Introduction¶
When managing Douyin content operations or conducting brand research, a common practice is to manually scroll through the App, take screenshots, or copy links sporadically, then compile them into tables. Once the trend fades, the cost of cross-referencing account works and comments becomes high, and it is also not conducive to drawing conclusions directly within an Agent conversation.
Below is an introduction to the SkillHub community Skill “抖音竞品智析” (Douyin Competitor Analysis, located at @user_fb71c45d/douyin-jingpin-zhixi). It encapsulates keyword search, influencer works, video comments, and real-time hot rankings into executable commands. The Agent calls them according to SKILL.md, making it suitable for scenarios where structured public data is needed rather than relying solely on visually scanning rankings.
What Is This¶
“抖音竞品智析” is a Skill for acquiring and analyzing Douyin public data, version 1.0.0, sourced from the community, published by user_fb71c45d, and categorized as data-analysis on SkillHub.
Official description: An intelligent tool for acquiring Douyin public data; applicable for Douyin content research, topic selection, trend observation, competitor content comparison, trend judgment, or material compilation, aimed at content operators, brand researchers, and creators.
The SkillHub page is marked with requires_api_key=true, and a third-party API credential must be configured before running (see GUAIKEI_API_TOKEN below).
Core Features¶
The following capabilities come from the SKILL.md and accompanying script descriptions within the Skill package, and can be verified after installing @user_fb71c45d/douyin-jingpin-zhixi via skillhub install.
- Keyword Search: Search videos by
--keyword, supporting comprehensive / most likes / latest published sorting (--sort0/1/2), time range (--time0/1/7/180), duration filtering (--duration), and--limit(1–10000, default 10). - Influencer Works List: Batch fetch public works via a Douyin user homepage URL or
sec_uid(post-cli.js --url), used for benchmarking account content strategies. - Work Comments: Fetch comments for a video or image-text URL /
aweme_id(comment-cli.js), used for sorting out public sentiment and feedback directions. - Real-time Hot Ranking: Run
hot-cli.jswithout parameters to obtain the platform’s trending search list, corresponding to the Skill sidebar text “Real-time grasp of platform hotspots, quick response to trending topics.” - Result Persistence: Execution results are written to JSON in the
logsdirectory under the skill directory, facilitating secondary analysis or handoff to the Agent for summarization.
Runtime environment requirements: node is installed locally (Skill metadata specifies nodejs@16.14.0+), and public data can be fetched without logging into a personal Douyin account (as stated in the Skill documentation).
Installation and Activation¶
Install SkillHub CLI¶
If the CLI is not yet installed, you can first check the version; if not installed, follow the SkillHub installation documentation for a full installation or CLI only:
command -v skillhub && skillhub --version
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
Install This Skill¶
When installing, you must use --dir to point to the current Agent’s skills directory; otherwise, it will default to ./skills/, which may not be recognized. Common paths for Cursor are ~/.cursor/skills/.
skillhub install douyin-jingpin-zhixi --namespace user_fb71c45d --dir ~/.cursor/skills/
You can also have the AI install it in a conversation according to the official prompt: refer to https://skillhub.cn/install/skillhub.md and install @user_fb71c45d/douyin-jingpin-zhixi.
Configure API Token¶
After enabling TOKEN at https://www.guaikei.com, set the environment variable GUAIKEI_API_TOKEN, otherwise the script will report permission-related errors. Example:
export GUAIKEI_API_TOKEN=your_TOKEN
On Windows, you can use set GUAIKEI_API_TOKEN=your_TOKEN. After installing the Skill, run the following command within the skill directory (path subject to your local ~/.cursor/skills/@user_fb71c45d/douyin-jingpin-zhixi).
Typical Usage¶
After entering the installed Skill root directory, the Agent or direct local execution can reproduce the following official examples (placeholder URLs need to be replaced with real links).
Keyword Search (Basic):
node scripts/douyin/search-cli.js --keyword "AI"
Find High-Engagement Content Sorted by Likes:
node scripts/douyin/search-cli.js --keyword "AI" --sort 1
Keyword Results from the Last 7 Days:
node scripts/douyin/search-cli.js --keyword "AI 模型" --time 7
Fetch Public Works of Benchmark Accounts:
node scripts/douyin/post-cli.js --url "https://www.douyin.com/user/MS4wLjABxxx"
Fetch Comments of a Single Video:
node scripts/douyin/comment-cli.js --url "https://www.douyin.com/video/xxx"
View Real-time Hot Ranking:
node scripts/douyin/hot-cli.js
In clients like Cursor, a more common usage is to describe the task in natural language (e.g., “search for high-likes AI tutorial videos from the past week and compare a certain account’s works”), and the Agent will read SKILL.md to select the corresponding CLI and parameters. Input and output can also be cross-referenced with the skill’s assets/*_cli_*.schema.json (JSON Schema draft-07).
Use Cases and Notes¶
Who It Is For
- Operators and researchers who need to systematically conduct Douyin topic selection, competitor account comparison, trend tracking, or comment sentiment analysis.
- Teams that want to directly call commands within an Agent workflow, export JSON, and then generate reports.
Limitations and Notes
- Only supports public data; does not include private or hidden content.
- Depends on
GUAIKEI_API_TOKENand the Guaikei service; do not leak the Token. The Skill documentation requires that data be limited to personal or internal team use, and unauthorized distribution is prohibited. - If search results are empty, try a more common keyword or set
--timeto0(all time); the log file naming rule can be found in the FAQ section ofSKILL.md. - SkillHub crawled information (as of the page display): rating 100000, downloads 2217, install count 0; subject to the real-time SkillHub page.
Conclusion¶
“抖音竞品智析” consolidates Douyin public-side search, account works, comments, and hot rankings into a unified set of Node commands, facilitating content research and competitor observation within an Agent without relying entirely on manual ranking scanning.
Official Entry Points:
- SkillHub: https://www.skillhub.cn/skills/user_fb71c45d/douyin-jingpin-zhixi
- API Coordinate Page: https://api.skillhub.cn/user_fb71c45d/douyin-jingpin-zhixi