- Home
- Skills
- Workflow Automation
- baoyu post to x
baoyu post to x
Automate X (Twitter) posts, media uploads, and long-form Markdown articles using real Chrome browser automation.
Free
Works with the AI Agents you already use
baoyu post to x
Example session with this skill installed
Publish the file 'tutorial.md' as an X Article with 'header.jpg' as the cover image. Do not submit it yet, just show me the preview.
- Read your context and instructions
- Compiled the baoyu post to
I have prepared the X Article publication script. I will use the Markdown to HTML converter to process your article and then launch a Chrome instance to preview the draft.
Execution Plan: X Article Preview
| Component | Value |
|---|---|
| Script | scripts/x-article.ts |
| Source File | tutorial.md |
| Cover Image | header.jpg |
| Command | npx -y bun scripts/x-article.ts tutorial.md --cover ./header.jpg |
| Action | Preview only (Non-submit) |
| Browser Status | Launching Chrome with default profile |
# Executing the preview command
npx -y bun ./scripts/x-article.ts tutorial.md --cover ./header.jpg
The script is now converting tutorial.md to the required format. It will open a visible Chrome window, navigate to the X Article editor, upload your cover image, and paste the content. Please check the browser window to verify the layout.
Next steps
- Review the formatting in the opened Chrome window.
- If satisfied, run the same command with the
--submitflag to publish. - Close the Chrome instance to end the session.
Connects securely to your tools. The creator never sees your data.
About this skill
Social media automation often fails because X (Twitter) detects headless browsers and API bots, leading to shadowbans or suspended accounts. This skill bypasses detection by using a real Chrome instance to automate posts, media uploads, and long-form articles.
What it does
- Multi-format posting handles standard text, up to 4 images, or video uploads via real browser automation.
- Article publishing converts Markdown files into formatted X Articles for long-form content.
- Quote automation enables commenting on existing tweet URLs with full automation support.
- Anti-bot bypass utilizes real Chrome profiles and human-like interactions to avoid platform detection.
- Session management persists login states so you only need to authenticate manually once.
How it works
- Command selection allows choosing between regular posts, video uploads, quote tweets, or articles.
- Preview mode launches the browser to show the drafted post without submitting, ensuring visual accuracy.
- Submission executes the
--submitflag to finalize the post using real click and paste keystrokes. - Preference loading checks for
EXTEND.mdto apply custom Chrome profiles or auto-submit defaults.
Frameworks & tools
Built for the bun runtime, utilizing TypeScript scripts to control Chrome/Chromium via browser automation.
Why this beats prompting it yourself
Writing reliable browser automation scripts that bypass X's anti-bot measures requires complex handling of keystrokes and session persistence. This skill provides a tested, multi-script architecture that handles the conversion of Markdown to X's specific article format and manages media upload waits automatically.
Use cases
- Automate product updates by posting screenshots and changelogs directly from your CLI.
- Distribute long-form technical tutorials as X Articles from existing Markdown documentation.
- Batch schedule video demos or promotional clips without manual drag-and-drop.
- Quote and respond to industry news URLs as part of a CI/CD or research workflow.
Known limitations
Requires a manual first-time login to X to save the session. X Articles feature requires an active X Premium subscription.
Requires manual login on first run to save session. X Articles require X Premium. Video uploads are subject to X's duration limits (140s for regular, 60min for Premium).
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before any payment.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free forever
No account required to browse
Trust & safety
Security scan
Security scan passed 23 days ago
- Free with an Agensi account
Requires