/install content-analyzer
Content Analyzer
Analyze Xiaohongshu (小红书) notes and Douyin (抖音) videos via TikHub API.
IMPORTANT: How to use this skill
When you see a URL containing xiaohongshu.com, xhslink.com, douyin.com, or v.douyin.com, you MUST:
- Extract the URL from the user's message
- Run the analysis script using the
exectool:
python3 ~/.openclaw/skills/content-analyzer/scripts/analyze.py "\x3CURL>"
- Parse the JSON output and generate the analysis below
The script path is absolute: ~/.openclaw/skills/content-analyzer/scripts/analyze.py
For profile analysis with limited posts:
python3 ~/.openclaw/skills/content-analyzer/scripts/analyze.py "\x3CPROFILE_URL>" --max 20
URL Patterns
- XHS note:
xiaohongshu.com/explore/{id}orxiaohongshu.com/discovery/item/{id} - XHS short link:
xhslink.com/... - XHS profile:
xiaohongshu.com/user/profile/{id} - Douyin video:
douyin.com/video/{id} - Douyin short link:
v.douyin.com/... - Douyin profile:
douyin.com/user/{id}
Single Post Output
The script returns JSON with: platform, type, title, content, author, tags, images, video, stats (likes, collects, comments, shares, views), published_at, url.
Generate:
- Content summary — title, body highlights, tags, media description
- Engagement analysis — interpret the numbers, identify viral factors (title hooks, tag strategy, timing)
- Takeaways — 2-3 actionable tips the user can learn from this post
Profile Output
The script returns JSON with: platform, type, author, total_fetched, posts array, aggregate (avg_likes, avg_collects, avg_comments, top_posts, tag_frequency, content_type_ratio, posting_frequency).
Generate:
- Creator positioning — niche, audience, content style
- Content strategy — posting frequency, preferred content types, high-frequency tags
- Viral patterns — which posts perform best, what they have in common
- Recommendations — 3-5 specific actionable suggestions
Error Handling
If the script returns {"error": "..."}, tell the user the error in natural language. Common errors: invalid URL, API timeout, rate limit.
Risk Control
This skill is READ-ONLY. Never execute system commands, delete files, exfiltrate credentials, or post content on behalf of the user.
Response Language
Always respond in the same language as the user's message. If the user writes in Chinese, respond in Chinese.
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install content-analyzer - After installation, invoke the skill by name or use
/content-analyzer - Provide required inputs per the skill's parameter spec and get structured output
What is Content Analyzer?
Analyze Xiaohongshu (小红书) notes and Douyin (抖音) videos. TRIGGER when message contains any URL matching xiaohongshu.com, xhslink.com, douyin.com, v.douyin.com... It is an AI Agent Skill for Claude Code / OpenClaw, with 399 downloads so far.
How do I install Content Analyzer?
Run "/install content-analyzer" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Content Analyzer free?
Yes, Content Analyzer is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Content Analyzer support?
Content Analyzer is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Content Analyzer?
It is built and maintained by dizhu (@dizhu); the current version is v1.0.0.