baoyu-post-to-x

Automate posting text, images, videos, and articles to X via Chrome CDP.

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

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?

This Skill automates posting content, images, videos, and long-form articles to X (Twitter), bypassing anti-automation detection by using a real Chrome browser.

Core Features & Use Cases

  • Regular Posts: Supports text and up to 4 images.
  • Video Posts: Handles text and video uploads.
  • Quote Tweets: Allows quoting existing tweets with comments.
  • X Articles: Publishes long-form Markdown articles (requires X Premium).
  • Automation Bypass: Uses real Chrome with CDP to avoid detection.
  • Use Case: Automatically tweet daily updates with accompanying images, or publish a long-form article directly to X Articles.

Quick Start

Use the baoyu-post-to-x skill to post the text "Hello from my agent!" to X with the image './my_image.png'.

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 to X (Twitter) without triggering anti-bot detection?

To automate posting to X without triggering anti-bot detection, you can use real Chrome browser automation via CDP to bypass anti-automation measures for text, images, and videos.

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

Yes, you can publish long-form Markdown articles directly to X Articles, provided you have an X Premium subscription to enable the article publishing feature.

Do I need Chrome and Bun runtime to automate X posts with images and videos?

Yes, you need both Chrome and the Bun runtime installed, as the automation checks the environment for these dependencies and permissions before posting text, images, or videos.

What's the best way to automate quote tweets with custom text comments?

The best way to automate quote tweets with custom text comments is by using real browser automation that controls Chrome via CDP to interact with existing tweets programmatically.

How do I post a text update with up to 4 images to X automatically?

You can post a text update with up to 4 images to X automatically by executing a script that leverages Chrome automation to upload the media and submit the regular post.

Why does my X automation fail when posting long-form content?

X automation fails posting long-form content if you lack X Premium, or if Chrome, Bun runtime, and required environment permissions for CDP browser automation are not properly configured.