This gives Claude a framework for writing X posts and threads that actually work. It covers the essentials: hook formulas to stop the scroll, thread structures like storytelling and listicle formats, and formatting rules (short sentences, white space, one idea per tweet). You get specific guidance on post anatomy from first line to CTA, plus what the algorithm rewards. The hook patterns reference file is the real value here. Use this when you need to draft tweets or threads and want something better than generic social media advice. It's opinionated about brevity and punchy writing, which is exactly what X demands.

skills.sh installs
140
GitHub stars
22
last updated
Aug 21, 2026

Install

$ npx -y skills add jamesgray007/hoai-course --skill writing-x-posts --agent claude-code

Installs into .claude/skills of the current project.

Files

Writing X Posts

Create engaging X (Twitter) posts and threads that capture attention, drive engagement, and grow your audience.

Core Principles

Brevity is Power

X rewards concise, punchy content. Every word must earn its place. If you can say it in fewer words, do it.

One Idea Per Tweet

Single tweets should contain one complete thought. Threads expand on ideas but each tweet should still stand alone.

Hook or Die

You have ~1 second to stop the scroll. The first line determines everything—engagement, reach, and whether anyone reads the rest.

Content Formats

Single Post

  • Length: Under 280 characters (under 200 is better)
  • Purpose: One sharp insight, observation, or take
  • Best for: Hot takes, quick tips, observations, quotes

Thread

  • Length: 5-10 tweets (7 is the sweet spot)
  • Purpose: Deep dives, stories, frameworks, lists
  • Structure: Each tweet stands alone but builds narrative
  • Best for: Tutorials, stories, breakdowns, listicles

Post Anatomy

The Hook (Tweet 1)

The hook has one job: make someone stop scrolling.

Sponsors

Details

Repository
github.com/jamesgray007/hoai-course
Category
Documentation
First seen
Jun 3, 2026

More from jamesgray007/hoai-course

All 3
1borghei avatarquality-documentation-managerborghei/claude-skillsDocument control for medical device QMS, covering numbering, version control, change management, and 21 CFR Part 11 compliance. Use for document control procedu136skills.sh installs
2jabrena avatar113-java-maven-documentationjabrena/cursor-rules-java113 java maven documentation125skills.sh installs
3vudovn avatarplan-writingvudovn/antigravity-kitplan writing121skills.sh installs
4dougtrajano avatarpydanticai-docsdougtrajano/pydantic-ai-skillsThis gives Claude direct access to the Pydantic AI framework docs, covering agent setup, structured outputs, function tools, dependency...115skills.sh installs
5agentworkforce avatarwriting-agent-relay-workflowsagentworkforce/relayThis is the opinionated playbook for building multi-agent workflows with @relayflows/core.0skills.sh installs
6agnosticui avatarexplain-codeagnosticui/agnosticuiExplain what code does in plain English0skills.sh installs