twitter-x-cli

Interact with X/Twitter via the official x-cli terminal client and X API.

1|Updated Apr 24, 2026
One-click install
npx skills add https://github.com/automatedigital/spark --skill twitter-x-cli
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: twitter-x-cli
Source: https://github.com/automatedigital/spark/tree/main/skills/social-media/twitter-x-cli
Command: npx skills add https://github.com/automatedigital/spark --skill twitter-x-cli

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Interacting with X/Twitter programmatically traditionally requires either brittle unofficial scraping tools or navigating clunky web interfaces for routine tasks like posting updates, monitoring mentions, or searching content. This Skill eliminates that friction by providing clear, guided instructions for using the official x-cli terminal client and X API.

Core Features & Use Cases

  • Official API Access: Interact with X/Twitter via the stable, supported official API for all read and write operations, avoiding the breakage risk of unofficial scraping methods.
  • Comprehensive Action Support: Post tweets, replies, and quote tweets; search timelines and users; like, retweet, and manage bookmarks and mentions; look up user profiles, followers, and following lists.
  • Use Case: Social media managers can automate routine posting, monitor brand mentions, and track engagement metrics directly from the terminal without switching to web interfaces.
  • Use Case: Developers can integrate X/Twitter interactions into their existing terminal workflows for testing, personal use, or automation pipelines.

Quick Start

Use the twitter-x-cli skill to post a new tweet announcing your team's latest product launch to your X account.

Frequently Asked Questions about twitter-x-cli

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

FAQPage Schema
How do I post tweets from the terminal using the X API?

You can post tweets from the terminal by using the x-cli client with authenticated X API access. This skill provides guided instructions to configure the official x-cli tool for programmatic read and write operations on X/Twitter.

What do I need to set up X CLI for Twitter API authentication?

To set up X CLI for Twitter API authentication, you need valid X developer API credentials and the uv package manager. These prerequisites allow you to install and configure the upstream x-cli terminal client for all supported social media operations.

Can I monitor brand mentions and search timelines via the X API?

Yes, you can monitor brand mentions and search timelines via the X API. The x-cli terminal client supports comprehensive read operations, allowing you to search content, look up user profiles, and track engagement metrics directly.

Does the x-cli tool support managing followers and posting replies?

The x-cli tool supports managing followers and posting replies. It enables comprehensive action support including posting tweets, replies, quote tweets, liking, retweeting, managing bookmarks, and viewing follower and following lists.

Why use an official X API terminal client instead of scraping tools?

Using an official X API terminal client avoids the breakage risk of unofficial scraping methods. It provides stable, supported API access for all read and write operations, eliminating the friction of brittle tools or clunky web interfaces for routine social media management.

Are there limitations to managing Twitter social media from the command line?

Managing Twitter social media from the command line requires valid X developer API credentials and the uv package manager to function. Operations are bound by the upstream x-cli tool's supported features and the rate limits of your specific X API access tier.