Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

weibo-manager

bởi hmyaoyuan

Browser & Automation
701Lượt tải do clawskills.sh công bố
1Sao
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Control Weibo via Puppeteer (Unofficial API).

Mô tả

Kỹ năng này làm gì

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.

Khi nào nên dùng

  • 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

Quy trình ví dụ

ĐẦU VÀO

User asks: Post 'New product launch — available now!' with product.png to Weibo

AGENT
  1. 1

    Draft the post content and identify the target image path

  2. 2

    Call request_publish.js with the Feishu chat_id, post text, and image path

  3. 3

    A pending post file is created and an approval card is sent to the admin in Feishu

  4. 4

    Admin reviews the card and replies with '同意' to approve

  5. 5

    Agent calls approve_post.js with the chat_id and post_id, triggering Puppeteer to publish

ĐẦU RA

Post with image published to Weibo; success notification sent back to the Feishu chat

Yêu cầu

  • 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

Cài đặt

clawhub install hmyaoyuan/weibo-manager

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết