baoyu-post-to-x

Automate X posts, media uploads, and articles via Chrome DevTools Protocol.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Automates posting to X (Twitter) by driving a real Chrome browser with the Chrome DevTools Protocol to bypass common anti-automation detection, turning manual posting into repeatable, reliable tasks.

Core Features & Use Cases

  • Regular posts: text with images or videos.
  • Video posts and X Articles: supports long-form Markdown articles and quotes.
  • End-to-end workflow: login persistence, file uploads, and content insertion via a consistent script suite for brand or personal accounts.

Quick Start

Use the baoyu-post-to-x skill to post a simple update: npx -y bun .agents/skills/baoyu-post-to-x/scripts/x-browser.ts "Hello from Claude!" --submit Or publish an article: npx -y bun .agents/skills/baoyu-post-to-x/scripts/x-article.ts article.md --submit

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 and bypass anti-bot detection?▼

Automating X posts without triggering anti-bot detection requires driving a real Chrome browser via the Chrome DevTools Protocol (CDP). This approach uses a persistent Chrome profile to execute social automation tasks like regular updates, quote tweets, and media uploads reliably.

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

Yes, you can publish Markdown articles to X Articles by running a specific script that handles content insertion and article publishing. This workflow supports long-form text formatting and operates through a real Chrome browser to ensure reliable submission.

What do I need to run a Chrome DevTools Protocol script for Twitter posting?▼

To automate Twitter posting via CDP, you need Google Chrome or Chromium installed, a bun runtime environment, and a persistent Chrome profile for login persistence. These prerequisites ensure the scripts can interact directly with the browser interface.

Does this social automation method support video uploads and quote tweets?▼

Yes, this social automation method supports video uploads and quote tweets across personal or brand accounts. By driving a real Chrome browser, the workflow manages file uploads, content insertion, and the specific UI interactions required for these complex post types.

Is there a repeatable workflow for posting to multiple X brand accounts?▼

Yes, a consistent script suite provides an end-to-end workflow for posting to multiple X brand accounts. By maintaining a persistent Chrome profile and using CDP, the process handles login state, media uploads, and content submission repeatable across different accounts.

Why does my automated X post fail when using standard API wrappers?▼

Standard API wrappers often fail because they trigger common anti-automation detection mechanisms. By driving a real Chrome browser with CDP, this approach mimics genuine user behavior, bypassing the bot blocks that cause standard automated posts to fail.