x-post

Post text, media, and multi-tweet threads to X via the X API.

12|3|Updated Jan 29, 2026
One-click install
npx skills add https://github.com/win4r/x-post-skill --skill x-post-win4r
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: x-post
Source: https://github.com/win4r/x-post-skill/tree/main
Command: npx skills add https://github.com/win4r/x-post-skill --skill x-post-win4r

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires tweepy, python-dotenv.

What problem does it solve?

It eliminates the friction of manually composing and posting tweets by letting you publish directly to X (Twitter) from your Claude Code workflow, including media and multi-tweet threads.

Core Features & Use Cases

  • Natural posting for X: Post text tweets from within a Claude Code session, so you can ask naturally and get a tweet URL back.
  • Media support: Attach images/videos (via file path) for richer posts.
  • Thread creation and continuation with history: Start a named thread from an array of tweets, continue it later by name, and keep local history to remember tweet IDs.

Quick Start

Tell Claude: “Post to X: Just shipped the first version of my tool—feedback welcome—here’s a screenshot.” and include a media file path if you have one.

Frequently Asked Questions about x-post

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I post tweets directly from my AI coding workflow?

You can post tweets directly from a Claude Code session by asking naturally, and the Skill returns a tweet URL. It uses the X API to publish text, media, and multi-tweet threads without manual browser interaction.

How do I create and continue X threads using API history tracking?

Start a named thread from an array of tweets, and the Skill records tweet IDs and thread state in a local post-history.json file. You can continue that named thread later by referencing its stored history.

Do I need X API credentials to post tweets with media from a terminal session?

Yes, you need a configured .env file containing your X API credentials. The Skill uses these keys with the tweepy library to authenticate and post text, images, or videos to X.

Can I attach terminal screenshots or local media files to a tweet?

Yes, you can attach images or videos by providing their local file path. The Skill supports terminal and window screenshot tweeting alongside text for richer social media posts.

What's the best way to automate multi-tweet threads to X without leaving my code editor?

Use this Skill to publish multi-tweet threads directly from your Claude Code session. It eliminates manual composition by handling the X API requests and saving the thread state locally for future continuation.

Are there limitations when using the X API for social media posting within a development environment?

The Skill requires pre-configured X API credentials in a .env file and depends on the tweepy library. It does not feature standalone UI components, operating strictly as a code session integration.