Weibo Operations Skill for Openclaw

A robust automation skill for performing write operations on Weibo via Chrome CDP and DrissionPage.

sunwz1115
v1.0.0
Apr 11, 2026
0
636
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install weibo-ops

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install weibo-ops using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Weibo Operations Skill?

The Weibo Operations Skill is a specialized tool designed for Openclaw Skills users to automate complex social media interactions on weibo.com. By leveraging DrissionPage to connect with the Chrome DevTools Protocol (CDP), this skill simulates realistic mouse and keyboard actions to perform write-heavy tasks. It bridges the gap between AI agents and the Weibo ecosystem, allowing for programmatic content management.

This skill is particularly valuable for developers and marketers who need to manage Weibo accounts at scale. It handles the nuances of the platform's web interface, from bypassing standard automation detection to managing session states through Chrome profiles, ensuring that operations like posting and commenting are executed reliably.

Weibo Operations Skill Use Cases

  • Automating daily status updates or news broadcasts to a Weibo profile.
  • Batch deleting old posts to clean up social media history or rebrand an account.
  • Enhancing engagement by programmatically liking, commenting on, or reposting specific content based on BID.
  • Synchronizing cross-platform content by pushing updates from other sources directly to Weibo.

How Weibo Operations Skill Works

  1. The skill initializes a connection to a running Chrome instance via port 19334 using the Chrome DevTools Protocol.
  2. It verifies the login session by accessing the specified Chrome profile where a Weibo session must already be active.
  3. Upon receiving a command (e.g., post, delete), the script uses DrissionPage to locate DOM elements and simulate human-like interactions.
  4. For actions targeting specific posts, it utilizes the Post ID (BID) and User ID (UID) to navigate to the correct resource.
  5. The skill executes the requested action and returns a success or failure status back to the Openclaw Skills environment.

Weibo Operations Skill Setup

First, ensure you have DrissionPage installed:

pip install DrissionPage

Start your Chrome browser in CDP mode using the provided script to ensure the correct debugging port is open:

bash scripts/start_chrome.sh

Note: You must manually log in to weibo.com in the opened Chrome window during your first session to establish the required cookies.

Weibo Operations Skill Data Schema & Taxonomy

The skill interacts with Weibo's data structures using the following parameters and identifiers:

Parameter Description Requirement
--action The operation to perform (post, count, delete_all, delete_one, repost, comment, like) Required
--text The string content for posts, comments, or reposts Optional (Action specific)
--post_id The unique BID of the target Weibo post Required for engagement actions
--uid The unique User ID of the post author Required for interaction on others' posts
--port The CDP debugging port (default: 19334) Required

Weibo Operations Skill Advanced Features

  • Multi-action support via a single command-line interface for complex automation workflows.
  • Persistence mode using the --keep-open flag, allowing for real-time debugging and visual inspection of automation steps.
  • Seamless integration with complementary Openclaw Skills like weibo-search and weibo-hot-search for full read/write automation loops.
  • Profile isolation by copying the login state to a temporary debug profile to protect the primary browser data.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*