One-sentence value proposition: First use Agent Reach to search content across the web, and if it cannot find anything, use the Guaikei API as a fallback, unifying Xiaohongshu, Bilibili, and extensible Douyin content search into one CLI.
1. Skill Overview
The access order for this Skill is:
- Prefer using read-only backends in the Agent Reach ecosystem
- When Agent Reach has no available Xiaohongshu backend, then try the Guaikei API as a fallback
- If not configured
GUAIKEI_API_TOKEN, prompt the user to configure it, rather than directly failing with an unknown error
Current backends:
- Xiaohongshu:
opencli xiaohongshu、xiaohongshu-mcporxhs-cli - Xiaohongshu fallback:
GUAIKEI_API_TOKEN - Bilibili:
bili-cli、opencli bilibilior Bilibili public search/detail API - Douyin: Agent Reach currently has no built-in channel, reserved
DOUYIN_COMMANDcustom read-only CLI adaptation
2. Core Capabilities
| Use Case | Specific Value |
|---|---|
| Content creation topic selection | Enter keywords to search popular content across platforms and quickly find topic directions |
| Competitor monitoring | Enter a creator's homepage link to view public works and content direction |
| Comment/detail analysis | Read note or video details, and scrape comments when necessary |
| Trend insights | Use the same command to compare content distribution on Xiaohongshu, Bilibili, and Douyin |
3. Quick Start
3.1 Xiaohongshu keyword search
node src/xiaohongshu/search-cli.js --platform xiaohongshu --keyword "夏季穿搭" --limit 10
3.2 Xiaohongshu note details and comments
node src/xiaohongshu/detail-cli.js \
--platform xiaohongshu \
--url "https://www.xiaohongshu.com/explore/xxx?xsec_token=yyy" \
--limit 100
3.3 Xiaohongshu blogger works
node src/xiaohongshu/post-cli.js \
--platform xiaohongshu \
--url "https://www.xiaohongshu.com/user/profile/xxx?xsec_token=yyy" \
--limit 20
3.4 Bilibili search and video details
node src/xiaohongshu/search-cli.js --platform bilibili --keyword "AI编程" --limit 10
node src/xiaohongshu/detail-cli.js --platform bilibili --url "BVxxxx"
3.5 Douyin extension entry
The current version of Agent Reach has no Douyin channel. If you have a local read-only CLI, you can integrate it like this:
export DOUYIN_COMMAND="/path/to/douyin-readonly-cli"
node src/xiaohongshu/search-cli.js --platform douyin --keyword "AI工具"
The CLI needs to support:
$DOUYIN_COMMAND search <keyword> --limit <n>
$DOUYIN_COMMAND detail <url-or-id>
$DOUYIN_COMMAND user <user-url-or-id> --limit <n>
4. Backend Check
Before use, it is recommended to run:
agent-reach doctor --json
If Xiaohongshu shows active_backend: null, the tool will continue checking GUAIKEI_API_TOKEN:
export GUAIKEI_API_TOKEN="your_api_token_here"
After configuration, Xiaohongshu search, details, and blogger works will use the Guaikei API fallback.
5. Important Limitations
- This tool only reads public data and does not support write operations such as posting, commenting, or liking.
- Xiaohongshu is subject to
xsec_tokenmechanism restrictions; for detail pages, it is recommended to use the complete URL returned by search results. - The Guaikei API is only used as a Xiaohongshu fallback and will not replace the Bilibili or Douyin backends.
- The Bilibili public API does not guarantee stability for all detail fields; after installing
bili-clicapabilities are more complete. - Douyin is currently an extension slot and does not come with a built-in available backend in the repository.
- All task results are automatically saved to
logs/, and this directory is not committed by default.
For more options, see Complete Option Descriptions。