Content Analyzer
Analyze Xiaohongshu (小红书) notes and Douyin (抖音) videos. TRIGGER when message contains any URL matching xiaohongshu.com, xhslink.com, douyin.com, v.douyin.com...
Description
name: content-analyzer description: "Analyze Xiaohongshu (小红书) notes and Douyin (抖音) videos. TRIGGER when message contains any URL matching xiaohongshu.com, xhslink.com, douyin.com, v.douyin.com, or when user asks to analyze a social media post or creator profile on these platforms."
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 "<URL>"
- 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 "<PROFILE_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.
Reviews (0)
No reviews yet. Be the first to review!
Comments (0)
No comments yet. Be the first to share your thoughts!