baoyu-post-to-x

Automate posting text, media, and articles to X via Chrome.

1|Updated May 12, 2026
One-click install
npx skills add https://github.com/cocyuhao/my-ai-skills-library --skill baoyu-post-to-x-cocyuhao
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: baoyu-post-to-x
Source: https://github.com/cocyuhao/my-ai-skills-library/tree/main/baoyu-post-to-x
Command: npx skills add https://github.com/cocyuhao/my-ai-skills-library --skill baoyu-post-to-x-cocyuhao

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?

Automates posting content to X (Twitter) using a real Chrome session to bypass anti-automation, enabling posts with text, images, videos, quotes, and long-form articles.

Core Features & Use Cases

  • Regular posts with text and up to multiple media assets.
  • Video posts and X Articles (Markdown) publishing workflow.
  • Quote tweets and content-rich posts with manual review before publish.

Quick Start

Post to X by invoking the scripts in scripts/ with your content and media, then review and publish if desired.

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 using a real Chrome session?

You need Chrome or Chromium with remote debugging enabled, a persistent Chrome profile, and the Bun runtime installed. These coordinate scripts like x-browser.ts and x-article.ts to assemble and publish content.

How do I publish long-form X Articles from Markdown files?

Publishing long-form X Articles from Markdown uses the x-article.ts script to parse and format content. It leverages remark and unified libraries to process Markdown before assembly and publication.

Can I review content before publishing automated posts to Twitter?

Yes, manual review is supported before publishing your automated posts. The workflow assembles content for posts, videos, and quotes, allowing you to review and approve before final publication to X.

Does automating X posts with Chrome bypass anti-automation detection?

Automating X posts with a real Chrome session bypasses anti-automation detection by using your persistent browser profile. This approach mimics manual user behavior for text, media, and article publishing.