x-api

Post tweets, read timelines, and analyze engagement via the X API.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/Wakewell-Sleep-Solutions/claude-skills-ecosystem --skill x-api-wakewell-sleep-solutions
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: x-api
Source: https://github.com/Wakewell-Sleep-Solutions/claude-skills-ecosystem/tree/main/x-api
Command: npx skills add https://github.com/Wakewell-Sleep-Solutions/claude-skills-ecosystem --skill x-api-wakewell-sleep-solutions

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Programmatic interaction with X (Twitter) for posting tweets, reading timelines, searching content, and analytics, enabling developers to build bots, clients, or integrations without manual UI work.

Core Features & Use Cases

  • Post a Tweet: create single tweets or multi-part threads programmatically.
  • Read Timelines & Data: fetch user timelines, mentions, and public metrics.
  • Search & Analyze: query recent tweets and trends for insights.
  • Authentication & Security: supports OAuth 1.0a user context or bearer token app-only flows with best-practice handling.
  • Integration Readiness: pair with content engines to generate platform-native content before posting.

Quick Start

Provide your X OAuth1.0a credentials and a text payload, then post it to the tweets endpoint.

Frequently Asked Questions about x-api

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

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

To post tweets programmatically, you provide your X OAuth 1.0a credentials and a text payload to the posting endpoint. This allows you to automate creating single tweets or multi-part threads without manual UI interaction.

What authentication is needed to read X timelines and fetch user metrics?

Reading X timelines and fetching public metrics requires either OAuth 1.0a user context or a bearer token for app-only flows. The Skill handles these authentication methods with best-practice security protocols to access timeline data.

Can I search recent tweets and analyze engagement data from X?

Yes, you can search recent tweets and analyze engagement by querying content and trends for insights. The Skill automates fetching mentions, public metrics, and searching recent content to support analytics integrations.

How do I handle rate limits when building an X bot or integration?

When building X bots or integrations, the Skill handles rate limits and provides error handling guidelines. This ensures your automated tweet posting, timeline reading, and analytics requests remain within API constraints.

Does the Skill support posting tweets with media attachments?

Yes, the Skill supports content posting with media where supported by the X API. You can programmatically post tweets containing media attachments alongside text payloads using your OAuth 1.0a credentials.

What's the best way to automate fetching user mentions for an X integration?

The best way to automate fetching user mentions is using this Skill to programmatically query timeline data via bearer token or OAuth 1.0a. It handles authentication and rate limits to reliably retrieve mentions for your integration.