# Draft X Posts and Threads

Posting AI-written threads manually can be slow and error prone. This skill opens X, pastes prepared content, and saves drafts for review.

## Install

```bash
npx skillstore add kangarooking/x-publish
```

## Metadata

- Status: approved
- Slug: kangarooking-x-publish
- Skillstore revision: r1
- Version status: missing
- Tree hash: 762c48e9c0fd72a71750f838b73723b56c05289f015b058d986d34e9ee05c637
- Author: kangarooking
- GitHub username: kangarooking
- License: MIT
- Repository: https://github.com/kangarooking/x-skills/tree/main/x-publish
- Ref: 0519034dad657fb1f7706e0550e962beeda73fdf
- Supported tools: Claude, Codex, Claude Code
- Audit status: complete
- Agent install advisory: allowed
- Manual install advisory: allowed
- Artifact signature: available
- Audit attestation: unavailable
- Human verification: not\_verified
- Risk factors: external\_commands, filesystem, network
- Quality score: 50
- Quality tier: warning
- Public page: https://skillstore.pages.dev/skills/kangarooking-x-publish
- Manifest: https://skillstore.pages.dev/api/skills/kangarooking-x-publish/manifest

## Capabilities

- Copies short post text to the system clipboard for pasting into X compose.
- Opens the X compose page through browser automation.
- Pastes one short post into the compose text box.
- Builds multi-post threads by adding more compose entries.
- Closes the compose window and saves the content as a draft.
- Reports the X drafts page for manual review after saving.

## Use Cases

- Save a Launch Announcement: Stage a short product update in X drafts so it can be reviewed before posting.
- Prepare a Campaign Thread: Convert prepared campaign copy into a connected X thread draft.
- Stage Technical Notes: Move a concise research or engineering note into X drafts without manual copy and paste.

## Prompt Templates

### Save a Short Draft

```
Use x-publish to save this as an X draft: [post text]. Do not publish it.
```

### Save a Thread Draft

```
Use x-publish to save this thread as X drafts. Keep each post under 280 characters: [thread text].
```

### Review Then Draft

```
Check this post for length and obvious formatting issues, then use x-publish to save it as an X draft: [post text].
```

### Stage Campaign Copy

```
Use x-publish to stage these approved campaign posts as an X thread draft. Preserve order and report the draft location: [numbered posts].
```

## Limitations

- Requires the user to already be logged in to X in the browser session.
- Depends on Playwright browser automation and platform clipboard libraries.
- Saves drafts only and does not publish posts automatically.
- May need updates if X changes compose labels or page structure.

## Best Practices

- Review every draft in X before manual publication.
- Keep sensitive or embargoed information out of clipboard-based workflows.
- Confirm each post is within the X character limit before saving a draft.

## Anti Patterns

- Do not use the skill to publish automatically or bypass final human review.
- Do not place secrets, tokens, or private customer data in post text.
- Do not rely on the workflow when X compose elements have changed.

## Security Audit

- Audited at: 2026-07-09T11:22:31.76\+00:00
- Summary: Most Markdown backtick detections are false positives from documentation and examples, and the Linux subprocess calls use fixed command arrays without shell interpolation. Confirmed risks remain around local helper execution, temporary file staging, authenticated browser automation against X, and writing post text to the system clipboard.

## Stats

- Views: 136
- Downloads: 8
- Favorites: 0
- Popularity score: 0
