baoyu-post-to-x

Post text, images, videos, or Markdown articles to X via browser automation.

2|Updated Mar 23, 2026
One-click install
npx skills add https://github.com/neo-unicorn/neo-skills --skill baoyu-post-to-x-neo-unicorn
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: baoyu-post-to-x
Source: https://github.com/neo-unicorn/neo-skills/tree/main/baoyu-post-to-x
Command: npx skills add https://github.com/neo-unicorn/neo-skills --skill baoyu-post-to-x-neo-unicorn

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires front-matter, highlight.js, marked, remark-cjk-friendly, remark-parse, remark-stringify, unified, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Posting to X (formerly Twitter) via automation is blocked by anti‑bot detection, making it hard to programmatically share text, media, or long‑form articles.

Core Features & Use Cases

  • Regular Posts: Publish text with up to four images using the x-browser script.
  • Video Posts: Attach MP4/MOV/WebM videos via the x-video script.
  • Quote Tweets: Quote existing tweets with comments using the x-quote script.
  • X Articles: Convert Markdown to HTML and publish long‑form articles through the x-article script, handling cover images and inline media.
  • Bypass Detection: Utilizes a real Chrome instance with CDP and real‑keyboard paste events to avoid synthetic‑event blocks.

Quick Start

Ask me to post “Hello from Claude!” with ./photo.png to X.

Frequently Asked Questions about baoyu-post-to-x

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate posting text and images to X without triggering anti-bot detection?▼

Automating X posts without anti-bot detection requires a real Chrome instance using CDP and real-keyboard paste events via clipboard utilities. This bypasses synthetic-event blocks, allowing seamless publishing of regular tweets with up to four images.

Can I publish long-form Markdown articles directly to X Articles?▼

Publishing long-form Markdown articles to X is supported by converting Markdown to HTML using marked and unified. The x-article script handles cover images, inline media, and processes CJK-friendly content through remark-parse.

Do I need Bun and Chrome to programmatically post videos to X?▼

Posting MP4, MOV, or WebM videos to X programmatically requires the Bun runtime and a Chrome or Chromium browser. The x-video script leverages this environment to attach video media and publish content while bypassing automation blocks.

What's the best way to automate quote tweets with custom comments on X?▼

Automating quote tweets with custom comments is handled by the x-quote script. It leverages a real Chrome instance with CDP to interact with existing tweets and append text comments, bypassing anti-automation detection.

Does this automation workflow support Markdown parsing with CJK characters for X Articles?▼

Markdown parsing with CJK characters is fully supported using remark-cjk-friendly and remark-parse. These dependencies ensure proper text formatting when converting Markdown content to HTML for publishing as X Articles.

Why does my automated X posting script get blocked by synthetic event detection?▼

Automated X posting scripts get blocked because they use synthetic events. Bypassing this requires a real Chrome instance with CDP and real-keyboard paste events from clipboard utilities to simulate genuine user interaction.