baoyu-post-to-x

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

Updated Feb 13, 2026
One-click install
npx skills add https://github.com/chengyihua/nanobot-ts --skill baoyu-post-to-x-chengyihua
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: baoyu-post-to-x
Source: https://github.com/chengyihua/nanobot-ts/tree/main/skills/baoyu-post-to-x
Command: npx skills add https://github.com/chengyihua/nanobot-ts --skill baoyu-post-to-x-chengyihua

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Posting to X manually is time-consuming and error-prone, especially when coordinating text, images, and long-form articles.

Core Features & Use Cases

  • Regular posts with text and media (images/videos) to X
  • Long-form X Articles publishing from Markdown with automated image handling
  • Quote tweets and content curation via programmatic workflows
  • Login persistence using a persistent Chrome profile to avoid repeated sign-ins

Quick Start

Publish a sample post to X by running the script with your message and optional media.

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 with images and videos?

You can automate posting to X with media by controlling a real Chrome browser via CDP, which handles text, images, and videos through clipboard-assisted operations and project scripts.

Can I publish long-form X Articles from Markdown automatically?

Publishing long-form X Articles from Markdown is supported by the automation, utilizing a real Chrome instance to handle the submission process and automated image handling.

Do I need a CDP-capable Chrome environment to automate X posts?

Yes, automating X posts requires a CDP-capable Chrome environment and a persistent user-data directory to enable login persistence and control the browser for publishing.

What is the best way to maintain login state when automating X posts?

The best way to maintain login state for automating X posts is using a persistent Chrome profile directory, which avoids repeated sign-ins during programmatic workflows.

Can I automate quote tweets programmatically using Chrome?

Yes, you can automate quote tweets programmatically by controlling a real Chrome browser via CDP, enabling content curation and automated publishing workflows.

Why does automating X posts require clipboard operations?

Automating X posts requires clipboard operations to assist with media handling, ensuring images and videos are correctly transferred and uploaded during the browser-controlled publishing process.