weibo

Query Weibo hot searches, timelines, posts, comments, and user profiles via the weibo-cli command line.

Updated Jul 20, 2026
One-click install
npx skills add https://github.com/lsongdev/skills --skill weibo-lsongdev
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: weibo
Source: https://github.com/lsongdev/skills/tree/main/weibo
Command: npx skills add https://github.com/lsongdev/skills --skill weibo-lsongdev

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Accessing Weibo data programmatically requires handling authentication, rate limits, and unstructured web responses. This Skill wraps the weibo-cli tool so an agent can search keywords, read hot searches, inspect posts, and pull user profiles with simple terminal commands and structured JSON/YAML output. ## Core Features & Use Cases - Trend Discovery: Fetch hot search lists, real-time trending topics, and hot or following timelines with count limits and JSON/YAML output. - Post & User Inspection: Read weibo details, comments, reposts, user profiles, published weibos, and follower/following lists by mblogid or uid. - Managed Authentication: Browser cookie extraction or QR code login, with status checks and structured error codes such as not_authenticated and rate_limited. - Use Case: A researcher monitoring Chinese social media runs weibo hot --json each morning, pipes the top topics through jq, then reads details and comments on the leading posts for a daily briefing. ## Quick Start Ask the agent to check Weibo authentication status and then list today's top 10 hot search topics in JSON format.

Frequently Asked Questions about weibo

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I search Weibo posts by keyword from the command line?▼

Run weibo search followed by the keyword, for example weibo search "科技" --count 5 --json. The weibo-cli tool returns matching posts as JSON, which you can filter further with jq.

How do I get the Weibo hot search list in JSON format?▼

Run weibo hot --json to output the hot search list as JSON to stdout. Add --count to limit results, or pipe to jq such as weibo hot --json | jq '.realtime[:10]' for the top ten topics.

How does weibo-cli authentication work?▼

Run weibo login to extract cookies automatically from a browser where you are logged into weibo.com, or use weibo login --qrcode to scan a QR code with the Weibo app. Verify the session anytime with weibo status.

Can weibo-cli post, like, or send direct messages?▼

No. The tool is read-only: it cannot post, like, repost, or access private messages. It supports one account at a time and enforces a built-in delay between requests to avoid rate limiting.

Why does weibo-cli return not_authenticated or session expired errors?▼

The not_authenticated error means cookies are missing or expired. Run weibo logout && weibo login to refresh credentials, and make sure the browser is closed if cookie extraction hangs.