weibo-cli

Query Weibo (微博) public data via CLI. Use when user asks about: - Weibo hot searches / trending topics (微博热搜) - Searching Weibo posts, users, or topics - Getting user profiles, feeds, followers - Reading post details or comments No authentication required - uses public mobile web API. Chinese social media platform.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "weibo-cli" with this command: npx skills add marvae/weibo-cli

Weibo CLI

Query Weibo public data via weibo command. No login or API key required.

Installation

# Global install
npm install -g @marvae24/weibo-cli

# Or local install (safer)
npm install @marvae24/weibo-cli
npx @marvae24/weibo-cli hot

Authentication

No authentication required. The CLI uses Weibo's public mobile web API with auto-generated visitor cookies. All data accessed is publicly available on weibo.com.

Optional: Set WEIBO_COOKIE environment variable for higher rate limits (your own login cookie).

Commands

Hot Searches

# Top 50 trending
weibo hot --json

# Limit results
weibo hot --limit 10 --json

# Topic detail (read count, discussion count)
weibo hot "AI" --json

Search

# Search posts (default)
weibo search "咖啡" --json

# Search users
weibo search "咖啡" --type user --json

# Search topics with stats
weibo search "旅行" --type topic --stats --json

# Types: content, user, topic, realtime, hot, video, image, article
weibo search "猫" --type video --limit 5 --json

User

# Profile (need UID)
weibo user 123456789 --json

# User feeds
weibo user 123456789 --feeds --json

# Hot feeds (sorted by engagement)
weibo user 123456789 --feeds --hot --json

# Following/followers
weibo user 123456789 --following --json
weibo user 123456789 --followers --json

# Pagination
weibo user 123456789 --feeds --limit 20 --page 2 --json

Post

# Post detail
weibo post 5000000000000000 --json

# Comments
weibo post 5000000000000000 --comments --json

Output

Always use --json for structured output. Parse with jq:

weibo hot --limit 10 --json | jq '.[] | {keyword: .description, heat: .trending}'
weibo user 123456789 --json | jq '{name: .screen_name, followers: .followers_count}'
weibo search "coffee" --json | jq '.[0] | {text: .text, reposts: .reposts_count}'

Rate Limiting

If you see rate limit errors, wait 1-2 minutes. The CLI auto-retries with exponential backoff.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

Block Company

Block Company develops financial technology including Square payment terminals, Cash App peer-to-peer payments, and Bitcoin integration under Jack Dorsey's l...

Registry SourceRecently Updated
Coding

Browser Harness

用 LLM 友好的方式控制用户已登录的真实 Chrome(CDP)。一行命令在当前标签页跑 JS、点击、滚动、截图、读 DOM、填表、上传文件——共享 cookie/session/登录态,跨 Python 与 TypeScript Agent 操作同一个浏览器。基于 browser-use/browser-ha...

Registry SourceRecently Updated
Coding

Config Drift Scanner

Detect configuration drift across environments (dev, staging, production). Compare config files, environment variables, feature flags, and secrets across dep...

Registry SourceRecently Updated
Coding

API Gateway

Connect to 100+ APIs (Google Workspace, Microsoft 365, GitHub, Notion, Slack, Airtable, HubSpot, etc.) with managed OAuth. Use this skill when users want to...

Registry SourceRecently Updated
73.1K369byungkyu