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:
- Determine this SKILL.md file's directory path as
SKILL_DIR - Script path =
${SKILL_DIR}/scripts/<script-name>.ts - Replace all
${SKILL_DIR}in this document with the actual path
Script Reference:
| Script | Purpose |
|---|---|
scripts/weibo-browser.ts |
Regular posts (text + images) |
scripts/copy-to-clipboard.ts |
Copy content to clipboard |
scripts/paste-from-clipboard.ts |
Send real paste keystroke |
Prerequisites
- Google Chrome or Chromium installed
buninstalled (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:
| Parameter | Description |
|---|---|
<text> |
Post content (positional argument) |
--image <path> |
Image file path (can be repeated, max 9) |
--submit |
Actually 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):
.liubin-skills/liubin-post-to-weibo/EXTEND.md(project)~/.liubin-skills/liubin-post-to-weibo/EXTEND.md(user)
If found, load before workflow. Extension content overrides defaults.
More from questnova502/claude-skills-sync
liubin-weibo-autopilot
Autonomous Weibo browsing and reposting agent. Learns user preferences, browses feeds, and reposts interesting content with thoughtful commentary.
30baoyu-xhs-images
Xiaohongshu (Little Red Book) infographic series generator with multiple style options. Breaks down content into 1-10 cartoon-style infographics. Use when user asks to create "小红书图片", "XHS images", or "RedNote infographics".
26jira-integration
Agent Skill: Comprehensive Jira integration through lightweight Python scripts. AUTOMATICALLY TRIGGER when user mentions Jira URLs like 'https://jira.*/browse/*', 'https://*.atlassian.net/browse/*', or issue keys like 'PROJ-123'. Use when searching issues (JQL), getting/updating issue details, creating issues, transitioning status, adding comments, logging worklogs, managing sprints and boards, creating issue links, or formatting Jira wiki markup. If authentication fails, offer to configure credentials interactively. Supports both Jira Cloud and Server/Data Center with automatic authentication detection. By Netresearch.
11ms365-tenant-manager
Comprehensive Microsoft 365 tenant administration skill for setup, configuration, user management, security policies, and organizational structure optimization for Global Administrators
10baoyu-cover-image
Generate elegant cover images for articles. Analyzes content and creates eye-catching hand-drawn style cover images with multiple style options. Use when user asks to "generate cover image", "create article cover", or "make a cover for article".
10senior-data-engineer
World-class data engineering skill for building scalable data pipelines, ETL/ELT systems, and data infrastructure. Expertise in Python, SQL, Spark, Airflow, dbt, Kafka, and modern data stack. Includes data modeling, pipeline orchestration, data quality, and DataOps. Use when designing data architectures, building data pipelines, optimizing data workflows, or implementing data governance.
10