x-api

Post, read, and analyze X content via OAuth-authenticated API calls.

Updated Mar 1, 2026
One-click install
npx skills add https://github.com/derekhu0002/ai4pb-orchestrator --skill x-api-derekhu0002
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: x-api
Source: https://github.com/derekhu0002/ai4pb-orchestrator/tree/main/.agents/skills/x-api
Command: npx skills add https://github.com/derekhu0002/ai4pb-orchestrator --skill x-api-derekhu0002

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Enable programmatic interaction with X (Twitter) via API to post, read timelines, search content, and analyze engagement, removing manual UI frictions for automation and integration in apps.

Core Features & Use Cases

  • Post tweets and threads programmatically to automate publishing and storytelling.
  • Read timelines, mentions, and user data to build real-time dashboards and bots.
  • Search tweets, trends, and conversations to monitor brand health and sentiment.
  • Access analytics endpoints to track engagement and audience insights.
  • Supports OAuth 2.0 App-Only and OAuth 1.0a User Context authentication for flexible workflows.

Quick Start

Authenticate using OAuth and run a sample script to post a tweet.

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?

You can post tweets programmatically using the X API by authenticating via OAuth and running a script to automate publishing. This Skill handles OAuth 2.0 app-only and OAuth 1.0a user contexts to enable secure automated posting of tweets and threads.

Can I read timelines and search tweets with the X API?

Yes, you can read timelines and search tweets with the X API to build real-time dashboards or monitor conversations. The Skill accesses timelines, mentions, and user data, and searches content for brand monitoring and sentiment analysis.

Does this X API integration support analytics endpoints for engagement tracking?

This X API integration supports analytics endpoints to track engagement and gather audience insights. It accesses analytics data programmatically, allowing you to monitor tweet performance and audience interactions without manual UI friction.

What authentication methods do I need to interact with the X API?

To interact with the X API, you need OAuth 2.0 App-Only or OAuth 1.0a User Context authentication. The Skill handles secure environment variable management for these credentials to ensure protected programmatic access.

How does the Skill handle rate limits and errors when calling the Twitter API?

The Skill handles Twitter API rate limits and errors through structured error handling and rate-limit awareness. This ensures your programmatic interactions, like reading timelines or posting tweets, remain stable and avoid hitting API restrictions.

What's the best way to automate reading mentions and user data from Twitter?

The best way to automate reading mentions and user data from Twitter is using programmatic API calls with OAuth authentication. This Skill enables automated extraction of timeline data and mentions to build bots or real-time dashboards.