questnova502/claude-skills-sync/baoyu-post-to-x

Claude Code and agent skill by questnova502/claude-skills-sync

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Post content and articles to X (Twitter). Supports regular posts with images/videos and X Articles (long-form Markdown). Uses real Chrome with CDP to bypass anti-automation.

Install

npx vskill@latest install questnova502/claude-skills-sync/baoyu-post-to-x

SKILL.md

Post to X (Twitter)

Post content, images, videos, and long-form articles to X 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/x-browser.tsRegular posts (text + images)
scripts/x-video.tsVideo posts (text + video)
scripts/x-article.tsLong-form article publishing (Markdown)
scripts/md-to-html.tsMarkdown → HTML conversion
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 X in the opened browser window

References

  • Regular Posts: See references/regular-posts.md for manual workflow, troubleshooting, and technical details
  • X Articles: See references/articles.md for long-form article publishing guide

Regular Posts

Text + up to 4 images.

bash
# Preview mode (doesn't post)
npx -y bun ${SKILL_DIR}/scripts/x-browser.ts "Hello from Claude!" --image ./screenshot.png
# Actually post
npx -y bun ${SKILL_DIR}/scripts/x-browser.ts "Hello!" --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 4)
--submitActually post (default: preview only)
--profile <dir>Custom Chrome profile directory

Video Posts

Text + video file (MP4, MOV, WebM).

bash
# Preview mode (doesn't post)
npx -y bun ${SKILL_DIR}/scripts/x-video.ts "Check out this video!" --video ./clip.mp4
# Actually post
npx -y bun ${SKILL_DIR}/scripts/x-video.ts "Amazing content" --video ./demo.mp4 --submit

Parameters:

ParameterDescription
<text>Post content (positional argument)
--video <path>Video file path (required)
--submitActually post (default: preview only)
--profile <dir>Custom Chrome profile directory

Video Limits:

  • Regular accounts: 140 seconds max
  • X Premium: up to 60 minutes
  • Supported formats: MP4, MOV, WebM
  • Processing time: 30-60 seconds depending on file size

X Articles

Long-form Markdown articles (requires X Premium).

bash
# Preview mode
npx -y bun ${SKILL_DIR}/scripts/x-article.ts article.md
# With cover image
npx -y bun ${SKILL_DIR}/scripts/x-article.ts article.md --cover ./cover.jpg
# Publish
npx -y bun ${SKILL_DIR}/scripts/x-article.ts article.md --submit

Parameters:

ParameterDescription
<markdown>Markdown file path (positional argument)
--cover <path>Cover image path
--title <text>Override article title
--submitActually publish (default: preview only)

Frontmatter (optional):

yaml
---
title: My Article Title
cover_image: /path/to/cover.jpg
---

Notes

  • First run requires manual login (session is saved)
  • Always preview before using --submit
  • Browser closes automatically after operation
  • Supports macOS, Linux, and Windows

Extension Support

Custom configurations via EXTEND.md.

Check paths (priority order):

  1. .baoyu-skills/baoyu-post-to-x/EXTEND.md (project)
  2. ~/.baoyu-skills/baoyu-post-to-x/EXTEND.md (user)

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

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
3
Repository forks
3
7-day trend score
7

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 25 Mar 2026, 7 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/questnova502/claude-skills-sync/baoyu-post-to-x/badge)](https://verified-skill.com/skills/questnova502/claude-skills-sync/baoyu-post-to-x)

Something wrong with this skill or its page? Tell us.