post-to-x

Post text, images, and Markdown articles to X via Chrome CDP.

100|28|Updated Jan 4, 2021
One-click install
npx skills add https://github.com/aehyok/blog --skill post-to-x
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: post-to-x
Source: https://github.com/aehyok/blog/tree/main/.agent/skills/post-to-x
Command: npx skills add https://github.com/aehyok/blog --skill post-to-x

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires ws, playwright, puppeteer, and includes scripts (resource) components.

What problem does it solve?

This Skill automates the process of posting content, images, and even long-form articles to X (formerly Twitter), bypassing common detection methods.

Core Features & Use Cases

  • Standard Tweets: Post text with up to four images.
  • X Articles: Publish rich-text Markdown files as X Articles (requires X Premium).
  • Bypass Detection: Uses real Chrome and CDP to avoid anti-automation measures.
  • Use Case: Quickly share updates, images from your work, or draft blog posts directly to your X audience without manual browser interaction.

Quick Start

Use the post-to-x skill to post the text "Hello from Antigravity!" to X.

Frequently Asked Questions about post-to-x

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

FAQPage Schema
How do I automate posting tweets with images to X?

Automate posting tweets with images to X by using a Skill that drives a real Chrome browser instance via CDP. This method supports standard text tweets and attaches up to four images per post.

Can I publish Markdown files as X Articles?

Yes, you can publish Markdown files as X Articles. The Skill converts rich-text Markdown files into X Articles for publishing, specifically requiring an active X Premium account to utilize this feature.

What is the best way to bypass automation detection when posting to Twitter?

The best way to bypass automation detection when posting to Twitter is to use a real Chrome instance controlled through the Chrome DevTools Protocol (CDP), which mimics genuine user behavior and avoids anti-automation flags.

Do I need Bun and Chrome to automate social media posting?

Yes, you need both Chrome and Bun to automate social media posting with this Skill. Chrome provides the browser environment for CDP bypass, while Bun executes the specific scripts for image handling and Markdown conversion.

Why does my automated X posting script fail with anti-automation measures?

Automated X posting scripts fail because they trigger anti-automation detection. Using a real Chrome browser instance with CDP bypasses these detection methods, allowing your scripts to post content and images without being blocked.