baoyu-post-to-x
由 liuhedev 提供
Web & Frontend Development简介
Posts content and articles to X (Twitter).
描述
该技能的功能
Posts text, images, videos, and long-form Markdown articles to X (Twitter) using a real Chrome browser via CDP. Supports regular tweets, video posts, quote tweets, and X Articles. Session persists after first manual login.
Uses real Chrome with CDP instead of the X API, bypassing anti-automation restrictions without needing API credentials.
何时使用
- Posting a thread with images after writing a blog post
- Publishing a long-form article to X Premium from a Markdown file
- Quoting a tweet with an added comment during a live discussion
- Sharing a product demo video clip directly from the terminal
- Automating social media posting from a CI or agent workflow
示例工作流
User asks: post this article.md to X with cover image cover.jpg
- 1
Check for EXTEND.md preferences at project and user-level paths
- 2
Resolve SKILL_DIR path to locate x-article.ts script
- 3
Run script in preview mode: npx -y bun x-article.ts article.md --cover cover.jpg
- 4
Confirm preview looks correct, then run with --submit flag
Article published to X with cover image; URL returned by script
前置要求
- Google Chrome or Chromium installed
- X (Twitter) account with manual login on first run
- X Premium subscription (for X Articles only)
- bun runtime installed
安装
clawhub install liuhedev/baoyu-post-to-x运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。