weibo-manager
由 hmyaoyuan 提供
Browser & Automation简介
Control Weibo via Puppeteer (Unofficial API).
描述
该技能的功能
Automates Weibo posting through a mandatory human-approval workflow. Every post goes through request, admin review via Feishu, and execution steps — autonomous publishing is blocked by design. Puppeteer handles browser-level interaction using session cookies for authentication.
The enforced request-approve-execute cycle prevents accidental or unauthorized publishing that unguarded automation scripts typically allow.
何时使用
- Queuing brand announcements for manager approval before they go live
- Publishing image posts to Weibo from an automated pipeline with editorial control
- Managing a shared Weibo account where a team lead must sign off on each post
- Drafting Weibo content in batch and routing each through an approval queue
- Keeping a tamper-proof audit trail of who approved what before publishing
示例工作流
User asks: Post 'New product launch — available now!' with product.png to Weibo
- 1
Draft the post content and identify the target image path
- 2
Call request_publish.js with the Feishu chat_id, post text, and image path
- 3
A pending post file is created and an approval card is sent to the admin in Feishu
- 4
Admin reviews the card and replies with '同意' to approve
- 5
Agent calls approve_post.js with the chat_id and post_id, triggering Puppeteer to publish
Post with image published to Weibo; success notification sent back to the Feishu chat
前置要求
- Weibo account session cookies manually exported from a browser and saved to cookies.json
- Feishu account with a valid chat ID for sending and receiving approval cards
安装
clawhub install hmyaoyuan/weibo-manager运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。