# writing-x-posts

The writing-x-posts skill drafts single X posts and threads with sharp hooks, clear structure, and a closing prompt for replies or follows.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 6 installs · ★ 22 repo stars
- Author: jamesgray007
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/jamesgray007/hoai-course/tree/HEAD/.claude/skills/writing-x-posts/SKILL.md
- Updated: 2025-12-19
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/writing-x-posts

## What it does

The skill turns a topic or draft into content for X. It keeps a single post focused on one complete idea and builds threads from messages that can stand on their own. Opening lines can use a bold claim, a pain point, an unexpected turn, or an open question.

Its guidance covers storytelling, listicle, problem-solution, and contrarian thread structures. It also addresses post length, line breaks, hashtags, links, tone, and calls to action. The skill points to `references/hooks.md` for hook patterns and `references/examples.md` for sample structures.

A single post is capped at 280 characters, while a thread can run from 5-10 posts. That makes the skill a poor fit for drafts that must stay as one long X publication. It can be installed for Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, or OpenCode.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add jamesgray007/hoai-course --skill writing-x-posts -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/writing-x-posts/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/writing-x-posts/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add jamesgray007/hoai-course --skill writing-x-posts -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/writing-x-posts/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add jamesgray007/hoai-course --skill writing-x-posts -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/writing-x-posts/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install jamesgray007/hoai-course .claude/skills/writing-x-posts
```

2. **Manually: put the files in place**
- File: `.github/skills/writing-x-posts/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add jamesgray007/hoai-course --skill writing-x-posts -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/jamesgray007/hoai-course --path .claude/skills/writing-x-posts
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/writing-x-posts/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add jamesgray007/hoai-course --skill writing-x-posts -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/jamesgray007/hoai-course/tree/HEAD/.claude/skills/writing-x-posts/SKILL.md

## When to use it
- draft a concise X post
- turn a topic into a 5-10 post thread
- write an opening line that stops scrolling
- organize a tutorial with the problem-solution framework

## Example prompts
- Write an X post about this product update with one clear idea, short lines, and a natural question at the end.
- Build a 7-post thread explaining this API migration with the problem-solution framework.
- Rewrite this draft for X with a stronger hook and make each thread post readable on its own.

## Similar
- [linkedin-posts](https://affpapa.org/en/nevibecode/skills/linkedin-posts.md) — skill · 3700 installs
- [twitter-x-posts](https://affpapa.org/en/nevibecode/skills/twitter-x-posts.md) — skill · 2400 installs
- [social-media-posts](https://affpapa.org/en/nevibecode/skills/social-media-posts.md) — skill · 1400 installs
- [social-posts](https://affpapa.org/en/nevibecode/skills/social-posts.md) — skill · ★ 567 repo stars
- [x-bookmark-quote-posts](https://affpapa.org/en/nevibecode/skills/x-bookmark-quote-posts.md) — skill · 1600 installs
- [scraping-tiktok-posts-by-music](https://affpapa.org/en/nevibecode/skills/scraping-tiktok-posts-by-music.md) — skill · 953 installs

From the same set: [jamesgray007/hoai-course](https://affpapa.org/en/nevibecode/by/jamesgray007/hoai-course.md) — 3 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
