๐ŸŽฏ

baoyu-post-to-x

๐ŸŽฏSkill

from jimliu/baoyu-skills

VibeIndex|
What it does
|

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)

baoyu-post-to-x

Installation

Vibe Index InstallInstalls to .claude/skills/ - auto-recognized by Claude Code
npx vibeindex add jimliu/baoyu-skills --skill baoyu-post-to-x
skills.sh Installโš  Installs to .agents/skills/ - may not be auto-recognized by Claude Code
npx skills add jimliu/baoyu-skills --skill baoyu-post-to-x
Manual InstallCopy SKILL.md content and save to the path below
~/.claude/skills/baoyu-post-to-x/SKILL.md

SKILL.md

9,040Installs
3,587
-
Last UpdatedJan 29, 2026

More from this repository10

๐ŸŽฏ
baoyu-article-illustrator๐ŸŽฏSkill

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.

๐ŸŽฏ
baoyu-slide-deck๐ŸŽฏSkill

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.

๐ŸŽฏ
baoyu-image-gen๐ŸŽฏSkill

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.

๐ŸŽฏ
baoyu-post-to-wechat๐ŸŽฏSkill

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.

๐ŸŽฏ
release-skills๐ŸŽฏSkill

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.

๐ŸŽฏ
baoyu-cover-image๐ŸŽฏSkill

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.

๐ŸŽฏ
baoyu-xhs-images๐ŸŽฏSkill

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.

๐ŸŽฏ
baoyu-danger-x-to-markdown๐ŸŽฏSkill

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.

๐ŸŽฏ
baoyu-infographic๐ŸŽฏSkill

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.

๐ŸŽฏ
baoyu-danger-gemini-web๐ŸŽฏSkill

Interacts with Gemini Web to generate text and images directly from Claude Code. Supports text prompts, prompt files, and image output as PNG files.