← ClaudeAtlas

weibo-clilisted

Use weibo-cli for ALL Weibo (微博) operations — keyword search, hot search, trending topics, timelines, weibo details, comments, reposts, user profiles, and follower/following lists. Invoke whenever user requests any Weibo interaction.
jackwener/weibo-cli · ★ 69 · Data & Documents · score 70
Install: claude install-skill jackwener/weibo-cli
# weibo-cli — Weibo CLI Tool **Binary:** `weibo` **Credentials:** browser cookies (auto-extracted) or QR code login ## Setup ```bash # Install (requires Python 3.10+) git clone git@github.com:jackwener/weibo-cli.git cd weibo-cli && uv sync ``` ## Authentication **IMPORTANT FOR AGENTS**: Before executing ANY weibo command, check if credentials exist first. Do NOT assume cookies are configured. ### Step 0: Check if already authenticated ```bash weibo status 2>/dev/null && echo "AUTH_OK" || echo "AUTH_NEEDED" ``` If `AUTH_OK`, skip to [Command Reference](#command-reference). If `AUTH_NEEDED`, proceed to Step 1. ### Step 1: Guide user to authenticate **Method A: Browser cookie extraction (recommended)** Ensure user is logged into weibo.com in any supported browser (Chrome, Arc, Edge, Firefox, Brave, Chromium, Opera, Vivaldi, Safari, LibreWolf). weibo-cli auto-extracts cookies. ```bash weibo login weibo login --qrcode # QR code login directly (skip browser cookies) weibo status ``` **Method B: QR code login** ```bash weibo login # → Renders QR in terminal using Unicode half-blocks # → Scan with Weibo App (我的 → 扫一扫) → confirm ``` ### Step 2: Handle common auth issues | Symptom | Agent action | |---------|-------------| | `⚠️ 未登录` | Guide user to login to weibo.com in browser, then run `weibo login` | | `会话已过期` | Run `weibo logout && weibo login` | | Cookie extraction hangs | Browser may be running; close browser and retry | ## Output Format ### Default: R