تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

weibo-manager

بواسطة hmyaoyuan

Browser & Automation
701التنزيلات وفق ما يذكره clawskills.sh
1النجوم
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

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. 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

الإخراج

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

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط