# Publish Posts and Articles to X

Posting rich content to X can require repetitive browser steps and format conversion. This skill automates drafts, images, and Markdown articles through Chrome while keeping preview mode as the default.

## Install

```bash
npx skillstore add jimliu/baoyu-post-to-x
```

## Metadata

- Status: approved
- Slug: jimliu-baoyu-post-to-x
- Skillstore revision: r1
- Version status: missing
- Tree hash: 70b12c039e34d2a1a58cc0fd152e3e1a886c1952fff0ff7dd42683bbcc9e9a07
- Author: JimLiu
- GitHub username: JimLiu
- License: MIT
- Repository: https://github.com/JimLiu/baoyu-skills/tree/main/skills/baoyu-post-to-x
- Ref: 1ffa7643651792ccb4bd3b15d924d2c97edff755
- Supported tools: Claude, Codex, Claude Code
- Audit status: complete
- Agent install advisory: blocked
- Manual install advisory: allowed\_with\_warning
- Artifact signature: available
- Audit attestation: unavailable
- Human verification: not\_verified
- Risk factors: external\_commands, filesystem, network, scripts, env\_access
- Quality score: 38
- Quality tier: warning
- Public page: https://skillstore.pages.dev/skills/jimliu-baoyu-post-to-x
- Manifest: https://skillstore.pages.dev/api/skills/jimliu-baoyu-post-to-x/manifest

## Capabilities

- Composes regular X posts with text and up to four local images.
- Converts Markdown articles into HTML suitable for X Articles.
- Uploads cover images and content images through the X article editor.
- Runs Chrome with a persistent profile so users can log in once.
- Supports preview or draft mode by default, with explicit submit options.
- Copies image and HTML content to the system clipboard for browser paste workflows.

## Use Cases

- Publish campaign posts: Prepare text and image posts for launch announcements or marketing updates with preview before posting.
- Draft long-form articles: Convert Markdown drafts into X Articles and place cover or inline images into the editor.
- Automate social publishing tests: Validate how content appears in a real Chrome session before manually approving publication.

## Prompt Templates

### Create a preview post

```
Use this skill to draft an X post in preview mode with this text: <your post text>.
```

### Draft a post with images

```
Use this skill to compose an X post with this text and these image paths: <text>, <image paths>. Keep it in preview mode.
```

### Prepare a Markdown article

```
Use this skill to create an X Article draft from <markdown file>. Use <cover image path> as the cover image.
```

### Review then publish

```
Use this skill to draft the post from <content>. Show me the preview state first, then publish only after I confirm.
```

## Limitations

- Requires Google Chrome or a compatible Chromium browser on the local machine.
- Requires the user to be logged in to X, and X Articles may require X Premium.
- Uses OS clipboard and keyboard automation, which can affect the active desktop session.
- May break if X changes its page structure, selectors, or anti-automation behavior.

## Best Practices

- Always run in preview or draft mode before using submit or publish options.
- Use a dedicated Chrome profile for X automation to limit account and session exposure.
- Keep image paths local and verify clipboard contents before publishing sensitive media.

## Anti Patterns

- Do not run the skill on a shared desktop session with unrelated applications in focus.
- Do not use it to bypass platform rules, spam limits, or consent requirements.
- Do not publish sensitive drafts without manual review in the browser.

## Security Audit

- Audited at: 2026-07-09T04:03:30.662\+00:00
- Summary: The skill is a real X publishing automation tool, but it has substantial security-sensitive behavior: child processes, Chrome DevTools control of a logged-in browser, clipboard writes, and OS-level paste keystrokes. Many static findings are formatting false positives, but the confirmed behavior warrants strong warnings and review before installation.

## Stats

- Views: 465
- Downloads: 10
- Favorites: 1
- Popularity score: 0
