x-api

Automate tweets, threads, media uploads and retrieve X (Twitter) data via API v2/v1.1 with OAuth support.

2|Updated Apr 7, 2026
One-click install
npx skills add https://github.com/Zenobia000/ai-brainstorming --skill x-api-zenobia000
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: x-api
Source: https://github.com/Zenobia000/ai-brainstorming/tree/main/.claude/custom-rule%26skill/skills/x-api
Command: npx skills add https://github.com/Zenobia000/ai-brainstorming --skill x-api-zenobia000

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates the complexity of manually managing X/Twitter interactions and handles the technical overhead of OAuth authentication, rate limit compliance, and API endpoint integration for programmatic X access.

Core Features & Use Cases

  • Dual OAuth Support: Setup for both app-only OAuth 2.0 (read-heavy operations) and user-context OAuth 1.0a (posting and account management).
  • Core X Operations: Post single tweets, create threaded posts, read user timelines, search public content, and upload media to posts.
  • Built-in Resilience: Automatic rate limit backoff, error handling for common API status codes, and security best practices for token management.
  • Use Case: A solo founder can use this Skill to automatically post product update threads to their X account and track engagement metrics without manual platform navigation.

Quick Start

Use the x-api skill to post a 3-tweet thread announcing your new product launch to your connected X account.

Frequently Asked Questions about x-api

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

FAQPage Schema
How do I automate posting tweet threads to Twitter?

Automated tweet posting is handled by the x-api skill through programmatic X API v2 access. It supports single tweets, threaded posts, and media uploads while managing OAuth authentication and rate limit backoff automatically.

Does this Twitter API integration support both OAuth 1.0a and OAuth 2.0?

Yes, it supports dual OAuth authentication. It implements app-only OAuth 2.0 for read-heavy operations like timeline reading and user-context OAuth 1.0a for posting tweets and account management tasks.

What is the best way to handle Twitter API rate limits during social media automation?

The best way to handle rate limits is using built-in resilience features. This skill implements automatic rate limit backoff and error handling for common X API v2 and v1.1 status codes to ensure reliable automated operations.

Can I track engagement analytics for my Twitter account programmatically?

Yes, you can track engagement analytics programmatically. The skill enables data retrieval operations including reading user timelines and fetching engagement metrics for individual creators and small teams.

Why does my automated tweet posting fail with API errors?

Automated tweet posting failures often stem from exceeding rate limits or OAuth token mismanagement. The skill includes built-in error handling for common X API status codes and automatic rate limit backoff to mitigate these failures.

Can I search public Twitter content and read timelines with the X API v2?

Yes, you can search public content and read timelines using X API v2. The skill supports public content search, user timeline reading, and engagement analytics retrieval for individual creators and small teams.