- Home
- Skills
- Jimliu
- Baoyu Skills
- Baoyu Post To X
baoyu-post-to-x_skill
- TypeScript
5.8k
GitHub Stars
1
Bundled Files
2 months ago
Catalog Refreshed
4 months ago
First Indexed
Readme & install
Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.
Installation
Preview and clipboard use veilstrat where the catalogue uses aiagentskills.
npx veilstrat add skill jimliu/baoyu-skills --skill baoyu-post-to-x- SKILL.md8.0 KB
Overview
This skill posts text, images, videos, quote tweets, and long-form Markdown articles to X (Twitter) using a real Chrome browser to bypass anti-automation protections. It opens a controlled browser session, fills the post or article content, and leaves publishing in the user’s hands for final review. It supports regular tweets (with up to 4 images), video posts, quote tweets, and X Articles (long-form).
How this skill works
Scripts launch Chrome via the Chrome DevTools Protocol and simulate a real user session so X does not trigger bot defenses. Each script populates the post or article fields and, when applicable, uploads media and converts Markdown to HTML for articles. The browser opens with the composed content so you can verify, edit, and manually publish; sessions persist after a first manual login. Several helper scripts check environment capabilities (clipboard, paste permissions, profile isolation) before posting.
When to use it
- You want to publish a regular post with text and images to X.
- You need to upload a video post while preserving X’s UI flow and limits.
- You want to quote an existing tweet with your comment.
- You need to publish a long-form X Article from Markdown (requires X Premium).
- You prefer a real-browser approach to avoid anti-automation blocks.
Best practices
- Run the optional pre-flight environment check before first use to verify Chrome, Bun, clipboard, and paste permissions. Use: npx -y bun <script> for a consistent runtime.
- Log in manually on first run; the session is saved and reused across scripts to avoid repeated logins.
- Keep images under X’s limits and videos within duration/format constraints (regular: up to 140s; Premium: up to 60min).
- Use the --profile option to isolate browser sessions or point to a custom Chrome profile.
- Review the browser window before publishing — scripts only fill content and do not click Publish for you.
Example use cases
- Quickly compose a text post with up to four images and open it in X for final edits.
- Upload a promotional product clip via the video script and wait for X’s processing before publishing.
- Quote a breaking news tweet with context using the quote-tweet script.
- Convert a Markdown article to X Article HTML and open the draft for cover image and title tweaks.
- Run permission checks on a new machine to ensure clipboard and paste keystroke automation will work.
FAQ
No. You must log in manually on first run; the browser profile saves the session for subsequent runs.
Can the scripts publish automatically without my review?
No. Scripts populate content and media but intentionally leave the final publish action to you for review and control.