x-api

x api

affaan-m 232k ↓ 4.6k MIT updated 25d ago
Claude Code
View source ↗

What it does

  • User wants to post tweets or threads programmatically
  • Reading timeline, mentions, or user data from X
  • Searching X for content, trends, or conversations
  • Building X integrations or bots
  • Analytics and engagement tracking
  • User says "post to X", "tweet", "X API", or "Twitter API"
  • Check the current X developer docs before hardcoding assumptions

Requirements & configuration

  • OAuth 2.0 Bearer Token (App-Only)
  • export XBEARERTOKEN="your-bearer-token"
  • export XACCESSTOKEN="your-access-token"
  • export XACCESSTOKENSECRET="your-access-token-secret"

Configuration: X_API_KEYX_API_SECRETX_ACCESS_SECRETX_CONSUMER_X_ACCESS_TOKEN_SECRETVOICE

Derived from the skill's own SKILL.md documentation · extracted 2026-07-23

x-api FAQ

What does the x-api skill do?

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. User wants to post tweets or threads programmatically Reading timeline, mentions, or user data from X

What does x-api require?

OAuth 2.0 Bearer Token (App-Only) export XBEARERTOKEN="your-bearer-token" export XACCESSTOKEN="your-access-token" export XACCESSTOKENSECRET="your-access-token-secret" Configuration keys: X_API_KEY, X_API_SECRET, X_ACCESS_SECRET, X_CONSUMER_, X_ACCESS_TOKEN_SECRET, VOICE.

How do I install x-api?

Run: npx -y skills add https://github.com/affaan-m/everything-claude-code --skill x-api --agent claude-code — the source lives at github.com/affaan-m/everything-claude-code.

Maintain x-api?

Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.

[x-api on getagentictools](https://getagentictools.com/skills/affaan-m-everything-claude-code-x-api?ref=badge)
npx agentictools info skills/affaan-m-everything-claude-code-x-api

The second line is the CLI lookup for this page — handy in READMEs and docs.