x-api
X/Twitter API integration for posting tweets, threads, reading timelines, search, and analytics. Covers OAuth auth patterns, rate limits, and platform-native content posting. Use when the user wants to interact with X programmatically.
Security Assessment
Detected risks:
About x-api
The x-api skill enables programmatic interaction with X (formerly Twitter) for posting content, reading timelines, searching, and analytics. It provides a structured interface for developers and users to automate engagement with the X platform without manually navigating the website or mobile app. By handling OAuth authentication patterns, rate limits, and write permissions, this skill simplifies the process of connecting external applications to X and ensures secure access to both public and user-specific data.
Core capabilities include posting single tweets or multi-tweet threads, reading user timelines, searching for tweets based on queries or trends, and retrieving analytics data such as public engagement metrics. It supports both OAuth 2.0 Bearer Tokens for read-heavy operations and OAuth 1.0a for user-context actions that require write access. Developers can also pull recent original posts from specific users for specialized use cases such as voice modeling or sentiment analysis. The skill includes examples in Python for each operation, showing how to handle authentication, API requests, and response parsing.
This skill is ideal for developers, social media managers, and data analysts who want to build bots, monitor conversations, automate posting, or extract insights from X. It is especially useful for applications that require automated engagement, trend monitoring, content search, or analytics tracking. Users looking to integrate X functionality into their applications or scripts can rely on x-api to programmatically access a wide range of features offered by the platform, streamlining workflow and enhancing productivity.
FAQ
Which authentication method should I use for posting tweets?
Use OAuth 1.0a with user context for any operations that require posting, managing the account, or sending direct messages. OAuth 2.0 Bearer Token is suitable only for read-heavy operations.
Can I search tweets without user credentials?
Yes, you can perform search operations and access public data using the OAuth 2.0 Bearer Token, which does not require user-level access.
What are the limitations or rate considerations for this skill?
X API endpoints, access tiers, quotas, and write permissions can change frequently. Always verify the current developer documentation and your account access before implementing posting or search flows.
Is this skill compatible with Python?
Yes, the documentation provides Python examples for authentication, posting, reading timelines, and searching, making it compatible for Python-based automation and integrations.
Can I post multi-tweet threads using this skill?
Yes, the skill supports posting threads by sequentially replying to previous tweets, allowing you to create linked multi-tweet content programmatically.
Install x-api
Quick Setup:
- Copy the skill folder to
.claude/skills/ - Claude will automatically detect and use the skill
Repository
affaan-m/everything-claude-code