🧪 Skills

Content Analyzer

Analyze Xiaohongshu (小红书) notes and Douyin (抖音) videos. TRIGGER when message contains any URL matching xiaohongshu.com, xhslink.com, douyin.com, v.douyin.com...

v1.0.0
❤️ 0
⬇️ 0
👁 1
Share

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:

  1. Extract the URL from the user's message
  2. Run the analysis script using the exec tool:
python3 ~/.openclaw/skills/content-analyzer/scripts/analyze.py "<URL>"
  1. 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} or xiaohongshu.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:

  1. Content summary — title, body highlights, tags, media description
  2. Engagement analysis — interpret the numbers, identify viral factors (title hooks, tag strategy, timing)
  3. 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:

  1. Creator positioning — niche, audience, content style
  2. Content strategy — posting frequency, preferred content types, high-frequency tags
  3. Viral patterns — which posts perform best, what they have in common
  4. 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)

Sign in to write a review.

No reviews yet. Be the first to review!

Comments (0)

Sign in to join the discussion.

No comments yet. Be the first to share your thoughts!

Compatible Platforms

Pricing

Free

Related Configs