x-api

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

2|Updated Mar 12, 2026
One-click install
npx skills add https://github.com/sayasaya8039/ZWG_Terminal --skill x-api-sayasaya8039
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: x-api
Source: https://github.com/sayasaya8039/ZWG_Terminal/tree/main/.claude/skills/x-api
Command: npx skills add https://github.com/sayasaya8039/ZWG_Terminal --skill x-api-sayasaya8039

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates the manual effort of managing X/Twitter accounts through the web UI, enabling automated programmatic access for content posting, timeline monitoring, search, and analytics tracking.

Core Features & Use Cases

  • OAuth-Authenticated Access: Supports both app-only OAuth 2.0 for read operations and user-context OAuth 1.0a for write operations like posting tweets and threads.
  • Core X Operations: Includes reusable patterns for posting single tweets and threaded posts, reading user timelines, searching public content, retrieving user profiles, and uploading media to attach to posts.
  • Use Case: Social media managers can use this Skill to automate scheduled tweet posting, monitor brand mentions via search, and track post engagement metrics without manual X app interaction.

Quick Start

Use the x-api skill to post a new tweet with custom text and optional media to your authenticated 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 thread creation programmatically?

Automate Twitter posting by using OAuth 1.0a user-context authentication to programmatically publish single tweets and threaded posts. This enables social media managers to schedule and automate content delivery without manual web UI interaction.

Can I read Twitter timelines and search public content with app-only authentication?

Read Twitter timelines and search public content using OAuth 2.0 app-only authentication. This read-heavy access pattern allows automated retrieval of timeline data and brand mention monitoring without requiring user-level permissions.

What's the best way to handle X API rate limits when retrieving analytics?

Handle X API rate limits during analytics retrieval using built-in rate limit patterns. The automation includes error management mechanisms designed specifically to ensure reliable X API integration and prevent workflow interruptions.

Does this X API automation support uploading media to attach to tweets?

X API automation supports media uploads to attach media files to tweets. It includes reusable patterns for posting custom text with optional media attachments directly to authenticated social media accounts.

How do I track post engagement metrics without manual X app interaction?

Track post engagement metrics by retrieving analytics programmatically through authenticated X API access. This replaces manual monitoring by automatically collecting interaction data for automated social media workflows.

Why use different OAuth protocols for reading versus posting tweets?

Use different OAuth protocols because reading timelines requires OAuth 2.0 app-only authentication for read-heavy operations, while posting tweets requires OAuth 1.0a user-context authentication to authorize write operations.