baoyu-post-to-x
Installation
Summary
Post text, images, videos, and long-form articles to X via real Chrome browser automation.
- Supports four post types: regular posts with images, video posts, quote tweets, and long-form Markdown articles (X Premium required)
- Uses real Chrome with Chrome DevTools Protocol to bypass anti-bot detection; session persists after first manual login
- Scripts fill content into the browser compose window; user reviews and publishes manually
- Requires
bunruntime and Google Chrome or Chromium; includes optional pre-flight environment check for accessibility, clipboard, and paste keystroke permissions
SKILL.md
Post to X (Twitter)
Posts text, images, videos, and long-form articles to X via a real Chrome browser.
In Codex, three distinct browser paths — do not conflate them:
- Codex Chrome plugin /
@chrome/ Chrome Extension: the bundledchrome:Chromeskill and its Node REPL browser client. Required whenever the user says "Codex Chrome plugin", "Codex 自带的 Chrome 插件",@chrome, or similar. - Chrome Computer Use:
mcp__computer_use__.*against the visible Google Chrome UI. - CDP script mode: the bundled scripts; fallback only.
Script Directory
{baseDir} = this SKILL.md's directory; scripts are at {baseDir}/scripts/<script-name>.ts. Resolve ${BUN_X}: bun if installed → else npx -y bun → else suggest installing bun.