liubin-post-to-weibo

Post content to Weibo (微博). Supports text posts with images. Uses real Chrome with CDP to bypass anti-automation.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "liubin-post-to-weibo" with this command: npx skills add questnova502/claude-skills-sync/questnova502-claude-skills-sync-liubin-post-to-weibo

Post to Weibo (发微博)

Post content and images to Weibo using real Chrome browser (bypasses anti-bot detection).

Script Directory

Important: All scripts are located in the scripts/ subdirectory of this skill.

Agent Execution Instructions:

  1. Determine this SKILL.md file's directory path as SKILL_DIR
  2. Script path = ${SKILL_DIR}/scripts/<script-name>.ts
  3. Replace all ${SKILL_DIR} in this document with the actual path

Script Reference:

ScriptPurpose
scripts/weibo-browser.tsRegular posts (text + images)
scripts/copy-to-clipboard.tsCopy content to clipboard
scripts/paste-from-clipboard.tsSend real paste keystroke

Prerequisites

  • Google Chrome or Chromium installed
  • bun installed (for running scripts)
  • First run: log in to Weibo in the opened browser window

Regular Posts

Text + up to 9 images.

# Preview mode (doesn't post)
npx -y bun ${SKILL_DIR}/scripts/weibo-browser.ts "Hello from Claude!"

# With images
npx -y bun ${SKILL_DIR}/scripts/weibo-browser.ts "Check this out!" --image ./photo.png

# Multiple images (max 9)
npx -y bun ${SKILL_DIR}/scripts/weibo-browser.ts "Photos" --image a.png --image b.png --image c.png

# Actually post
npx -y bun ${SKILL_DIR}/scripts/weibo-browser.ts "发布微博!" --image ./photo.png --submit

Note: ${SKILL_DIR} represents this skill's installation directory. Agent replaces with actual path at runtime.

Parameters:

ParameterDescription
<text>Post content (positional argument)
--image <path>Image file path (can be repeated, max 9)
--submitActually post (default: preview only)
--profile <dir>Custom Chrome profile directory

Notes

  • First run requires manual login (session is saved)
  • Always preview before using --submit
  • Browser closes automatically after operation
  • Supports macOS, Linux, and Windows
  • Weibo has a 2000 character limit for regular posts

Extension Support

Custom configurations via EXTEND.md.

Check paths (priority order):

  1. .liubin-skills/liubin-post-to-weibo/EXTEND.md (project)
  2. ~/.liubin-skills/liubin-post-to-weibo/EXTEND.md (user)

If found, load before workflow. Extension content overrides defaults.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

senior-secops

No summary provided by upstream source.

Repository SourceNeeds Review
General

liubin-weibo-autopilot

No summary provided by upstream source.

Repository SourceNeeds Review
General

baoyu-xhs-images

No summary provided by upstream source.

Repository SourceNeeds Review
General

jira-integration

No summary provided by upstream source.

Repository SourceNeeds Review