x-api

Post tweets, read timelines, and retrieve analytics via the X API v2.

2|Updated May 11, 2026
One-click install
npx skills add https://github.com/himanshu231204/AI_Research_agent --skill x-api-himanshu231204
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: x-api
Source: https://github.com/himanshu231204/AI_Research_agent/tree/main/.opencode/skills/x-api
Command: npx skills add https://github.com/himanshu231204/AI_Research_agent --skill x-api-himanshu231204

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill eliminates the need for manual navigation of the X (Twitter) platform to post content, retrieve data, or track performance, automating all core platform interactions via the official X API.

Core Features & Use Cases

  • OAuth Authentication Support: Handles both app-only (read-only) and user-context (write-enabled) OAuth flows for all X API v2 operations.
  • Comprehensive X Operations: Post single tweets and threaded content, read user timelines, search for posts and trends, retrieve user profile data, upload media, and pull engagement analytics.
  • Use Case: A social media manager can use this skill to automatically schedule and post weekly thread content, pull recent engagement metrics for top-performing posts, and monitor brand mentions across X without manual platform work.

Quick Start

Use the x-api skill to post a new tweet with the text "Our latest product update is live now!" 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 Twitter posting and retrieve engagement analytics via the X API?

Automating Twitter posting and retrieving engagement analytics via the X API requires authenticated access to handle tweet scheduling, thread posting, and metric extraction. This skill manages OAuth 1.0a and 2.0 authentication flows to programmatically post content and pull analytics per X API v2 specifications.

Can I use OAuth 2.0 for automated tweet posting and timeline reading?

Yes, OAuth 2.0 is supported for automated tweet posting and timeline reading. This skill handles both app-only read-only contexts and user-context write-enabled OAuth flows, allowing you to authenticate requests for reading timelines or posting tweets without manual platform navigation.

What is the best way to search for tweets and monitor brand mentions on X?

Searching for tweets and monitoring brand mentions on X is best handled through programmatic content search operations. This skill retrieves relevant posts and trends using authenticated X API v2 endpoints, enabling automated brand monitoring workflows without manual platform interaction.

Does this X API integration support media upload and threaded tweet posting?

Yes, this X API integration supports both media upload and threaded tweet posting. You can programmatically upload media assets and post single tweets or threaded content sequences to your connected account, satisfying comprehensive social media management requirements.

How do I handle X API rate limits when scheduling social media content?

Handling X API rate limits when scheduling social media content involves managing request thresholds per X API v2 specifications. This skill incorporates rate limit handling within its automated posting and data retrieval operations to maintain continuous workflow execution.