baoyu-post-to-x
๐ฏSkillfrom jimliu/baoyu-skills
Agent skill for posting text, images, and long-form Markdown articles to X (Twitter) directly from Claude Code using Chrome CDP, part of Baoyu's cross-platform content publishing suite.
Overview
baoyu-post-to-x is an agent skill from Baoyu's skill collection (jimliu/baoyu-skills) that enables posting content directly to X (formerly Twitter) from within Claude Code. It supports regular text posts with images as well as X Articles for long-form Markdown content. The skill uses real Chrome with Chrome DevTools Protocol (CDP) to bypass anti-automation measures on the X platform.
Key Features
- Text and Image Posts: Post text messages with optional image attachments directly to X using simple slash commands like /baoyu-post-to-x "Hello" --image photo.png
- X Articles Support: Publish long-form Markdown content as X Articles via --article flag, converting Markdown files into rich formatted articles on the platform
- Chrome CDP Integration: Uses a real Chrome browser with CDP for reliable posting that bypasses X's anti-automation detection, maintaining login sessions across uses
- Part of Content Skills Suite: Integrates with other Baoyu content skills including xhs-images (Xiaohongshu infographics), infographic generation, cover-image creation, slide-deck building, and post-to-wechat for cross-platform publishing
Who is this for?
- Content creators and developers who want to post to X directly from their AI coding environment without switching apps
- Teams using Claude Code for content generation who need a streamlined publishing pipeline from creation to posting
- Social media managers working across multiple platforms who benefit from the combined baoyu-skills suite for X, WeChat, and visual content creation
Same repository
jimliu/baoyu-skills(23 items)
Installation
npx vibeindex add jimliu/baoyu-skills --skill baoyu-post-to-xnpx skills add jimliu/baoyu-skills --skill baoyu-post-to-x~/.claude/skills/baoyu-post-to-x/SKILL.mdSKILL.md
More from this repository10
A Claude Code skill that analyzes articles, identifies optimal illustration positions, and generates images using a Type x Style two-dimensional system with 6 types and multiple visual styles.
A Claude Code skill that transforms written content into professional slide deck images with 16 visual style presets, smart content scaling, and multi-language support.
AI SDK-based image generation skill supporting OpenAI, Google, and DashScope providers with text-to-image generation, reference images, aspect ratio control, and quality presets through a unified slash command interface.
A Claude Code skill for publishing content to WeChat Official Accounts, supporting article posting via API/browser and image-text posting with up to 9 images, with configurable preferences and a structured 7-step publishing workflow.
A collection of Claude Code skills for content generation including Xiaohongshu infographics, slide decks, comics, cover images, and social media publishing to X and WeChat.
A Claude Code skill that generates article cover images using a 5-dimensional system (Type, Palette, Rendering, Text, Mood) with 9 color palettes and 6 rendering styles for 54 unique combinations.
A Claude Code skill that generates Xiaohongshu (RedNote) infographic card series from content using a Style x Layout 2D system with 9 visual styles and 6 layout types.
A Claude Code skill that converts X (Twitter) tweets, threads, and articles into Markdown with YAML front matter, supporting media downloads, customizable output paths, and consent-based access to a reverse-engineered X API.
Generates professional infographics by combining 20 layout types (bento-grid, funnel, timeline, etc.) with 17 visual styles (craft-handmade, cyberpunk, pixel-art, etc.), with auto-recommended combinations based on content analysis.
Interacts with Gemini Web to generate text and images directly from Claude Code. Supports text prompts, prompt files, and image output as PNG files.